/* css code */
/* ================================
   NGO Branches System - Public CSS
   ================================ */

/* General container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* Titles */
.archive-title,
.branch-title {
    text-align: center;
    margin: 30px 0;
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

/* Sections */
.branch-section {
    background: #fff;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.branch-section h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #444;
}

/* ================================
   GRID VIEW
   ================================ */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.branch-card {
    background: #fff;
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: 0.2s;
}

.branch-card:hover {
    box-shadow: 0px 2px 14px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.branch-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
    color: #333;
}

.branch-card p {
    margin: 5px 0;
    color: #555;
}

.branch-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 14px;
    background: #2575fc;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
}

.branch-btn:hover {
    background: #0d5ae0;
}

/* ================================
   LIST VIEW
   ================================ */

.simple-branch-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 30px;
}

.simple-branch-list li {
    padding: 10px 15px;
    background: #fdfdfd;
    border: 1px solid #eee;
    margin-bottom: 8px;
    border-radius: 6px;
}

/* ================================
   TABLE VIEW
   ================================ */
.branches-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.branches-table th {
    background: #2575fc;
    color: #fff;
    padding: 10px;
    font-size: 16px;
}

.branches-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

/* ================================
   PAGINATION
   ================================ */
.branches-pagination {
    text-align: center;
    margin: 30px 0;
}

.branches-pagination a,
.branches-pagination span {
    padding: 8px 12px;
    margin: 2px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #2575fc;
}

.branches-pagination .current {
    background: #2575fc;
    color: #fff;
    border-color: #2575fc;
}

/* ================================
   FILTER FORM
   ================================ */

.branch-filters input,
.branch-filters select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.branch-filters button {
    padding: 8px 18px;
    background: #2575fc;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.branch-filters button:hover {
    background: #0d5ae0;
}
