/* =========================================
   SCHOOLS / INFORMATION PAGE
========================================= */

.schools-section {
    padding: 55px 0 75px;
    background: #f7f8fc;
    font-family: 'DM Sans', sans-serif;
}

/* BREADCRUMB */

.mission-breadcrumb {
    background: #f1f4f2;
    border-bottom: 1px solid #e3e9e5;
}

.mission-breadcrumb-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
}

.mission-breadcrumb .breadcrumb-item,
.mission-breadcrumb .breadcrumb-item a {
    font-size: 14px;
    color: #1F368F;
    text-decoration: none;
}

.mission-breadcrumb .breadcrumb-item.active {
    color: #68756d;
}

.mission-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 25px;
    background: #1F368F;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.mission-back-button:hover {
    background: #075b36;
    color: #fff;
    transform: translateY(-2px);
}

/* Page Heading */

.schools-heading {
    margin-bottom: 25px;
}

.schools-heading .section-tag {
    display: inline-block;
    color: #1F368F;
    background: rgba(31, 54, 143, 0.08);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 12px;
}

.schools-heading h2 {
    font-size: 30px;
    font-weight: 800;
    color: #1F368F;
    margin-bottom: 10px;
}

.schools-heading p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* Information Sidebar */

.information-sidebar {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ebf3;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 110px;
}

.information-sidebar-heading {
    background: #1F368F;
    color: #fff;
    padding: 17px 20px;
    font-size: 15px;
    font-weight: 700;
}

.information-sidebar-heading i {
    margin-right: 8px;
}

.information-sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 18px;
    color: #4b5563;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #f0f1f5;
    transition: all .25s ease;
}

.information-sidebar-link:last-child {
    border-bottom: none;
}

.information-sidebar-link i {
    color: #1F368F;
    width: 17px;
    text-align: center;
}

.information-sidebar-link:hover,
.information-sidebar-link.active {
    background: #f0f3ff;
    color: #1F368F;
}

.information-sidebar-link.active {
    border-left: 3px solid #1F368F;
    padding-left: 15px;
}

/* Main Table Card */

.schools-card {
    background: #fff;
    border: 1px solid #e8ebf3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

/* Toolbar */

.schools-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    flex-wrap: wrap;
}

.schools-entries-control {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 13px;
}

.schools-entries-control form {
    margin: 0;
}

.schools-entries-control select {
    padding: 7px 28px 7px 10px;
    border: 1px solid #dfe3ec;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    outline: none;
    font-size: 13px;
}

.schools-entries-control select:focus {
    border-color: #1F368F;
}

/* Search */

.schools-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.schools-search-input {
    position: relative;
}

.schools-search-input i {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 13px;
}

.schools-search-input input {
    width: 270px;
    padding: 10px 12px 10px 36px;
    border: 1px solid #dfe3ec;
    border-radius: 7px;
    outline: none;
    font-size: 13px;
    color: #333;
    transition: border .2s ease;
}

.schools-search-input input:focus {
    border-color: #1F368F;
}

.schools-search-btn,
.schools-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
}

.schools-search-btn {
    background: #1F368F;
    color: #fff;
    border: 1px solid #1F368F;
}

.schools-search-btn:hover {
    background: #172866;
    border-color: #172866;
}

.schools-reset-btn {
    color: #555;
    border: 1px solid #dfe3ec;
    background: #fff;
}

.schools-reset-btn:hover {
    color: #1F368F;
    background: #f1f3f9;
}

/* Summary */

.schools-summary {
    padding: 0 20px 16px;
    color: #777;
    font-size: 13px;
}

/* Table */

.schools-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.schools-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.schools-table thead {
    background: #1F368F;
}

.schools-table thead th {
    padding: 15px 16px;
    color: #fff;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border: none;
}

.schools-table tbody td {
    padding: 15px 16px;
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    vertical-align: middle;
    border-bottom: 1px solid #edf0f5;
}

.schools-table tbody tr {
    transition: background .2s ease;
}

.schools-table tbody tr:hover {
    background: #f7f9ff;
}

.schools-table tbody tr:last-child td {
    border-bottom: none;
}

.schools-table .school-name {
    color: #1F368F;
    font-weight: 700;
}

.school-phone {
    color: #555;
    text-decoration: none;
    white-space: nowrap;
}

.school-phone:hover {
    color: #1F368F;
    text-decoration: underline;
}

.school-empty {
    color: #b0b5bf;
}

/* Empty State */

.schools-empty-state {
    text-align: center;
    padding: 50px 20px;
}

.schools-empty-state > i {
    font-size: 40px;
    color: #c8cfe4;
    margin-bottom: 15px;
}

.schools-empty-state h5 {
    color: #1F368F;
    font-weight: 700;
    margin-bottom: 8px;
}

.schools-empty-state p {
    color: #777;
    font-size: 13px;
    margin: 0;
}

/* Pagination */

.schools-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 20px;
    border-top: 1px solid #edf0f5;
    flex-wrap: wrap;
}

.schools-pagination-info {
    color: #777;
    font-size: 13px;
}

.schools-pagination-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.school-pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    border: 1px solid #e0e4ed;
    border-radius: 6px;
    background: #fff;
    color: #555;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all .2s ease;
}

.school-pg-btn:hover {
    color: #1F368F;
    border-color: #1F368F;
    background: #f5f7ff;
}

.school-pg-btn.active {
    background: #1F368F;
    color: #fff;
    border-color: #1F368F;
}

.school-pg-btn.disabled {
    pointer-events: none;
    opacity: .45;
}

.school-pg-ellipsis {
    padding: 0 5px;
    color: #888;
}

/* Responsive */

@media (max-width: 991px) {
    .information-sidebar {
        position: static;
    }

    .schools-section {
        padding: 40px 0 55px;
    }
}

@media (max-width: 576px) {
    .schools-heading h2 {
        font-size: 25px;
    }

    .schools-toolbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }

    .schools-search-form {
        width: 100%;
    }

    .schools-search-input {
        flex: 1;
        min-width: 0;
    }

    .schools-search-input input {
        width: 100%;
    }

    .schools-search-btn,
    .schools-reset-btn {
        padding: 10px 12px;
    }

    .schools-pagination {
        padding: 15px;
        align-items: flex-start;
        flex-direction: column;
    }

    .schools-pagination-controls {
        width: 100%;
    }

    .school-pg-btn {
        min-width: 32px;
        height: 33px;
        padding: 0 8px;
    }
}