.login-page {
    background: #eef2f7;
}

.brand-link {
    min-height: 57px;
}

.table td,
.table th {
    vertical-align: middle;
}

.answer-box {
    min-height: 180px;
}

.content-wrapper {
    min-height: 100vh;
}

.question-bank-picker {
    max-height: 320px;
    overflow-y: auto;
}

.question-bank-filter-wrap .form-check-label {
    cursor: pointer;
}

.attendance-picker {
    max-height: 170px;
    overflow-y: auto;
}

.message-search-wrap [data-message-item] {
    transition: background-color .15s ease;
}

.recipient-search-wrap select {
    min-height: 38px;
}

.modern-portal {
    background: #f5f7fb;
    color: #17233d;
    font-size: 15px;
}

.modern-portal .wrapper {
    background: #f5f7fb;
}

.modern-portal .main-sidebar {
    width: 252px;
}

.modern-portal.sidebar-mini.sidebar-collapse .main-sidebar {
    width: 4.6rem;
}

.modern-portal .content-wrapper,
.modern-portal .main-header,
.modern-portal .main-footer {
    margin-left: 252px;
}

.modern-portal.sidebar-mini.sidebar-collapse .content-wrapper,
.modern-portal.sidebar-mini.sidebar-collapse .main-header,
.modern-portal.sidebar-mini.sidebar-collapse .main-footer {
    margin-left: 4.6rem !important;
}

.modern-sidebar {
    background: #fff;
    border-right: 1px solid #d9e2ef;
    box-shadow: 8px 0 28px rgba(15, 23, 42, .08) !important;
}

.modern-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 66px;
    padding: 12px 14px;
    border-bottom: 1px solid #d9e2ef !important;
    color: #122254 !important;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: normal;
}

.modern-brand:hover {
    color: #122254;
}

.modern-brand .brand-text {
    font-weight: 800 !important;
}

.modern-brand-mark {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #1f5de8;
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 93, 232, .24);
}

.modern-sidebar .sidebar {
    padding: 14px 8px;
}

.modern-sidebar .nav-sidebar > .nav-item {
    margin-bottom: 6px;
}

.modern-sidebar .nav-sidebar .nav-link {
    display: flex;
    align-items: center;
    min-height: 42px;
    border-radius: 8px;
    color: #4c5b70;
    font-size: .9rem;
    font-weight: 750;
    letter-spacing: 0;
}

.modern-sidebar .nav-sidebar .nav-link p {
    flex: 1;
    min-width: 0;
    white-space: normal;
}

.modern-sidebar .nav-sidebar .nav-link:hover {
    background: #edf4ff;
    color: #132657;
}

.modern-sidebar .nav-sidebar .nav-link.active {
    background: #dceaff;
    color: #14295c;
    box-shadow: inset 4px 0 0 #1f5de8, 0 4px 14px rgba(31, 93, 232, .16);
}

.modern-sidebar .nav-sidebar .nav-icon {
    color: #506176;
    font-size: .94rem;
    flex: 0 0 20px;
    margin-right: 8px;
    text-align: center;
}

.modern-sidebar .nav-sidebar .nav-link.active .nav-icon {
    color: #1f5de8;
}

.modern-sidebar .nav-treeview {
    margin: 3px 0 5px 12px;
    padding-left: 8px;
    border-left: 3px solid #d8e7ff;
}

.modern-sidebar .nav-treeview .nav-link {
    min-height: 38px;
    padding-left: 12px;
    font-size: .84rem;
}

.modern-sidebar .nav-treeview .nav-link.active {
    background: #dceaff;
    box-shadow: inset 4px 0 0 #1f5de8;
}

.modern-sidebar .right {
    top: .85rem;
    right: .75rem;
}

.modern-topbar {
    min-height: 72px;
    border-bottom: 1px solid #d9e2ef;
    background: #fff;
    box-shadow: 0 2px 18px rgba(15, 23, 42, .04);
}

.modern-topbar .navbar-nav {
    align-items: center;
    min-width: 0;
}

.modern-topbar .navbar-nav.ml-auto {
    flex: 1;
    justify-content: flex-end;
    overflow: hidden;
}

.modern-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: 6px;
    border: 1px solid #d9e2ef;
    border-radius: 8px;
    color: #152653 !important;
    font-size: 1.1rem;
}

.modern-page-title {
    color: #122254 !important;
    max-width: 340px;
    overflow: hidden;
    font-size: 1.05rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modern-top-search input {
    width: clamp(180px, 22vw, 320px);
    height: 46px;
    border: 1px solid #d8e1ee;
    border-radius: 8px;
    padding: 0 18px;
    color: #17233d;
    font-size: 1rem;
    outline: none;
}

.modern-top-search input:focus {
    border-color: #1f5de8;
    box-shadow: 0 0 0 3px rgba(31, 93, 232, .12);
}

.modern-user-pill {
    color: #152653 !important;
    font-weight: 800;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modern-user-pill small {
    display: block;
    color: #6d7a90;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
}

.modern-logout {
    color: #d63031 !important;
    font-weight: 800;
}

.modern-portal .content-wrapper {
    min-height: 100vh;
    background: #f5f7fb;
}

.modern-content-header {
    padding: 24px 18px 10px;
}

.modern-content-header h1 {
    margin: 0;
    color: #122254;
    font-size: 1.75rem;
    font-weight: 850;
}

.modern-content-header p {
    margin: 4px 0 0;
    color: #69788f;
    font-size: .98rem;
    font-weight: 700;
}

.modern-portal .content {
    padding: 0 8px 32px;
}

.modern-portal .card {
    border: 1px solid #d9e2ef;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
}

.modern-portal .card-header {
    border-bottom: 1px solid #d9e2ef;
    background: #fff;
    padding: 18px 22px;
}

.modern-portal .card-title {
    color: #122254;
    font-weight: 850;
}

.modern-portal .card-body {
    padding: 22px;
}

.modern-portal .small-box {
    min-height: 124px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
}

.modern-portal .row {
    margin-right: -10px;
    margin-left: -10px;
}

.modern-portal .row > [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

.modern-portal .small-box .inner {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.modern-portal .small-box h3 {
    margin: 0 0 12px;
    font-size: 2.25rem;
    font-weight: 850;
    line-height: 1;
}

.modern-portal .small-box p {
    margin: 0;
    max-width: 70%;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.25;
}

.modern-portal .small-box .icon {
    top: 16px;
    right: 18px;
    font-size: 64px;
}

.modern-portal .table {
    margin-bottom: 0;
    color: #243149;
}

.modern-portal .table thead th {
    border-top: 0;
    border-bottom: 2px solid #d9e2ef;
    background: #f9fbfe;
    color: #65748a;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.modern-portal .table td {
    border-top: 1px solid #d9e2ef;
    font-size: 1rem;
}

.modern-portal .table-responsive {
    border: 1px solid #d9e2ef;
    border-radius: 8px;
}

.modern-portal .table-responsive .table {
    background: #fff;
}

.modern-portal .form-control {
    border-color: #d3deec;
    border-radius: 8px;
}

.modern-portal .form-control:focus {
    border-color: #1f5de8;
    box-shadow: 0 0 0 3px rgba(31, 93, 232, .12);
}

.modern-portal .btn {
    border-radius: 8px;
    font-weight: 750;
}

.modern-portal .btn-primary {
    border-color: #1f5de8;
    background: #1f5de8;
}

.modern-portal .pagination .page-link {
    border-color: #d8e1ee;
    color: #1f5de8;
    font-weight: 750;
}

.modern-portal .pagination .active .page-link {
    border-color: #1f5de8;
    background: #1f5de8;
}

.modern-portal .main-footer {
    border-top: 1px solid #d9e2ef;
    background: #fff;
    color: #66748a;
}

@media (max-width: 991.98px) {
    .modern-portal .content-wrapper,
    .modern-portal .main-header,
    .modern-portal .main-footer {
        margin-left: 0;
    }

    .modern-portal .main-sidebar {
        width: 252px;
    }

    .modern-topbar {
        min-height: 64px;
    }

    .modern-content-header {
        padding: 24px 14px 10px;
    }

    .modern-content-header h1 {
        font-size: 1.65rem;
    }
}

@media (max-width: 1199.98px) {
    .modern-top-search {
        display: none;
    }

    .modern-user-pill {
        max-width: 140px;
    }
}

@media (max-width: 767.98px) {
    .modern-user-pill {
        display: none;
    }

    .modern-logout {
        padding-right: 8px;
        padding-left: 8px;
    }

    .modern-portal .small-box .icon {
        font-size: 52px;
    }
}

.landing-page {
    margin: 0;
    background: #f7f9fc;
    color: #17223a;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 12px max(24px, calc((100% - 1160px) / 2));
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #dce3ee;
    backdrop-filter: blur(10px);
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #102457;
    font-size: 1.18rem;
    font-weight: 800;
}

.landing-brand:hover,
.landing-nav a:hover {
    text-decoration: none;
}

.landing-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #1762e8;
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
}

.landing-nav nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.landing-nav nav a:not(.btn) {
    color: #43516a;
    font-weight: 650;
}

.landing-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 650px;
    overflow: hidden;
    background: #14213b;
}

.landing-hero-image,
.landing-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.landing-hero-image {
    object-fit: cover;
    object-position: center;
}

.landing-hero-overlay {
    background: rgba(7, 18, 39, .58);
}

.landing-hero-inner,
.landing-section,
.landing-proof {
    width: min(1160px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.landing-hero-inner {
    position: relative;
    z-index: 2;
    padding: 72px 0;
}

.landing-eyebrow {
    margin: 0 0 12px;
    color: #1762e8;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.landing-hero .landing-eyebrow {
    color: #9fc2ff;
}

.landing-hero h1,
.landing-section h2 {
    margin: 0;
    font-weight: 800;
    line-height: 1.08;
}

.landing-hero h1 {
    max-width: 660px;
    color: #fff;
    font-size: 3.65rem;
}

.landing-lead {
    max-width: 640px;
    margin: 22px 0 0;
    color: #e2e9f4;
    font-size: 1.2rem;
    line-height: 1.65;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.landing-hero .btn-outline-dark {
    border-color: #fff;
    color: #fff;
}

.landing-hero .btn-outline-dark:hover {
    background: #fff;
    color: #14213b;
}

.landing-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 26px;
    color: #f3f6fb;
    font-weight: 700;
}

.landing-trust i {
    color: #62d698;
}

.landing-proof {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -34px;
    position: relative;
    z-index: 4;
    border: 1px solid #d9e2ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(31, 48, 79, .09);
}

.landing-proof div {
    padding: 23px 24px;
    border-right: 1px solid #e4e9f1;
}

.landing-proof div:last-child {
    border-right: 0;
}

.landing-proof strong,
.landing-proof span {
    display: block;
}

.landing-proof strong {
    color: #102457;
    font-size: 1.15rem;
}

.landing-proof span {
    margin-top: 3px;
    color: #66748a;
    font-size: .9rem;
}

.landing-section {
    padding: 88px 0;
}

.landing-section-heading {
    max-width: 680px;
    margin-bottom: 32px;
}

.landing-section-heading p:last-child,
.landing-programmes p,
.landing-steps p,
.landing-portal p {
    color: #59677c;
    line-height: 1.7;
}

.landing-section-heading p:last-child {
    margin-top: 14px;
    font-size: 1.05rem;
}

.landing-section h2 {
    color: #102457;
    font-size: 2.45rem;
}

.landing-programmes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.landing-programmes article {
    min-height: 270px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
    padding: 26px;
}

.programme-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: #eaf1ff;
    color: #1762e8;
    font-size: 1.1rem;
}

.landing-programmes h3,
.landing-steps h3 {
    margin: 20px 0 10px;
    color: #17223a;
    font-weight: 800;
}

.landing-approach {
    padding-top: 24px;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    border-top: 1px solid #d8e0ec;
    padding-top: 30px;
}

.landing-steps article {
    display: flex;
    gap: 16px;
}

.landing-steps article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1762e8;
    color: #fff;
    font-weight: 800;
}

.landing-steps h3 {
    margin-top: 5px;
}

.landing-portal {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: center;
    margin-top: 32px;
    border-top: 1px solid #d8e0ec;
}

.landing-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.landing-feature-list div {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-height: 112px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
    color: #344158;
    font-weight: 700;
}

.landing-feature-list i {
    margin-top: 3px;
    color: #1762e8;
    font-size: 1.15rem;
}

.landing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px max(24px, calc((100% - 1160px) / 2));
    border-top: 1px solid #dce3ee;
    background: #fff;
    color: #66748a;
}

.landing-footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.landing-footer-links a {
    color: #30415e;
    font-weight: 700;
}

.landing-footer-links a:hover {
    color: #1762e8;
    text-decoration: none;
}

.landing-footer-links i {
    margin-right: 6px;
    color: #1762e8;
}

@media (max-width: 900px) {
    .landing-nav nav a:not(.btn) {
        display: none;
    }

    .landing-hero {
        min-height: 590px;
    }

    .landing-hero-image {
        object-position: 62% center;
    }

    .landing-hero h1 {
        max-width: 540px;
        font-size: 2.75rem;
    }

    .landing-proof,
    .landing-programmes,
    .landing-steps,
    .landing-portal {
        grid-template-columns: 1fr;
    }

    .landing-proof {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-proof div:nth-child(2) {
        border-right: 0;
    }

    .landing-proof div:nth-child(-n+2) {
        border-bottom: 1px solid #e4e9f1;
    }

    .landing-feature-list {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 575.98px) {
    .landing-nav {
        min-height: 64px;
        padding: 10px 16px;
    }

    .landing-brand {
        font-size: 1rem;
    }

    .landing-brand-mark {
        width: 38px;
        height: 38px;
    }

    .landing-hero {
        min-height: 620px;
    }

    .landing-hero-overlay {
        background: rgba(7, 18, 39, .68);
    }

    .landing-hero-inner,
    .landing-section,
    .landing-proof {
        width: min(100% - 28px, 1160px);
    }

    .landing-hero h1 {
        font-size: 2.25rem;
    }

    .landing-lead {
        font-size: 1.05rem;
    }

    .landing-trust {
        display: grid;
        gap: 9px;
    }

    .landing-proof {
        margin-top: -24px;
    }

    .landing-proof div {
        padding: 18px 16px;
    }

    .landing-section {
        padding: 64px 0;
    }

    .landing-section h2 {
        font-size: 2rem;
    }

    .landing-programmes article {
        min-height: 0;
    }

    .landing-steps {
        gap: 22px;
    }

    .landing-footer {
        align-items: flex-start;
        flex-direction: column;
    }

}
