:root {
    --nmuc-orange: #e86d1f;
    --nmuc-orange-dark: #cc5710;
    --nmuc-orange-soft: #fff1e8;

    --nmuc-navy: #071c33;
    --nmuc-navy-light: #0d2e4e;
    --nmuc-blue: #174d78;

    --white: #ffffff;
    --bg-light: #f7f8fa;
    --bg-grey: #eef1f4;

    --text-dark: #111827;
    --text-grey: #667085;

    --border: #e4e7ec;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    --shadow-soft:
        0 10px 30px rgba(7, 28, 51, 0.08);

    --shadow-medium:
        0 18px 45px rgba(7, 28, 51, 0.12);

    --shadow-hover:
        0 28px 70px rgba(7, 28, 51, 0.18);
}


/* GLOBAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        'Poppins', sans-serif;

    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

section {
    scroll-margin-top: 110px;
}


/*  NMUC CONTAINER */

.nmuc-container {
    max-width: 1450px;
    margin: auto;
    padding-left: 50px;
    padding-right: 50px;
}


/* ORANGE TOP BAR */

.nmuc-topbar {
    height: 38px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            #e95f00,
            #f27618
        );

    color: white;

    font-size: 12px;
}

.topbar-wrapper {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;
}

.topbar-left,
.topbar-right,
.topbar-links,
.topbar-social {
    display: flex;
    align-items: center;
}

.topbar-left {
    gap: 13px;
}

.topbar-left a,
.topbar-info {
    display: flex;

    align-items: center;

    gap: 8px;

    color: white;

    font-weight: 600;
}

.topbar-left i {
    font-size: 14px;
}

.topbar-divider {
    width: 1px;
    height: 15px;

    background:
        rgba(255,255,255,.55);
}

.topbar-right {
    gap: 25px;
}

.topbar-links {
    gap: 10px;
}

.topbar-links a {
    color: white;

    transition:
        opacity .25s ease;
}

.topbar-links a:hover {
    opacity: .7;
}

.topbar-social {
    gap: 15px;
}

.topbar-social a {
    color: white;

    font-size: 14px;

    transition:
        transform .25s ease,
        opacity .25s ease;
}

.topbar-social a:hover {
    color: white;

    transform:
        translateY(-2px);

    opacity: .75;
}


/* MAIN NAVBAR */

.nmuc-navbar {
    position: relative;

    min-height: 100px;

    display: flex;
    align-items: center;

    background: #ffffff;

    border-bottom: 1px solid #e9e9e9;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.035);

    z-index: 1000;
}


/* BRAND */

.nmuc-brand {
    display: flex;

    align-items: center;

    gap: 15px;

    margin: 0;
}

.brand-icon {
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 0;

    background:
        #062440;

    color:
        white;

    font-size:
        25px;

    box-shadow:
        none;
}

.brand-text {
    display: flex;

    flex-direction: column;

    line-height: 1.15;
}

.brand-text strong {
    color:
        #082540;

    font-size:
        20px;

    font-weight:
        850;

    letter-spacing:
        .2px;
}

.brand-text span {
    margin-top:
        5px;

    color:
        #777f89;

    font-size:
        10px;

    font-weight:
        500;
}


/* NAV LINKS */

.nmuc-navbar .navbar-nav {
    gap: 7px;
}

.nmuc-navbar .nav-link {
    position: relative;

    padding:
        31px 13px !important;

    color:
        #111827;

    font-size:
        12px;

    font-weight:
        600;

    text-transform:
        uppercase;

    letter-spacing:
        .25px;

    transition:
        color .25s ease;
}

.nmuc-navbar .nav-link::after {
    content: "";

    position: absolute;

    bottom: 20px;
    left: 50%;

    width: 0;
    height: 2px;

    transform:
        translateX(-50%);

    background:
        #e8660b;

    transition:
        width .25s ease;
}


/* Bootstrap dropdown arrow fix */

.nmuc-navbar .dropdown-toggle::after {
    position: static;

    display: inline-block;

    width: 0;
    height: 0;

    margin-left: 6px;

    vertical-align: middle;

    border-top:
        4px solid;

    border-right:
        4px solid transparent;

    border-left:
        4px solid transparent;

    background: none;

    transform: none;
}


.nmuc-navbar .nav-link:hover,
.nmuc-navbar .nav-link.active {
    color:
        #e8660b;
}


.nmuc-navbar .nav-link:not(.dropdown-toggle):hover::after,
.nmuc-navbar .nav-link.active:not(.dropdown-toggle)::after {
    width:
        34px;
}


/* OPAC */

.btn-opac {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width:
        112px;

    padding:
        14px 22px;

    border-radius:
        4px;

    background:
        linear-gradient(
            135deg,
            #ef6c0b,
            #dc5700
        );

    color:
        white;

    font-size:
        12px;

    font-weight:
        800;

    text-transform:
        uppercase;

    box-shadow:
        0 7px 18px rgba(230,95,0,.18);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.btn-opac:hover {
    color:
        white;

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 24px rgba(230,95,0,.3);
}


/* DROPDOWN */

.dropdown-menu {
    padding:
        9px;

    border:
        none;

    border-radius:
        10px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.12);
}

.dropdown-item {
    padding:
        10px 14px;

    border-radius:
        7px;

    font-size:
        12px;

    font-weight:
        600;
}

.dropdown-item:hover {
    background:
        #fff0e6;

    color:
        #e8660b;
}


/* RESPONSIVE HEADER */

@media (max-width: 1100px) {

    .topbar-links {
        display: none;
    }

}


@media (max-width: 991px) {

    .nmuc-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .nmuc-navbar {
        padding:
            12px 0;
    }

    .nmuc-navbar .nav-link {
        padding:
            12px !important;
    }

    .nmuc-navbar .nav-link::after {
        display:
            none;
    }

    .navbar-collapse {
        margin-top:
            15px;

        padding:
            15px;

        background:
            white;

        border-radius:
            12px;

        box-shadow:
            0 15px 35px rgba(0,0,0,.1);
    }

    .btn-opac {
        margin-top:
            10px;
    }

}


@media (max-width: 767px) {

    .nmuc-topbar {
        height:
            auto;

        padding:
            8px 0;
    }

    .topbar-wrapper {
        justify-content:
            center;
    }

    .topbar-right {
        display:
            none;
    }

    .topbar-left {
        gap:
            10px;
    }

    .topbar-info {
        display:
            none;
    }

}


@media (max-width: 500px) {

    .topbar-left a:first-child {
        display:
            none;
    }

    .topbar-divider {
        display:
            none;
    }

    .brand-text span {
        display:
            none;
    }

    .brand-text strong {
        font-size:
            17px;
    }

}


/* BRAND */

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--nmuc-navy),
            var(--nmuc-blue)
        );

    color: white;

    font-size: 22px;

    box-shadow:
        0 10px 25px rgba(7, 28, 51, 0.2);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.navbar-brand:hover .brand-icon {
    transform: rotate(-4deg) scale(1.05);

    box-shadow:
        0 15px 35px rgba(7, 28, 51, 0.28);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 18px;
    font-weight: 850;

    color: var(--nmuc-navy);

    text-transform: uppercase;

    letter-spacing: 0.4px;
}

.brand-text small {
    font-size: 10px;

    color: var(--text-grey);

    letter-spacing: 0.4px;
}


/* NAV LINKS */

.nmuc-navbar .nav-link {
    position: relative;

    color: var(--text-dark);

    font-size: 13px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.45px;

    padding:
        11px 13px !important;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.nmuc-navbar .nav-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: var(--nmuc-orange);

    border-radius: 50px;

    transform: translateX(-50%);

    transition: width 0.28s ease;
}

.nmuc-navbar .nav-link:hover,
.nmuc-navbar .nav-link.active {
    color: var(--nmuc-orange);

    transform: translateY(-1px);
}

.nmuc-navbar .nav-link:hover::after,
.nmuc-navbar .nav-link.active::after {
    width: 55%;
}


/* DROPDOWN */

.dropdown-menu {
    margin-top: 12px !important;

    padding: 10px;

    border: 1px solid rgba(228, 231, 236, 0.9);

    border-radius: var(--radius-md);

    background:
        rgba(255, 255, 255, 0.98);

    box-shadow:
        var(--shadow-medium);

    overflow: hidden;
}

.dropdown-item {
    padding:
        11px 14px;

    border-radius: 10px;

    color: var(--text-dark);

    font-size: 13px;

    font-weight: 650;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.dropdown-item:hover {
    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    transform:
        translateX(4px);
}


/* OPAC NAV BUTTON */

.btn-opac {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        12px 22px;

    border-radius:
        13px;

    background:
        linear-gradient(
            135deg,
            var(--nmuc-orange),
            var(--nmuc-orange-dark)
        );

    color:
        white;

    border:
        none;

    font-size:
        13px;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        0.5px;

    box-shadow:
        0 10px 25px rgba(232, 109, 31, 0.24);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-opac:hover {
    color: white;

    transform:
        translateY(-3px);

    box-shadow:
        0 18px 35px rgba(232, 109, 31, 0.34);
}


/*  HERO */

.hero-section {
    position: relative;

    /* Better proportion for your 1717 × 916 banner */
    min-height: 620px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(3, 31, 55, 0.88) 0%,
            rgba(3, 31, 55, 0.68) 35%,
            rgba(3, 31, 55, 0.18) 58%,
            rgba(3, 31, 55, 0.02) 75%
        ),
        url("../images/nmuc-library-banner.gif");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    top: -220px;
    right: -120px;

    border-radius: 50%;

    background:
        rgba(232, 109, 31, 0.12);

    filter: blur(10px);
}

.hero-section::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    bottom: -220px;
    left: -140px;

    border-radius: 50%;

    background:
        rgba(23, 77, 120, 0.25);
}

.hero-dark-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 68% 50%,
            rgba(232, 109, 31, 0.14),
            transparent 30%
        );
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-top: 55px;
    padding-bottom: 50px;
}

.hero-title {
    max-width: 720px;

    font-size: clamp(48px, 4.2vw, 64px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -2px;

    margin-bottom: 22px;

    color: #ffffff !important;
}

.hero-title span {
    display: block;
    color: #f36b16 !important;
}

.hero-description {
    max-width: 680px;

    font-size: 16px;
    line-height: 1.7;

    margin-bottom: 25px;
}
/* Laptop */
@media (max-width: 1400px) {

    .hero-section {
        min-height: 580px;
    }

}


/* Tablet */
@media (max-width: 991px) {

    .hero-section {
        min-height: 600px;

        background-position: center center;
    }

}


/* Mobile */
@media (max-width: 767px) {

    .hero-section {
        min-height: 650px;

        /*
         * Move image slightly right so important
         * subjects aren't unnecessarily cropped
         */
        background-position: 60% center;
    }

}

/* MODERN OPAC SEARCH */

.opac-search-box {
    max-width: 770px;

    padding: 18px 22px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.97);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.18);
}

.opac-search-box:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.28);
}

.opac-title {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 15px;
}

.opac-title-icon {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    font-size:
        21px;
}

.opac-title div:last-child {
    display: flex;
    flex-direction: column;
}

.opac-title strong {
    color:
        var(--nmuc-navy);

    text-transform:
        uppercase;

    font-size:
        14px;
}

.opac-title small {
    color:
        var(--text-grey);

    font-size:
        12px;
}

.search-input-wrapper {
    display: flex;

    align-items: center;

    min-height:
        58px;

    padding:
        5px 5px 5px 17px;

    border:
        1px solid var(--border);

    border-radius:
        14px;

    background:
        #fafafa;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color:
        rgba(232, 109, 31, 0.55);

    box-shadow:
        0 0 0 4px rgba(232, 109, 31, 0.1);
}

.search-input-wrapper > i {
    font-size:
        20px;

    color:
        var(--text-grey);
}

.search-input-wrapper input {
    flex: 1;

    border:
        none;

    outline:
        none;

    background:
        transparent;

    padding:
        0 16px;

    font-size:
        15px;
}

.search-input-wrapper button {
    height:
        48px;

    border:
        none;

    border-radius:
        11px;

    background:
        linear-gradient(
            135deg,
            var(--nmuc-orange),
            var(--nmuc-orange-dark)
        );

    color:
        white;

    padding:
        0 25px;

    font-weight:
        800;

    text-transform:
        uppercase;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.search-input-wrapper button:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 10px 22px rgba(232, 109, 31, 0.25);
}


/* HERO BUTTONS */

.hero-buttons {
    display:
        flex;

    gap:
        14px;

    margin-top:
        25px;
}

.btn-orange,
.btn-outline-white {
    display:
        inline-flex;

    align-items:
        center;
    justify-content:
        center;

    gap:
        10px;

    padding:
        14px 24px;

    border-radius:
        13px;

    font-size:
        13px;

    font-weight:
        800;

    text-transform:
        uppercase;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.btn-orange {
    background:
        var(--nmuc-orange);

    color:
        white;

    border:
        1px solid var(--nmuc-orange);

    box-shadow:
        0 10px 25px rgba(232, 109, 31, 0.24);
}

.btn-orange:hover {
    background:
        var(--nmuc-orange-dark);

    color:
        white;

    transform:
        translateY(-4px);

    box-shadow:
        0 16px 35px rgba(232, 109, 31, 0.3);
}

.btn-outline-white {
    color:
        white;

    border:
        1px solid rgba(255, 255, 255, 0.45);

    background:
        rgba(255, 255, 255, 0.05);

    backdrop-filter:
        blur(10px);
}

.btn-outline-white:hover {
    background:
        white;

    color:
        var(--nmuc-navy);

    transform:
        translateY(-4px);
}


/* FLOATING HERO CARDS */

.hero-info-area {
    position: relative;
    height: 500px;
}

.hero-info-card {
    position: absolute;

    width:
        290px;

    display:
        flex;

    gap:
        15px;

    align-items:
        center;

    padding:
        20px;

    border-radius:
        18px;

    background:
        rgba(255, 255, 255, 0.95);

    backdrop-filter:
        blur(14px);

    border:
        1px solid rgba(255, 255, 255, 0.6);

    border-left:
        5px solid var(--nmuc-orange);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.18);

    color:
        var(--nmuc-navy);

    animation:
        floatInfo 5s ease-in-out infinite;

    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.hero-info-card:hover {
    box-shadow:
        0 30px 75px rgba(0, 0, 0, 0.24);
}

.info-card-icon {
    width:
        52px;

    height:
        52px;

    display:
        flex;

    align-items:
        center;
    justify-content:
        center;

    border-radius:
        14px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    font-size:
        22px;

    flex-shrink:
        0;

    transition:
        transform 0.3s ease;
}

.hero-info-card:hover .info-card-icon {
    transform:
        scale(1.08) rotate(-3deg);
}

.hero-info-card > div:last-child {
    display:
        flex;

    flex-direction:
        column;
}

.info-label {
    font-size:
        10px;

    text-transform:
        uppercase;

    letter-spacing:
        0.7px;

    color:
        var(--text-grey);
}

.hero-info-card strong {
    font-size:
        15px;
}

.hero-info-card small {
    color:
        var(--text-grey);

    font-size:
        12px;
}

.info-card-1 {
    top:
        100px;

    left:
        10px;
}

.info-card-2 {
    top:
        240px;

    right:
        0;

    animation-delay:
        1s;
}

.info-card-3 {
    bottom:
        10px;

    left:
        60px;

    animation-delay:
        2s;
}

@keyframes floatInfo {
    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-11px);
    }
}


/* GENERAL SECTION STYLES */

.section-eyebrow {
    display:
        inline-block;

    color:
        var(--nmuc-orange);

    font-weight:
        800;

    font-size:
        12px;

    letter-spacing:
        2px;

    text-transform:
        uppercase;

    margin-bottom:
        10px;
}

.section-title {
    color:
        var(--nmuc-navy);

    font-size:
        44px;

    font-weight:
        900;

    text-transform:
        uppercase;

    line-height:
        1.1;

    margin-bottom:
        20px;
}

.section-text {
    color:
        var(--text-grey);

    line-height:
        1.8;

    font-size:
        15px;
}

.section-center {
    text-align:
        center;

    max-width:
        700px;

    margin:
        0 auto 55px;
}

.section-center p {
    color:
        var(--text-grey);

    line-height:
        1.7;
}

.section-header {
    display:
        flex;

    align-items:
        end;

    justify-content:
        space-between;

    gap:
        40px;

    margin-bottom:
        45px;
}

.section-header p {
    max-width:
        380px;

    color:
        var(--text-grey);

    margin-bottom:
        6px;
}


/* QUICK ACCESS */

.quick-access-section {
    padding:
        100px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f8fafc
        );
}

.quick-card {
    position:
        relative;

    height:
        100%;

    min-height:
        245px;

    display:
        flex;

    flex-direction:
        column;

    padding:
        28px;

    border-radius:
        var(--radius-lg);

    background:
        white;

    border:
        1px solid var(--border);

    color:
        var(--text-dark);

    box-shadow:
        var(--shadow-soft);

    overflow:
        hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.quick-card::before {
    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    width:
        100%;

    height:
        5px;

    border-radius:
        5px 5px 0 0;

    background:
        linear-gradient(
            90deg,
            var(--nmuc-orange),
            var(--nmuc-orange-dark)
        );

    transform:
        scaleX(0);

    transform-origin:
        left;

    transition:
        transform 0.35s ease;
}

.quick-card:hover {
    transform:
        translateY(-10px);

    border-color:
        rgba(232, 109, 31, 0.25);

    box-shadow:
        var(--shadow-hover);
}

.quick-card:hover::before {
    transform:
        scaleX(1);
}

.quick-card-icon {
    width:
        65px;

    height:
        65px;

    display:
        flex;

    align-items:
        center;
    justify-content:
        center;

    border-radius:
        17px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    font-size:
        28px;

    margin-bottom:
        25px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.quick-card:hover .quick-card-icon {
    transform:
        scale(1.08) rotate(-3deg);

    background:
        var(--nmuc-orange);

    color:
        white;
}

.quick-card-content h3 {
    color:
        var(--nmuc-navy);

    font-size:
        17px;

    font-weight:
        800;

    text-transform:
        uppercase;
}

.quick-card-content p {
    color:
        var(--text-grey);

    font-size:
        14px;

    line-height:
        1.65;
}

.quick-arrow {
    margin-top:
        auto;

    width:
        38px;

    height:
        38px;

    margin-left:
        auto;

    display:
        flex;

    align-items:
        center;
    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    font-size:
        18px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.quick-card:hover .quick-arrow {
    transform:
        translateX(4px);

    background:
        var(--nmuc-orange);

    color:
        white;
}


/* ABOUT */

.about-section {
    padding:
        110px 0;

    background:
        white;
}

.about-image-wrapper {
    position:
        relative;

    min-height:
        470px;
}

.about-image-placeholder {
    height:
        430px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    align-items:
        center;

    border-radius:
        var(--radius-xl);

    background:
        linear-gradient(
            135deg,
            var(--nmuc-navy),
            var(--nmuc-blue)
        );

    color:
        white;

    font-size:
        60px;

    overflow:
        hidden;

    box-shadow:
        var(--shadow-medium);

    transition:
        transform 0.35s ease;
}

.about-image-placeholder:hover {
    transform:
        scale(1.015);
}

.about-image-placeholder span {
    font-size:
        20px;

    text-transform:
        uppercase;

    letter-spacing:
        2px;

    margin-top:
        15px;
}

.about-floating-stat {
    position:
        absolute;

    right:
        -20px;

    bottom:
        0;

    width:
        230px;

    padding:
        25px;

    border-radius:
        18px;

    background:
        linear-gradient(
            135deg,
            var(--nmuc-orange),
            var(--nmuc-orange-dark)
        );

    color:
        white;

    box-shadow:
        var(--shadow-hover);

    display:
        flex;

    flex-direction:
        column;

    transition:
        transform 0.3s ease;
}

.about-floating-stat:hover {
    transform:
        translateY(-5px);
}

.about-floating-stat strong {
    font-size:
        21px;
}

.about-floating-stat span {
    font-size:
        13px;

    opacity:
        0.85;
}


/* HOURS */

.operation-section {
    padding:
        110px 0;

    background:
        linear-gradient(
            135deg,
            var(--nmuc-navy),
            #0b2948
        );
}

.operation-section .section-title {
    color:
        white;
}

.operation-section .section-center p {
    color:
        rgba(255,255,255,.68);
}

.hours-card {
    background:
        white;

    border-radius:
        var(--radius-xl);

    overflow:
        hidden;

    box-shadow:
        0 30px 80px rgba(0,0,0,.22);
}

.hours-row {
    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    padding:
        25px 30px;

    border-bottom:
        1px solid var(--border);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        padding 0.3s ease;
}

.hours-row:last-child {
    border-bottom:
        none;
}

.hours-row:hover {
    background:
        var(--nmuc-orange-soft);

    padding-left:
        36px;
}

.hours-row > div {
    display:
        flex;

    align-items:
        center;

    gap:
        14px;
}

.hours-row i {
    width:
        44px;

    height:
        44px;

    display:
        flex;

    align-items:
        center;
    justify-content:
        center;

    border-radius:
        12px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    font-size:
        20px;
}

.hours-row strong {
    color:
        var(--nmuc-navy);
}


/* SERVICES */

.services-section {
    padding:
        110px 0;

    background:
        #f7f8fa;
}

.service-card {
    position:
        relative;

    height:
        100%;

    min-height:
        340px;

    padding:
        35px;

    border-radius:
        var(--radius-lg);

    background:
        white;

    border:
        1px solid var(--border);

    overflow:
        hidden;

    box-shadow:
        var(--shadow-soft);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.service-card:hover {
    background:
        linear-gradient(
            135deg,
            var(--nmuc-navy),
            var(--nmuc-navy-light)
        );

    transform:
        translateY(-10px);

    box-shadow:
        var(--shadow-hover);
}

.service-number {
    position:
        absolute;

    right:
        25px;

    top:
        20px;

    font-size:
        48px;

    font-weight:
        900;

    color:
        #f1f2f4;

    transition:
        0.35s;
}

.service-card:hover .service-number {
    color:
        rgba(255,255,255,.07);
}

.service-icon {
    width:
        60px;

    height:
        60px;

    display:
        flex;

    align-items:
        center;
    justify-content:
        center;

    border-radius:
        16px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    font-size:
        24px;

    margin-bottom:
        27px;

    transition:
        transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform:
        scale(1.08) rotate(-4deg);
}


/* HOME FACILITIES */

.home-facilities {
    padding: 100px 0 110px;
    background: #ffffff;
}


/* HEADING */

.facilities-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 55px;
}


.facilities-heading-left {
    flex: 1;
}


.facilities-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: #ef6c18;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 4px;
}


.facilities-heading h2 {
    margin: 0;

    color: #071d35;

    font-size: 48px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: -1.5px;
}


.facilities-heading-right {
    width: 360px;
}


.facilities-heading-right p {
    margin: 0;

    color: #657389;

    font-size: 16px;

    line-height: 1.6;
}


/* GRID */

.facilities-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/*  CARD */

.facility-card {
    overflow: hidden;

    border-radius: 28px;

    background: #071d35;

    box-shadow:
        0 15px 40px
        rgba(7, 29, 53, .10);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.facility-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 25px 55px
        rgba(7, 29, 53, .16);
}


/* IMAGE */

.facility-image {
    width: 100%;
    height: 245px;

    overflow: hidden;

    background: #dfe6ec;
}


.facility-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform .45s ease;
}


.facility-card:hover .facility-image img {
    transform: scale(1.04);
}


/* TEXT AREA */

.facility-content {
    min-height: 205px;

    padding: 28px 32px 34px;

    background:
        linear-gradient(
            145deg,
            #071d35 0%,
            #092943 100%
        );

    color: #ffffff;
}


.facility-number {
    display: block;

    margin-bottom: 8px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;
}


.facility-content h3 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 28px;
    font-weight: 500;

    line-height: 1.2;
}


.facility-content p {
    margin: 0;

    max-width: 360px;

    color:
        rgba(
            255,
            255,
            255,
            .92
        );

    font-size: 15px;

    line-height: 1.65;
}


/* TABLET */

@media (max-width: 991px) {

    .home-facilities {
        padding:
            80px
            0
            90px;
    }


    .facilities-heading {
        align-items: flex-start;

        margin-bottom: 40px;
    }


    .facilities-heading h2 {
        font-size: 42px;
    }


    .facilities-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .home-facilities {
        padding:
            65px
            0
            75px;
    }


    .facilities-heading {
        flex-direction: column;

        gap: 20px;
    }


    .facilities-heading h2 {
        font-size: 36px;
    }


    .facilities-heading-right {
        width: 100%;
    }


    .facilities-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .facility-image {
        height: 230px;
    }


    .facility-content {
        min-height: auto;

        padding:
            25px
            26px
            30px;
    }


    .facility-content h3 {
        font-size: 25px;
    }

}


/* SMALL MOBILE */

@media (max-width: 480px) {

    .facility-card {
        border-radius: 20px;
    }


    .facility-image {
        height: 210px;
    }


    .facility-content h3 {
        font-size: 23px;
    }


    .facility-content p {
        font-size: 14px;
    }

}


/* FAQ */

.faq-section {
    padding:
        110px 0;

    background:
        #f7f8fa;
}

.faq-help-box {
    display:
        flex;

    align-items:
        center;

    gap:
        15px;

    margin-top:
        35px;

    padding:
        20px;

    border-radius:
        16px;

    background:
        var(--nmuc-orange-soft);

    border:
        1px solid rgba(232, 109, 31, 0.16);

    box-shadow:
        var(--shadow-soft);

    transition:
        transform 0.3s ease;
}

.faq-help-box:hover {
    transform:
        translateY(-4px);
}

.accordion {
    display:
        flex;

    flex-direction:
        column;

    gap:
        12px;
}

.accordion-item {
    border:
        1px solid var(--border);

    border-radius:
        16px !important;

    overflow:
        hidden;

    background:
        white;

    box-shadow:
        var(--shadow-soft);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.accordion-item:hover {
    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow-medium);
}

.accordion-button {
    padding:
        22px;

    font-size:
        15px;

    font-weight:
        800;

    color:
        var(--nmuc-navy);

    box-shadow:
        none !important;
}

.accordion-button:not(.collapsed) {
    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);
}

.accordion-body {
    color:
        var(--text-grey);

    line-height:
        1.7;

    padding:
        5px 22px 25px;
}


/* FINAL CTA */

.final-cta {
    padding:
        75px 0;

    background:
        linear-gradient(
            135deg,
            var(--nmuc-orange),
            var(--nmuc-orange-dark)
        );
}

.cta-inner {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        30px;

    padding:
        36px 40px;

    border-radius:
        var(--radius-xl);

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.12);

    color:
        white;

    backdrop-filter:
        blur(10px);
}

.cta-button {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    white-space:
        nowrap;

    padding:
        15px 24px;

    border-radius:
        13px;

    background:
        var(--nmuc-navy);

    color:
        white;

    font-weight:
        800;

    text-transform:
        uppercase;

    font-size:
        13px;

    box-shadow:
        0 12px 30px rgba(7, 28, 51, 0.24);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.cta-button:hover {
    background:
        white;

    color:
        var(--nmuc-navy);

    transform:
        translateY(-4px);
}


/* MODERN FOOTER */

.site-footer {
    position:
        relative;

    padding:
        85px 0 28px;

    background:
        linear-gradient(
            135deg,
            #041524,
            var(--nmuc-navy)
        );

    color:
        rgba(255,255,255,.72);

    overflow:
        hidden;
}

.site-footer::before {
    content:
        "";

    position:
        absolute;

    width:
        340px;

    height:
        340px;

    border-radius:
        50%;

    top:
        -170px;

    right:
        -120px;

    background:
        rgba(232,109,31,.1);
}

.site-footer::after {
    content:
        "";

    position:
        absolute;

    width:
        260px;

    height:
        260px;

    border-radius:
        50%;

    bottom:
        -150px;

    left:
        -100px;

    background:
        rgba(23,77,120,.22);
}

.site-footer .container {
    position:
        relative;

    z-index:
        2;
}

.site-footer h4,
.site-footer h5 {
    color:
        white;

    font-weight:
        800;

    text-transform:
        uppercase;

    margin-bottom:
        18px;
}

.site-footer h4::after,
.site-footer h5::after {
    content:
        "";

    display:
        block;

    width:
        36px;

    height:
        3px;

    margin-top:
        10px;

    border-radius:
        50px;

    background:
        var(--nmuc-orange);
}

.site-footer p {
    line-height:
        1.8;
}

.site-footer ul {
    list-style:
        none;

    padding:
        0;
}

.site-footer li {
    margin-bottom:
        10px;
}

.site-footer a {
    display:
        inline-flex;

    align-items:
        center;

    color:
        rgba(255,255,255,.7);

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.site-footer a:hover {
    color:
        var(--nmuc-orange);

    transform:
        translateX(5px);
}

.footer-bottom {
    display:
        flex;

    justify-content:
        space-between;

    margin-top:
        50px;

    padding-top:
        22px;

    border-top:
        1px solid rgba(255,255,255,.1);

    font-size:
        12px;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .navbar-collapse {
        margin-top:
            12px;

        padding:
            18px;

        border-radius:
            18px;

        background:
            white;

        box-shadow:
            var(--shadow-medium);
    }

    .hero-section {
        min-height:
            auto;
    }

    .hero-content {
        padding:
            165px 0 120px;
    }

    .hero-title {
        font-size:
            55px;
    }

    .section-header {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .about-floating-stat {
        right:
            10px;
    }

    .cta-inner {
        flex-direction:
            column;

        align-items:
            flex-start;
    }
}


@media (max-width: 767px) {

    .hero-title {
        font-size:
            43px;
    }

    .hero-description {
        font-size:
            15px;
    }

    .hero-buttons {
        flex-direction:
            column;
    }

    .hero-buttons a {
        width:
            100%;
    }

    .search-input-wrapper {
        flex-wrap:
            wrap;

        gap:
            8px;

        padding:
            10px;
    }

    .search-input-wrapper input {
        min-width:
            calc(100% - 40px);

        height:
            45px;
    }

    .search-input-wrapper button {
        width:
            100%;
    }

    .section-title {
        font-size:
            34px;
    }

    .hours-row {
        align-items:
            flex-start;

        gap:
            20px;
    }

    .about-image-wrapper {
    position: relative;

    width: 100%;
    height: 500px;

    overflow: visible;

    border-radius: 32px;
}


/* NMUC LIBRARY PHOTO */

.about-library-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 32px;

    box-shadow:
        0 25px 60px rgba(7, 28, 51, 0.13);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}


/* IMAGE HOVER */

.about-image-wrapper:hover .about-library-image {
    transform: scale(1.02);

    box-shadow:
        0 30px 70px rgba(7, 28, 51, 0.18);
}

    .about-floating-stat {
        right:
            0;
    }

    .footer-bottom {
        flex-direction:
            column;

        gap:
            8px;
    }
}


@media (max-width: 576px) {

    .brand-text small {
        display:
            none;
    }

    .hero-content {
        padding:
            145px 0 100px;
    }

    .hero-title {
        font-size:
            36px;
    }

    .section-title {
        font-size:
            30px;
    }

    .hours-row {
        flex-direction:
            column;
    }

    .hours-row > span {
        text-align:
            left;
    }

    .cta-inner {
        padding:
            28px 22px;
    }
}
/* SERVICE CARD HOVER TEXT FIX */

.service-card:hover h3 {
    color: #ffffff !important;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.82) !important;
}

.service-card:hover a {
    color: #ff7a1a !important;
}

.service-card:hover .service-number {
    color: rgba(255, 255, 255, 0.12) !important;
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #ff7a1a;
}
/* NMUC OFFICIAL HEADER LOGO */

.nmuc-brand {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nmuc-header-logo {
    display: block;

    width: auto;
    height: 68px;

    object-fit: contain;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.nmuc-brand:hover .nmuc-header-logo {
    transform: scale(1.02);
    opacity: 0.92;
}
/* HERO TEXT COLOUR FIX */

/* Small top label */
.hero-section .hero-eyebrow {
    color: #ff7317 !important;
}

/* Main title */
.hero-section .hero-title {
    color: #ffffff !important;
}

/* Orange second line */
.hero-section .hero-title span {
    color: #ff6b0b !important;
}

/* Description */
.hero-section .hero-description {
    color: rgba(255, 255, 255, 0.88) !important;
}

/* Any paragraph accidentally inheriting dark colour */
.hero-section .hero-content p {
    color: rgba(255, 255, 255, 0.88);
}
/* Keep OPAC card text readable */
.hero-section .opac-search-box p,
.hero-section .opac-search-box small,
.hero-section .opac-search-box span {
    color: #667085 !important;
}

.hero-section .opac-search-box h3,
.hero-section .opac-search-box strong {
    color: #0b2945 !important;
}
/* ACADEMIC TOOLS SECTION */

.academic-tools-section {
    position: relative;

    padding:
        110px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );

    overflow: hidden;
}


/* background decoration */

.academic-tools-section::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    top: -180px;
    right: -150px;

    border-radius: 50%;

    background:
        rgba(232, 109, 31, 0.07);

    filter:
        blur(10px);
}


.academic-tools-section::after {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    bottom: -200px;
    left: -160px;

    border-radius: 50%;

    background:
        rgba(7, 28, 51, 0.06);
}


.academic-tools-section .container {
    position: relative;
    z-index: 1;
}


/* TOOL CARD */

.tool-card {
    position: relative;

    min-height: 380px;

    height: 100%;

    padding:
        32px;

    border-radius:
        28px;

    overflow: hidden;

    background:
        #ffffff;

    border:
        1px solid
        rgba(228, 231, 236, 0.9);

    box-shadow:
        0 16px 45px
        rgba(7, 28, 51, 0.08);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


.tool-card:hover {
    transform:
        translateY(-10px);

    box-shadow:
        0 30px 70px
        rgba(7, 28, 51, 0.15);

    border-color:
        rgba(232, 109, 31, 0.22);
}


/* orange accent line */

.tool-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 6px;

    background:
        linear-gradient(
            90deg,
            var(--nmuc-orange),
            var(--nmuc-orange-dark)
        );

    transform:
        scaleX(0);

    transform-origin:
        left;

    transition:
        transform 0.4s ease;
}


.tool-card:hover::before {
    transform:
        scaleX(1);
}


/*  TOP AREA */

.tool-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom:
        25px;
}


.tool-icon {
    width:
        64px;

    height:
        64px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        18px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    font-size:
        27px;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease;
}


.tool-card:hover .tool-icon {
    transform:
        rotate(-5deg)
        scale(1.08);

    background:
        var(--nmuc-orange);

    color:
        white;
}


.tool-label {
    display: inline-flex;

    align-items: center;

    padding:
        8px 13px;

    border-radius:
        50px;

    background:
        #f4f6f8;

    color:
        var(--text-grey);

    font-size:
        11px;

    font-weight:
        750;

    text-transform:
        uppercase;

    letter-spacing:
        1px;
}


/* TEXT */

.tool-card h3 {
    position: relative;

    z-index: 2;

    color:
        var(--nmuc-navy);

    font-size:
        32px;

    font-weight:
        900;

    text-transform:
        uppercase;

    margin-bottom:
        15px;
}


.tool-card > p {
    position: relative;

    z-index: 2;

    max-width:
        500px;

    color:
        var(--text-grey);

    font-size:
        15px;

    line-height:
        1.75;

    margin-bottom:
        28px;
}


/*  TOOL LINKS */

.tool-links {
    position: relative;

    z-index: 3;

    display:
        flex;

    flex-direction:
        column;

    gap:
        12px;
}


.tool-links a {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    padding:
        15px 17px;

    border-radius:
        14px;

    background:
        #f8fafc;

    border:
        1px solid
        #edf0f3;

    color:
        var(--nmuc-navy);

    font-size:
        14px;

    font-weight:
        650;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}


.tool-links a span {
    display:
        flex;

    align-items:
        center;

    gap:
        10px;
}


.tool-links a span i {
    color:
        var(--nmuc-orange);
}


.tool-links a > i {
    color:
        var(--nmuc-orange);

    transition:
        transform 0.3s ease;
}


.tool-links a:hover {
    transform:
        translateX(7px);

    background:
        var(--nmuc-orange-soft);

    border-color:
        rgba(232, 109, 31, 0.22);

    color:
        var(--nmuc-orange-dark);

    box-shadow:
        0 8px 22px
        rgba(232, 109, 31, 0.1);
}


.tool-links a:hover > i {
    transform:
        translate(3px, -3px);
}


/*  BACKGROUND DECORATION */

.tool-decoration {
    position:
        absolute;

    right:
        -25px;

    bottom:
        -35px;

    font-size:
        165px;

    color:
        rgba(7, 28, 51, 0.035);

    transform:
        rotate(-10deg);

    transition:
        transform 0.7s ease,
        color 0.5s ease;
}


.tool-card:hover .tool-decoration {
    transform:
        rotate(-4deg)
        scale(1.08);

    color:
        rgba(232, 109, 31, 0.06);
}


/* DIFFERENT CARD ACCENTS */

.dictionary-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fffaf6
        );
}


.writing-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8fbfd
        );
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .academic-tools-section {
        padding:
            90px 0;
    }


    .tool-card {
        min-height:
            auto;

        padding:
            32px;
    }

}


@media (max-width: 576px) {

    .academic-tools-section {
        padding:
            70px 0;
    }


    .tool-card {
        padding:
            25px;

        border-radius:
            22px;
    }


    .tool-card h3 {
        font-size:
            25px;
    }


    .tool-icon {
        width:
            56px;

        height:
            56px;

        border-radius:
            16px;
    }


    .tool-label {
        font-size:
            9px;
    }


    .tool-links a {
        padding:
            14px;
    }

}
/*  E-BOOKS PAGE HERO */

.ebooks-page-hero {
    position: relative;

    padding:
        85px 0 75px;

    background:
        linear-gradient(
            135deg,
            var(--nmuc-navy),
            #0b3458
        );

    overflow: hidden;
}


.ebooks-page-hero::before {
    content: "";

    position: absolute;

    width: 370px;
    height: 370px;

    top: -200px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(232,109,31,.13);
}


.ebooks-hero-content {
    position: relative;
    z-index: 2;

    max-width: 720px;
}


.ebooks-page-hero .section-eyebrow {
    color:
        var(--nmuc-orange);
}


.ebooks-page-hero h1 {
    margin:
        5px 0 18px;

    color:
        white;

    font-size:
        clamp(48px, 5vw, 72px);

    font-weight:
        900;

    text-transform:
        uppercase;
}


.ebooks-page-hero p {
    max-width:
        610px;

    margin:
        0;

    color:
        rgba(255,255,255,.72);

    font-size:
        16px;

    line-height:
        1.75;
}



/* E-BOOKS CONTENT */

.ebooks-content-section {
    padding:
        70px 0 110px;

    background:
        #f7f8fa;
}



/* SEARCH */

.ebooks-search-wrapper {
    display:
        flex;

    align-items:
        center;

    gap:
        13px;

    min-height:
        65px;

    padding:
        6px 7px 6px 22px;

    border-radius:
        18px;

    background:
        white;

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow-soft);

    transition:
        box-shadow .3s ease,
        border-color .3s ease;
}


.ebooks-search-wrapper:focus-within {
    border-color:
        rgba(232,109,31,.4);

    box-shadow:
        0 10px 35px rgba(232,109,31,.12);
}


.ebooks-search-wrapper > i {
    color:
        var(--nmuc-orange);

    font-size:
        20px;
}


.ebooks-search-wrapper input {
    flex:
        1;

    border:
        none;

    outline:
        none;

    background:
        transparent;

    color:
        var(--text-dark);

    font-size:
        14px;
}


.ebooks-search-wrapper button {
    height:
        51px;

    padding:
        0 28px;

    border:
        none;

    border-radius:
        13px;

    background:
        var(--nmuc-orange);

    color:
        white;

    font-size:
        12px;

    font-weight:
        800;

    text-transform:
        uppercase;

    transition:
        background .3s ease,
        transform .3s ease;
}


.ebooks-search-wrapper button:hover {
    background:
        var(--nmuc-orange-dark);

    transform:
        translateY(-2px);
}



/* SIDEBAR */

.ebooks-sidebar {
    position:
        sticky;

    top:
        30px;

    padding:
        28px;

    border-radius:
        24px;

    background:
        white;

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow-soft);
}


.sidebar-heading {
    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    margin-bottom:
        25px;
}


.sidebar-icon {
    width:
        48px;

    height:
        48px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    flex-shrink:
        0;

    border-radius:
        14px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    font-size:
        20px;
}


.sidebar-heading span {
    display:
        block;

    color:
        var(--text-grey);

    font-size:
        10px;

    font-weight:
        750;

    text-transform:
        uppercase;

    letter-spacing:
        1px;
}


.sidebar-heading h2 {
    margin:
        3px 0 0;

    color:
        var(--nmuc-navy);

    font-size:
        18px;

    font-weight:
        850;
}



/* FILTER */

.course-filter-list {
    display:
        flex;

    flex-direction:
        column;

    gap:
        7px;
}


.course-filter {
    width:
        100%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        12px;

    padding:
        13px 14px;

    border:
        none;

    border-radius:
        12px;

    background:
        transparent;

    color:
        var(--text-dark);

    text-align:
        left;

    font-size:
        13px;

    font-weight:
        650;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}


.course-filter span {
    display:
        flex;

    align-items:
        center;

    gap:
        10px;
}


.course-filter > i {
    color:
        #a0a6ad;

    font-size:
        11px;

    transition:
        transform .3s ease;
}


.course-filter:hover {
    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    transform:
        translateX(4px);
}


.course-filter:hover > i {
    transform:
        translateX(3px);

    color:
        var(--nmuc-orange);
}


.course-filter.active {
    background:
        var(--nmuc-navy);

    color:
        white;

    box-shadow:
        0 10px 22px rgba(7,28,51,.14);
}


.course-filter.active > i {
    color:
        var(--nmuc-orange);
}



/* SIDEBAR RESOURCE LINKS */

.sidebar-divider {
    height:
        1px;

    margin:
        27px 0;

    background:
        var(--border);
}


.sidebar-subheading span {
    color:
        var(--nmuc-navy);

    font-size:
        12px;

    font-weight:
        850;

    text-transform:
        uppercase;

    letter-spacing:
        .7px;
}


.sidebar-resource-links {
    display:
        flex;

    flex-direction:
        column;

    gap:
        7px;

    margin-top:
        13px;
}


.sidebar-resource-links a {
    display:
        flex;

    align-items:
        center;

    gap:
        11px;

    padding:
        11px 13px;

    border-radius:
        11px;

    color:
        var(--text-grey);

    font-size:
        13px;

    font-weight:
        650;

    transition:
        .3s ease;
}


.sidebar-resource-links a:hover,
.sidebar-resource-links a.active {
    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    transform:
        translateX(4px);
}



/* MAIN HEADER */

.ebooks-main {
    padding:
        32px;

    border-radius:
        26px;

    background:
        white;

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow-soft);
}


.ebooks-main-header {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        30px;

    margin-bottom:
        32px;
}


.ebooks-main-header h2 {
    margin:
        2px 0 0;

    color:
        var(--nmuc-navy);

    font-size:
        34px;

    font-weight:
        900;

    text-transform:
        uppercase;
}


.ebooks-result-count {
    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    padding:
        11px 15px;

    border-radius:
        13px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-navy);

    font-size:
        12px;
}


.ebooks-result-count i {
    color:
        var(--nmuc-orange);
}



/* E-BOOK CARD */

.ebook-card {
    height:
        100%;

    overflow:
        hidden;

    border-radius:
        20px;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    box-shadow:
        0 8px 24px rgba(7,28,51,.06);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}


.ebook-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(232,109,31,.25);

    box-shadow:
        0 22px 45px rgba(7,28,51,.14);
}



/* COVER */

.ebook-cover-wrapper {
    position:
        relative;

    height:
        330px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        28px;

    overflow:
        hidden;

    background:
        linear-gradient(
            145deg,
            #f7f8fa,
            #eef1f4
        );
}


.ebook-cover {
    max-width:
        185px;

    max-height:
        260px;

    object-fit:
        contain;

    filter:
        drop-shadow(
            0 14px 14px
            rgba(0,0,0,.16)
        );

    transition:
        transform .45s ease;
}


.ebook-card:hover .ebook-cover {
    transform:
        scale(1.06)
        rotate(-1deg);
}



/* BADGE */

.ebook-badge {
    position:
        absolute;

    top:
        17px;

    left:
        17px;

    padding:
        7px 10px;

    border-radius:
        50px;

    background:
        rgba(255,255,255,.95);

    color:
        var(--nmuc-orange);

    font-size:
        9px;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        .7px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.08);
}



/* QUICK VIEW */

.ebook-hover-actions {
    position:
        absolute;

    right:
        17px;

    top:
        17px;

    transform:
        translateY(-10px);

    opacity:
        0;

    transition:
        .3s ease;
}


.ebook-card:hover .ebook-hover-actions {
    opacity:
        1;

    transform:
        translateY(0);
}


.ebook-view-btn {
    width:
        40px;

    height:
        40px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        12px;

    background:
        var(--nmuc-navy);

    color:
        white;

    box-shadow:
        0 8px 20px rgba(7,28,51,.2);
}


.ebook-view-btn:hover {
    background:
        var(--nmuc-orange);

    color:
        white;
}



/* BODY */

.ebook-card-body {
    display:
        flex;

    flex-direction:
        column;

    min-height:
        235px;

    padding:
        23px;
}


.ebook-category {
    margin-bottom:
        9px;

    color:
        var(--nmuc-orange);

    font-size:
        10px;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        .8px;
}


.ebook-card-body h3 {
    color:
        var(--nmuc-navy);

    font-size:
        16px;

    font-weight:
        800;

    line-height:
        1.45;
}


.ebook-author {
    margin-top:
        8px;

    color:
        var(--text-grey);

    font-size:
        12px;
}



/* READ BUTTON */

.ebook-read-btn {
    margin-top:
        auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    padding:
        12px 15px;

    border-radius:
        11px;

    background:
        var(--nmuc-orange);

    color:
        white;

    font-size:
        11px;

    font-weight:
        800;

    text-transform:
        uppercase;

    transition:
        background .3s ease,
        transform .3s ease;
}


.ebook-read-btn:hover {
    background:
        var(--nmuc-orange-dark);

    color:
        white;

    transform:
        translateY(-2px);
}


.ebook-read-btn i {
    transition:
        transform .3s ease;
}


.ebook-read-btn:hover i {
    transform:
        translateX(4px);
}



/*  NO RESULTS */

.ebooks-no-results {
    display:
        none;

    padding:
        80px 20px;

    text-align:
        center;
}


.ebooks-no-results i {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        70px;

    height:
        70px;

    margin-bottom:
        20px;

    border-radius:
        20px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    font-size:
        26px;
}


.ebooks-no-results h3 {
    color:
        var(--nmuc-navy);

    font-weight:
        800;
}


.ebooks-no-results p {
    color:
        var(--text-grey);
}



/* RESPONSIVE*/ 

@media (max-width: 991px) {

    .ebooks-sidebar {
        position:
            static;
    }


    .ebooks-main {
        padding:
            25px;
    }

}


@media (max-width: 767px) {

    .ebooks-page-hero {
        padding:
            65px 0;
    }


    .ebooks-search-wrapper {
        flex-wrap:
            wrap;

        padding:
            12px;
    }


    .ebooks-search-wrapper input {
        min-width:
            calc(100% - 40px);

        min-height:
            42px;
    }


    .ebooks-search-wrapper button {
        width:
            100%;
    }


    .ebooks-main-header {
        flex-direction:
            column;

        align-items:
            flex-start;
    }


    .ebooks-main-header h2 {
        font-size:
            28px;
    }


    .ebook-cover-wrapper {
        height:
            300px;
    }

}
/* PAST EXAM PAGE HERO */

.exam-page-hero {
    position: relative;
    padding: 85px 0 75px;

    background:
        linear-gradient(
            135deg,
            var(--nmuc-navy),
            #0b3458
        );

    overflow: hidden;
}

.exam-page-hero::before {
    content: "";

    position: absolute;

    width: 390px;
    height: 390px;

    top: -210px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(232, 109, 31, 0.14);
}

.exam-hero-content {
    position: relative;
    z-index: 2;

    max-width: 720px;
}

.exam-page-hero h1 {
    margin: 5px 0 18px;

    color: #ffffff;

    font-size: clamp(46px, 5vw, 70px);

    font-weight: 900;

    text-transform: uppercase;
}

.exam-page-hero p {
    max-width: 620px;

    margin: 0;

    color:
        rgba(255,255,255,.72);

    line-height: 1.75;
}


/* CONTENT */

.exam-content-section {
    padding: 70px 0 110px;

    background:
        #f7f8fa;
}


/* SEARCH */

.exam-search-wrapper {
    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 65px;

    padding:
        6px 7px 6px 22px;

    border-radius: 18px;

    background: #ffffff;

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow-soft);
}

.exam-search-wrapper > i {
    color:
        var(--nmuc-orange);

    font-size: 20px;
}

.exam-search-wrapper input {
    flex: 1;

    border: none;

    outline: none;

    background: transparent;

    font-size: 14px;
}

.exam-search-wrapper button {
    height: 51px;

    padding:
        0 28px;

    border: none;

    border-radius: 13px;

    background:
        var(--nmuc-orange);

    color: white;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    transition:
        .3s ease;
}

.exam-search-wrapper button:hover {
    background:
        var(--nmuc-orange-dark);

    transform:
        translateY(-2px);
}


/* SIDEBAR */

.exam-sidebar {
    position: sticky;
    top: 30px;

    padding: 28px;

    border-radius: 24px;

    background: white;

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow-soft);
}

.exam-filter-list {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.exam-filter {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding:
        13px 14px;

    border: none;

    border-radius: 12px;

    background: transparent;

    color:
        var(--text-dark);

    text-align: left;

    font-size: 13px;

    font-weight: 650;

    transition:
        .3s ease;
}

.exam-filter span {
    display: flex;

    align-items: center;

    gap: 10px;
}

.exam-filter:hover {
    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    transform:
        translateX(4px);
}

.exam-filter.active {
    background:
        var(--nmuc-navy);

    color:
        white;

    box-shadow:
        0 10px 22px
        rgba(7,28,51,.14);
}


/* MAIN PANEL */

.exam-main {
    padding: 32px;

    border-radius: 26px;

    background: white;

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow-soft);
}

.exam-main-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 32px;
}

.exam-main-header h2 {
    margin: 2px 0 0;

    color:
        var(--nmuc-navy);

    font-size: 34px;

    font-weight: 900;

    text-transform: uppercase;
}

.exam-result-count {
    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        11px 15px;

    border-radius: 13px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-navy);

    font-size: 12px;
}

.exam-result-count i {
    color:
        var(--nmuc-orange);
}


/* PAPER CARD */

.exam-card {
    position: relative;

    height: 100%;

    min-height: 330px;

    display: flex;

    flex-direction: column;

    padding: 25px;

    border-radius: 20px;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    box-shadow:
        0 8px 24px
        rgba(7,28,51,.06);

    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.exam-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--nmuc-orange),
            var(--nmuc-orange-dark)
        );

    transform:
        scaleX(0);

    transform-origin: left;

    transition:
        transform .35s ease;
}

.exam-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(232,109,31,.25);

    box-shadow:
        0 22px 45px
        rgba(7,28,51,.14);
}

.exam-card:hover::before {
    transform:
        scaleX(1);
}


/* TOP */

.exam-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 23px;
}

.exam-code {
    display: inline-flex;

    padding:
        8px 11px;

    border-radius: 10px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    font-size: 11px;

    font-weight: 850;

    letter-spacing: .4px;
}

.exam-pdf-icon {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        #fff3f1;

    color:
        #d93c32;

    font-size: 21px;

    transition:
        transform .3s ease;
}

.exam-card:hover .exam-pdf-icon {
    transform:
        scale(1.08)
        rotate(-4deg);
}


/* TITLE */

.exam-card h3 {
    color:
        var(--nmuc-navy);

    font-size: 17px;

    font-weight: 800;

    line-height: 1.45;

    margin-bottom: 20px;
}


/* META */

.exam-meta {
    display: flex;

    flex-direction: column;

    gap: 10px;

    color:
        var(--text-grey);

    font-size: 12px;
}

.exam-meta div {
    display: flex;

    align-items: flex-start;

    gap: 8px;
}

.exam-meta i {
    margin-top: 1px;

    color:
        var(--nmuc-orange);
}


/* ACTIONS */

.exam-actions {
    display: flex;

    gap: 10px;

    margin-top: auto;

    padding-top: 25px;
}

.exam-view-btn {
    flex: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 45px;

    border-radius: 11px;

    background:
        var(--nmuc-orange);

    color: white;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    transition:
        .3s ease;
}

.exam-view-btn:hover {
    background:
        var(--nmuc-orange-dark);

    color: white;

    transform:
        translateY(-2px);
}

.exam-download-btn {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 11px;

    background:
        var(--nmuc-navy);

    color: white;

    transition:
        .3s ease;
}

.exam-download-btn:hover {
    background:
        var(--nmuc-orange);

    color: white;

    transform:
        translateY(-2px);
}


/* NO RESULTS */

.exam-no-results {
    display: none;

    padding:
        80px 20px;

    text-align: center;
}

.exam-no-results i {
    width: 70px;
    height: 70px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 20px;

    background:
        var(--nmuc-orange-soft);

    color:
        var(--nmuc-orange);

    font-size: 28px;
}

.exam-no-results h3 {
    color:
        var(--nmuc-navy);

    font-weight: 800;
}

.exam-no-results p {
    color:
        var(--text-grey);
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .exam-sidebar {
        position: static;
    }

    .exam-main {
        padding: 25px;
    }
}


@media (max-width: 767px) {

    .exam-page-hero {
        padding:
            65px 0;
    }

    .exam-search-wrapper {
        flex-wrap: wrap;

        padding: 12px;
    }

    .exam-search-wrapper input {
        min-width:
            calc(100% - 40px);

        min-height: 42px;
    }

    .exam-search-wrapper button {
        width: 100%;
    }

    .exam-main-header {
        flex-direction: column;

        align-items: flex-start;
    }

    .exam-main-header h2 {
        font-size: 28px;
    }
}

/*  MICROSOFT 365 LOGIN PAGE */

.login-page {
    position: relative;

    min-height: calc(100vh - 190px);

    padding: 85px 0 110px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(239, 108, 24, 0.09),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f7f9fc 0%,
            #ffffff 100%
        );

    overflow: hidden;
}


/* Decorative shape */

.login-page::before {
    content: "";

    position: absolute;

    left: -110px;
    bottom: -110px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: #eef2f6;
}


/* WRAPPER */

.login-sso-wrapper {
    position: relative;

    z-index: 2;

    width: 100%;

    display: flex;
    justify-content: center;
}


/* LOGIN CARD */

.login-sso-card {
    width: 100%;
    max-width: 520px;

    padding: 44px 42px;

    background: #ffffff;

    border: 1px solid #e3e8ee;
    border-top: 4px solid #ef6c18;

    border-radius: 20px;

    box-shadow:
        0 18px 55px
        rgba(7, 29, 53, 0.10);

    text-align: center;
}


/* MICROSOFT ICON */

.login-sso-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    background: #fff0e7;

    border-radius: 15px;

    color: #ef6c18;

    font-size: 24px;
}


/* TEXT */

.login-sso-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #ef6c18;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.5px;
}


.login-sso-card h1 {
    margin: 0 0 12px;

    color: #071d35;

    font-size: 33px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -0.8px;
}


.login-sso-card > p {
    max-width: 400px;

    margin: 0 auto 28px;

    color: #6f7d90;

    font-size: 14px;

    line-height: 1.65;
}


/* MICROSOFT LOGIN BUTTON */

.login-sso-button {
    width: 100%;
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    padding: 0 22px;

    background: #ef6c18;

    border: 0;
    border-radius: 11px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 750;

    text-decoration: none;

    box-shadow:
        0 10px 25px
        rgba(239, 108, 24, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.login-sso-button:hover {
    background: #d95f11;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px
        rgba(239, 108, 24, 0.28);
}


.login-sso-button i {
    font-size: 18px;
}


/* ACCOUNT TYPES */

.login-sso-help {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    margin-top: 26px;
}


.login-sso-help > div {
    min-height: 92px;

    padding: 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #f8fafc;

    border: 1px solid #e7ebef;

    border-radius: 12px;
}


.login-sso-help i {
    margin-bottom: 7px;

    color: #ef6c18;

    font-size: 18px;
}


.login-sso-help span {
    display: block;

    margin-bottom: 3px;

    color: #7c8898;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}


.login-sso-help strong {
    color: #071d35;

    font-size: 12px;
    font-weight: 750;
}


/* OPTIONAL SECURITY NOTE */

.login-sso-note {
    margin-top: 22px;

    padding-top: 18px;

    border-top: 1px solid #edf1f4;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 7px;

    color: #8995a4;

    font-size: 11px;
}


.login-sso-note i {
    color: #ef6c18;
}


/* TABLET */

@media (max-width: 991px) {

    .login-page {
        padding: 70px 20px 90px;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .login-page {
        min-height: auto;

        padding: 50px 15px 70px;
    }


    .login-sso-card {
        padding: 34px 24px;

        border-radius: 16px;
    }


    .login-sso-card h1 {
        font-size: 28px;
    }


    .login-sso-help {
        grid-template-columns: 1fr;
    }

}
/* NMUC LIBRARY ADMIN DASHBOARD */

.admin-body {
    margin: 0;
    background: #f5f7fa;
    color: var(--text-dark, #111827);
    font-family:'Poppins', sans-serif;
}


/* MAIN LAYOUT */

.admin-layout {
    display: flex;
    min-height: 100vh;
}


/* SIDEBAR */

.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;

    width: 270px;
    height: 100vh;

    padding: 28px 22px;

    background:
        linear-gradient(
            180deg,
            #071c33 0%,
            #0b2947 100%
        );

    color: white;

    box-shadow:
        8px 0 35px rgba(7, 28, 51, 0.13);

    z-index: 1000;

    overflow-y: auto;
}


/* LOGO */

.admin-logo {
    display: flex;
    align-items: center;

    padding: 10px 5px 24px;

    border-bottom:
        1px solid rgba(255,255,255,.10);
}

.admin-logo img {
    width: 100%;
    max-width: 210px;
    height: auto;

    object-fit: contain;

    background: transparent;

    padding: 10px;

    border-radius: 16px;
}


/* SIDEBAR TITLE */

.admin-sidebar-title {
    margin:
        24px 8px 14px;
}

.admin-sidebar-title span {
    color:
        rgba(255,255,255,.45);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


/* MENU */

.admin-menu {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.admin-menu a {
    display: flex;
    align-items: center;

    gap: 13px;

    padding:
        13px 15px;

    border-radius: 13px;

    color:
        rgba(255,255,255,.75);

    font-size: 13px;

    font-weight: 650;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.admin-menu a i {
    width: 21px;

    color:
        rgba(255,255,255,.55);

    font-size: 17px;

    transition:
        color .25s ease,
        transform .25s ease;
}


.admin-menu a:hover {
    background:
        rgba(255,255,255,.08);

    color: white;

    transform:
        translateX(4px);
}

.admin-menu a:hover i {
    color:
        var(--nmuc-orange, #e86d1f);

    transform:
        scale(1.08);
}


.admin-menu a.active {
    background:
        linear-gradient(
            135deg,
            var(--nmuc-orange, #e86d1f),
            var(--nmuc-orange-dark, #cc5710)
        );

    color: white;

    box-shadow:
        0 10px 24px
        rgba(232,109,31,.20);
}

.admin-menu a.active i {
    color: white;
}


.admin-menu-divider {
    height: 1px;

    margin:
        18px 8px;

    background:
        rgba(255,255,255,.10);
}


/* MAIN CONTENT */

.admin-main {
    width: calc(100% - 270px);

    min-height: 100vh;

    margin-left: 270px;

    background:
        #f5f7fa;
}


/* TOPBAR */

.admin-topbar {
    position: sticky;
    top: 0;

    z-index: 900;

    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding:
        18px 35px;

    background:
        rgba(255,255,255,.94);

    backdrop-filter:
        blur(14px);

    border-bottom:
        1px solid #e8ebef;

    box-shadow:
        0 5px 25px rgba(7,28,51,.04);
}


.admin-topbar > div:first-child span {
    display: block;

    color:
        var(--nmuc-orange, #e86d1f);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


.admin-topbar h1 {
    margin:
        3px 0 0;

    color:
        var(--nmuc-navy, #071c33);

    font-size: 27px;

    font-weight: 850;
}


/* PROFILE */

.admin-profile {
    display: flex;
    align-items: center;

    gap: 12px;

    padding:
        9px 13px;

    border-radius: 15px;

    background:
        #f8fafc;

    border:
        1px solid #e7eaf0;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.admin-profile:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px rgba(7,28,51,.08);
}


.admin-profile-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        var(--nmuc-orange-soft, #fff1e8);

    color:
        var(--nmuc-orange, #e86d1f);

    font-size: 18px;
}


.admin-profile > div:last-child {
    display: flex;
    flex-direction: column;
}

.admin-profile strong {
    color:
        var(--nmuc-navy, #071c33);

    font-size: 13px;
}

.admin-profile span {
    color:
        #7a8491;

    font-size: 10px;
}


/* CONTENT WRAPPER */

.admin-content {
    padding:
        35px;
}


/* WELCOME PANEL */

.admin-welcome {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom:
        30px;

    padding:
        34px 38px;

    border-radius:
        24px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #071c33,
            #123f6d
        );

    color: white;

    box-shadow:
        0 18px 45px
        rgba(7,28,51,.14);
}


.admin-welcome::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    top: -110px;
    right: -60px;

    border-radius: 50%;

    background:
        rgba(232,109,31,.16);
}


.admin-welcome::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    bottom: -80px;
    right: 130px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.05);
}


.admin-welcome > div {
    position: relative;
    z-index: 2;
}


.admin-welcome span {
    display: block;

    margin-bottom: 7px;

    color:
        var(--nmuc-orange, #e86d1f);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.4px;
}


.admin-welcome h2 {
    margin:
        0 0 8px;

    font-size: 34px;

    font-weight: 850;
}


.admin-welcome p {
    margin: 0;

    color:
        rgba(255,255,255,.72);

    font-size: 14px;
}


.admin-welcome > i {
    position: relative;
    z-index: 2;

    font-size: 72px;

    color:
        rgba(255,255,255,.12);
}


/* STAT CARDS */

.admin-stat-card {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 18px;

    padding:
        24px;

    border-radius:
        20px;

    background:
        white;

    border:
        1px solid #e4e8ed;

    box-shadow:
        0 8px 25px rgba(7,28,51,.05);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.admin-stat-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(232,109,31,.22);

    box-shadow:
        0 20px 45px rgba(7,28,51,.12);
}


.admin-stat-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius:
        17px;

    font-size:
        24px;

    transition:
        transform .3s ease;
}


.admin-stat-card:hover .admin-stat-icon {
    transform:
        scale(1.07)
        rotate(-3deg);
}


.admin-stat-icon.orange {
    background:
        var(--nmuc-orange-soft, #fff1e8);

    color:
        var(--nmuc-orange, #e86d1f);
}


.admin-stat-icon.navy {
    background:
        #e9f0f6;

    color:
        var(--nmuc-navy, #071c33);
}


.admin-stat-card > div:last-child {
    display: flex;
    flex-direction: column;
}


.admin-stat-card span {
    color:
        #7a8491;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .5px;
}


.admin-stat-card strong {
    margin-top:
        3px;

    color:
        var(--nmuc-navy, #071c33);

    font-size:
        30px;

    font-weight: 850;
}


/* SECTION HEADER */

.admin-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin:
        40px 0 20px;
}


.admin-section-header span {
    display: block;

    color:
        var(--nmuc-orange, #e86d1f);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.3px;
}


.admin-section-header h2 {
    margin:
        4px 0 0;

    color:
        var(--nmuc-navy, #071c33);

    font-size: 25px;

    font-weight: 850;
}


/* QUICK ACTION CARDS */

.admin-action-card {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 18px;

    padding:
        24px;

    border-radius:
        20px;

    background:
        white;

    border:
        1px solid #e4e8ed;

    box-shadow:
        0 8px 25px rgba(7,28,51,.05);

    color:
        var(--text-dark, #111827);

    text-decoration: none;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.admin-action-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(232,109,31,.25);

    box-shadow:
        0 20px 45px rgba(7,28,51,.12);

    color:
        var(--text-dark, #111827);
}


.admin-action-card > div:first-child {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius:
        16px;

    background:
        var(--nmuc-orange-soft, #fff1e8);

    color:
        var(--nmuc-orange, #e86d1f);

    font-size:
        23px;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}


.admin-action-card:hover > div:first-child {
    transform:
        scale(1.06)
        rotate(-3deg);

    background:
        var(--nmuc-orange, #e86d1f);

    color:
        white;
}


.admin-action-card section {
    flex: 1;
}


.admin-action-card h3 {
    margin:
        0 0 5px;

    color:
        var(--nmuc-navy, #071c33);

    font-size:
        17px;

    font-weight:
        800;
}


.admin-action-card p {
    margin: 0;

    color:
        #7a8491;

    font-size:
        12px;

    line-height:
        1.5;
}


.admin-action-card > i:last-child {
    color:
        var(--nmuc-orange, #e86d1f);

    font-size:
        19px;

    transition:
        transform .3s ease;
}


.admin-action-card:hover > i:last-child {
    transform:
        translateX(5px);
}


/* SCROLLBAR */

.admin-sidebar::-webkit-scrollbar {
    width: 5px;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background:
        rgba(255,255,255,.15);

    border-radius:
        50px;
}


/*  RESPONSIVE */

@media (max-width: 991px) {

    .admin-sidebar {
        position: relative;

        width: 100%;
        height: auto;

        padding:
            20px;
    }


    .admin-layout {
        flex-direction:
            column;
    }


    .admin-main {
        width: 100%;

        margin-left: 0;
    }


    .admin-menu {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);
    }


    .admin-menu-divider {
        display: none;
    }


    .admin-topbar {
        position: relative;

        padding:
            18px 22px;
    }


    .admin-content {
        padding:
            25px 20px;
    }

}


@media (max-width: 767px) {

    .admin-topbar {
        align-items:
            flex-start;

        flex-direction:
            column;
    }


    .admin-profile {
        width: 100%;
    }


    .admin-welcome {
        padding:
            28px 25px;
    }


    .admin-welcome h2 {
        font-size:
            27px;
    }


    .admin-welcome > i {
        display: none;
    }


    .admin-menu {
        grid-template-columns:
            1fr;
    }

}


@media (max-width: 576px) {

    .admin-sidebar {
        padding:
            16px;
    }


    .admin-logo img {
        max-width:
            180px;
    }


    .admin-content {
        padding:
            20px 15px;
    }


    .admin-welcome {
        border-radius:
            20px;
    }


    .admin-stat-card,
    .admin-action-card {
        border-radius:
            17px;
    }

}
/* ADMIN PROFILE DROPDOWN */

.admin-profile-select {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    max-width: 320px;

    background: #0d2e4e;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;

    padding: 0 16px;

    box-shadow:
        0 8px 25px rgba(7, 28, 51, 0.14);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* Person icon */

.admin-profile-select > .bi-person-circle {
    color: #f26b1d;

    font-size: 22px;

    margin-right: 10px;

    flex-shrink: 0;
}


/* SELECT */

.admin-profile-select select {
    width: 100%;

    padding: 14px 35px 14px 0;

    border: none;
    outline: none;

    background: transparent;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}


/* Dropdown options */

.admin-profile-select select option {
    background: #ffffff;
    color: #071c33;

    font-weight: 500;
}


/* Custom arrow */

.admin-select-arrow {
    position: absolute;

    right: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: #ffffff;

    font-size: 13px;

    pointer-events: none;

    transition: transform 0.25s ease;
}


/* Hover */

.admin-profile-select:hover {
    transform: translateY(-2px);

    border-color: rgba(242, 107, 29, 0.6);

    box-shadow:
        0 12px 30px rgba(7, 28, 51, 0.20);
}


/* Focus */

.admin-profile-select:focus-within {
    border-color: #f26b1d;

    box-shadow:
        0 0 0 4px rgba(242, 107, 29, 0.12),
        0 12px 30px rgba(7, 28, 51, 0.18);
}
/* ADMIN SIDEBAR DROPDOWN MENU */

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}


/* NORMAL MENU LINKS */

.admin-menu-link,
.admin-menu-dropdown {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 13px 15px;

    border: none;
    border-radius: 13px;

    background: transparent;

    color: rgba(255,255,255,.75);

    font-size: 13px;
    font-weight: 650;

    text-align: right;

    cursor: pointer;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}


.admin-menu-link:hover,
.admin-menu-dropdown:hover {
    background:
        rgba(255,255,255,.08);

    color: #ffffff;

    transform: translateX(3px);
}


/* ACTIVE */

.admin-menu-link.active {
    background:
        linear-gradient(
            135deg,
            var(--nmuc-orange),
            var(--nmuc-orange-dark)
        );

    color: #ffffff;

    box-shadow:
        0 10px 25px
        rgba(232,109,31,.22);
}


/* LEFT SIDE */

.admin-menu-left {
    display: flex;
    align-items: center;

    gap: 13px;
}


.admin-menu-link > i,
.admin-menu-left > i {
    width: 20px;

    color:
        rgba(255,255,255,.6);

    font-size: 17px;

    transition:
        color .25s ease,
        transform .25s ease;
}


.admin-menu-link:hover > i,
.admin-menu-dropdown:hover .admin-menu-left > i {
    color:
        var(--nmuc-orange);

    transform:
        scale(1.08);
}


.admin-menu-link.active > i {
    color: #ffffff;
}


/*  DROPDOWN CHEVRON */

.admin-menu-chevron {
    color:
        rgba(255,255,255,.45);

    font-size: 12px;

    transition:
        transform .3s ease,
        color .3s ease;
}


.admin-menu-dropdown.active .admin-menu-chevron {
    transform: rotate(180deg);

    color:
        var(--nmuc-orange);
}


/* SUBMENU */

.admin-submenu {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    margin-left: 11px;

    transition:
        max-height .35s ease,
        opacity .25s ease,
        margin .25s ease;
}


.admin-submenu.show {
    max-height: 200px;

    opacity: 1;

    margin-top: 6px;
    margin-bottom: 7px;
}


/* submenu line */

.admin-submenu {
    position: relative;

    padding-left: 18px;
}


.admin-submenu::before {
    content: "";

    position: absolute;

    top: 3px;
    bottom: 3px;
    left: 2px;

    width: 2px;

    border-radius: 30px;

    background:
        rgba(255,255,255,.09);
}


/* submenu links */

.admin-submenu a {
    position: relative;

    display: flex;
    align-items: center;

    gap: 10px;

    padding:
        10px 13px;

    margin-bottom: 4px;

    border-radius: 10px;

    color:
        rgba(255,255,255,.62);

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}


.admin-submenu a i {
    color:
        rgba(255,255,255,.42);

    font-size: 13px;
}


.admin-submenu a:hover {
    background:
        rgba(255,255,255,.07);

    color:
        #ffffff;

    transform:
        translateX(3px);
}


.admin-submenu a:hover i {
    color:
        var(--nmuc-orange);
}


/* ACTIVE SUBMENU */

.admin-submenu a.active {
    background:
        rgba(232,109,31,.14);

    color:
        var(--nmuc-orange);
}


.admin-submenu a.active i {
    color:
        var(--nmuc-orange);
}


/* DIVIDER */

.admin-menu-divider {
    height: 1px;

    margin:
        18px 8px;

    background:
        rgba(255,255,255,.10);
}


/* LOGOUT */

.admin-logout-link:hover {
    background:
        rgba(220,53,69,.10);

    color:
        #ff9aa4;
}


.admin-logout-link:hover > i {
    color:
        #ff6b77;
}

/* ADMIN RESOURCE LIST PAGE */

.admin-list-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 25px;
}


.admin-list-eyebrow {
    display: block;

    margin-bottom: 6px;

    color:
        var(--nmuc-orange, #e86d1f);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


.admin-list-header h2 {
    margin: 0 0 7px;

    color:
        var(--nmuc-navy, #071c33);

    font-size: 31px;

    font-weight: 850;
}


.admin-list-header p {
    margin: 0;

    color: #7b8490;

    font-size: 13px;
}



/* ADD BUTTON */

.admin-add-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 46px;

    padding:
        0 19px;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--nmuc-orange, #e86d1f),
            var(--nmuc-orange-dark, #cc5710)
        );

    color: white;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    text-decoration: none;

    box-shadow:
        0 10px 24px
        rgba(232,109,31,.22);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.admin-add-button:hover {
    color: white;

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 30px
        rgba(232,109,31,.3);
}



/*  TOOLBAR */ 

.admin-list-toolbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 20px;
}


/* COUNT */

.admin-list-count {
    display: flex;

    align-items: center;

    gap: 13px;
}


.admin-list-count > div {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        var(--nmuc-orange-soft, #fff1e8);

    color:
        var(--nmuc-orange, #e86d1f);

    font-size: 20px;
}


.admin-list-count > span {
    display: flex;

    flex-direction: column;

    color: #7b8490;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;
}


.admin-list-count strong {
    color:
        var(--nmuc-navy, #071c33);

    font-size: 20px;

    line-height: 1.1;
}



/* SEARCH */

.admin-table-search {
    position: relative;

    width: 100%;
    max-width: 360px;
}


.admin-table-search i {
    position: absolute;

    left: 16px;
    top: 50%;

    transform:
        translateY(-50%);

    color: #98a2b3;

    font-size: 16px;
}


.admin-table-search input {
    width: 100%;

    height: 47px;

    padding:
        0 16px 0 44px;

    border:
        1px solid #e1e5ea;

    border-radius: 13px;

    outline: none;

    background: white;

    color:
        var(--nmuc-navy, #071c33);

    font-size: 13px;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}


.admin-table-search input:focus {
    border-color:
        var(--nmuc-orange, #e86d1f);

    box-shadow:
        0 0 0 4px
        rgba(232,109,31,.09);
}



/* TABLE CARD */

.admin-table-card {
    position: relative;

    overflow: hidden;

    border-radius: 22px;

    background: white;

    border:
        1px solid #e4e8ed;

    box-shadow:
        0 10px 32px
        rgba(7,28,51,.06);
}



/* TABLE */

.admin-resource-table {
    width: 100%;

    margin: 0;

    border-collapse: collapse;
}


.admin-resource-table thead {
    background:
        #f8fafc;
}


.admin-resource-table th {
    padding:
        16px 18px;

    border-bottom:
        1px solid #e7eaf0;

    color: #7b8490;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .7px;

    white-space: nowrap;
}


.admin-resource-table td {
    padding:
        17px 18px;

    border-bottom:
        1px solid #edf0f3;

    vertical-align: middle;
}


.admin-resource-table tbody tr {
    transition:
        background .25s ease;
}


.admin-resource-table tbody tr:hover {
    background:
        #fcfcfd;
}


.admin-resource-table tbody tr:last-child td {
    border-bottom: none;
}



/* COVER */

.admin-book-cover {
    width: 58px;
    height: 78px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.admin-book-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 8px;

    box-shadow:
        0 7px 15px
        rgba(7,28,51,.14);
}


.admin-cover-placeholder {
    width: 58px;
    height: 78px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            var(--nmuc-navy, #071c33),
            #144b78
        );

    color:
        rgba(255,255,255,.8);

    font-size: 21px;
}



/* BOOK INFORMATION */

.admin-book-info {
    min-width: 220px;

    display: flex;

    flex-direction: column;
}


.admin-book-info strong {
    max-width: 330px;

    color:
        var(--nmuc-navy, #071c33);

    font-size: 13px;

    font-weight: 800;

    line-height: 1.45;
}


.admin-book-info span {
    margin-top: 4px;

    color: #737d89;

    font-size: 11px;
}


.admin-book-info small {
    margin-top: 4px;

    color: #a0a7af;

    font-size: 9px;
}



/* PROGRAMME */

.admin-programme-badge {
    display: inline-flex;

    max-width: 190px;

    padding:
        7px 10px;

    border-radius: 9px;

    background:
        #f1f4f7;

    color:
        #475467;

    font-size: 10px;

    font-weight: 700;

    line-height: 1.35;
}


.admin-empty-text {
    color: #c2c7cd;
}



/*  STATUS */

.admin-status-badge {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding:
        7px 10px;

    border-radius: 50px;

    font-size: 10px;

    font-weight: 750;

    text-transform: capitalize;
}


.admin-status-badge > span {
    width: 6px;
    height: 6px;

    border-radius: 50%;
}


.admin-status-badge.published {
    background: #ecfdf3;

    color: #027a48;
}


.admin-status-badge.published > span {
    background: #12b76a;
}


.admin-status-badge.draft {
    background: #f2f4f7;

    color: #667085;
}


.admin-status-badge.draft > span {
    background: #98a2b3;
}



/*  DATE */

.admin-date {
    color: #737d89;

    font-size: 11px;

    white-space: nowrap;
}



/* ACTIONS */

.admin-table-actions {
    display: flex;

    justify-content: flex-end;

    gap: 7px;
}


.admin-action-btn {
    width: 36px;
    height: 36px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        box-shadow .25s ease;
}


.admin-action-btn:hover {
    transform:
        translateY(-2px);
}


.admin-action-btn.view {
    background: #eef6ff;

    color: #2468a2;
}


.admin-action-btn.view:hover {
    background: #2468a2;

    color: white;

    box-shadow:
        0 7px 15px
        rgba(36,104,162,.18);
}


.admin-action-btn.edit {
    background:
        var(--nmuc-orange-soft, #fff1e8);

    color:
        var(--nmuc-orange, #e86d1f);
}


.admin-action-btn.edit:hover {
    background:
        var(--nmuc-orange, #e86d1f);

    color: white;

    box-shadow:
        0 7px 15px
        rgba(232,109,31,.2);
}


.admin-action-btn.delete {
    background: #fff1f1;

    color: #d92d20;
}


.admin-action-btn.delete:hover {
    background: #d92d20;

    color: white;

    box-shadow:
        0 7px 15px
        rgba(217,45,32,.18);
}



/* EMPTY TABLE */

.admin-empty-table {
    padding:
        70px 20px !important;

    text-align: center;
}


.admin-empty-table > div {
    display: flex;

    flex-direction: column;

    align-items: center;
}


.admin-empty-table > div > i {
    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 18px;

    background:
        var(--nmuc-orange-soft, #fff1e8);

    color:
        var(--nmuc-orange, #e86d1f);

    font-size: 26px;
}


.admin-empty-table h3 {
    color:
        var(--nmuc-navy, #071c33);

    font-size: 18px;

    font-weight: 800;
}


.admin-empty-table p {
    margin-bottom: 20px;

    color: #7b8490;

    font-size: 12px;
}



/* SEARCH EMPTY */

.admin-search-empty {
    display: none;

    min-height: 260px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;
}


.admin-search-empty > i {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 16px;

    background:
        var(--nmuc-orange-soft, #fff1e8);

    color:
        var(--nmuc-orange, #e86d1f);

    font-size: 22px;
}


.admin-search-empty h3 {
    color:
        var(--nmuc-navy, #071c33);

    font-size: 17px;

    font-weight: 800;
}


.admin-search-empty p {
    color: #7b8490;

    font-size: 12px;
}



/* RESPONSIVE */

@media (max-width: 991px) {

    .admin-list-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .admin-list-toolbar {
        align-items: flex-start;

        flex-direction: column;
    }


    .admin-table-search {
        max-width: 100%;
    }

}


@media (max-width: 576px) {

    .admin-list-header h2 {
        font-size: 25px;
    }


    .admin-add-button {
        width: 100%;
    }

}
/*  ADMIN ADD RESOURCE FORM */

.admin-form-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}

.admin-form-page-header > div > span {
    color: var(--nmuc-orange);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.admin-form-page-header h2 {
    margin: 4px 0 7px;

    color: var(--nmuc-navy);

    font-size: 31px;
    font-weight: 850;
}

.admin-form-page-header p {
    max-width: 650px;

    margin: 0;

    color: #7a8491;

    font-size: 13px;
    line-height: 1.6;
}


/* BACK BUTTON */

.admin-back-button {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    min-height: 44px;

    padding: 0 16px;

    border: 1px solid #e1e5ea;

    border-radius: 12px;

    background: white;

    color: var(--nmuc-navy);

    font-size: 11px;
    font-weight: 750;

    text-decoration: none;

    transition: .25s ease;
}

.admin-back-button:hover {
    border-color: var(--nmuc-orange);

    color: var(--nmuc-orange);

    transform: translateY(-2px);
}


/*  FORM CARD */

.admin-form-card {
    margin-bottom: 24px;

    padding: 28px;

    border: 1px solid #e4e8ed;

    border-radius: 22px;

    background: white;

    box-shadow:
        0 8px 28px rgba(7,28,51,.055);
}

.admin-form-side-card {
    position: relative;
}


/* HEADER */

.admin-form-card-header {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 25px;

    padding-bottom: 19px;

    border-bottom: 1px solid #edf0f3;
}

.admin-form-header-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    background: var(--nmuc-orange-soft);

    color: var(--nmuc-orange);

    font-size: 19px;
}

.admin-form-card-header span {
    display: block;

    color: #9299a2;

    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;

    letter-spacing: .8px;
}

.admin-form-card-header h3 {
    margin: 2px 0 0;

    color: var(--nmuc-navy);

    font-size: 17px;
    font-weight: 800;
}


/* FORM FIELDS */

.admin-form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--nmuc-navy);

    font-size: 12px;
    font-weight: 750;
}

.admin-form-group label > span {
    color: var(--nmuc-orange);
}

.admin-form-control {
    width: 100%;

    min-height: 49px;

    padding: 0 14px;

    border: 1px solid #dfe4e9;

    border-radius: 12px;

    outline: none;

    background: #fafbfc;

    color: var(--nmuc-navy);

    font-size: 13px;

    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.admin-form-control:focus {
    border-color: var(--nmuc-orange);

    background: white;

    box-shadow:
        0 0 0 4px rgba(232,109,31,.09);
}

.admin-textarea {
    padding: 14px;

    min-height: 130px;

    resize: vertical;
}

.admin-form-help {
    display: block;

    margin-top: 7px;

    color: #9299a2;

    font-size: 10px;
}


/* INPUT ICON */

.admin-input-icon {
    position: relative;
}

.admin-input-icon > i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #98a2b3;
}

.admin-input-icon .admin-form-control {
    padding-left: 42px;
}


/* FILE UPLOAD */

.admin-file-upload input {
    display: none;
}

.admin-file-upload > label {
    min-height: 90px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 18px;

    border: 1.5px dashed #d9dee4;

    border-radius: 15px;

    background: #fafbfc;

    cursor: pointer;

    transition: .25s ease;
}

.admin-file-upload > label:hover {
    border-color: var(--nmuc-orange);

    background: var(--nmuc-orange-soft);
}

.admin-file-upload > label > div {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    background: #fff0ec;

    color: #d92d20;

    font-size: 20px;
}

.admin-file-upload section {
    flex: 1;

    display: flex;
    flex-direction: column;
}

.admin-file-upload section strong {
    color: var(--nmuc-navy);

    font-size: 12px;
}

.admin-file-upload section span {
    margin-top: 3px;

    color: #9299a2;

    font-size: 10px;
}

.admin-file-upload > label > i {
    color: var(--nmuc-orange);

    font-size: 17px;
}


/* OR DIVIDER */

.admin-form-separator {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #a3a9b0;

    font-size: 9px;
    font-weight: 800;
}

.admin-form-separator::before,
.admin-form-separator::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #e7eaee;
}


/* COVER UPLOAD */

.admin-cover-upload {
    text-align: center;
}

.admin-cover-preview {
    width: 185px;
    height: 255px;

    margin:
        0 auto 18px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 7px;

    overflow: hidden;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #f5f7f9,
            #edf1f4
        );

    border: 1px solid #e1e5ea;

    color: #a0a7af;
}

.admin-cover-preview > i {
    font-size: 29px;
}

.admin-cover-preview > span {
    font-size: 10px;
}

.admin-cover-preview img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.admin-cover-upload > input {
    display: none;
}

.admin-upload-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;

    min-height: 43px;

    border-radius: 11px;

    background: var(--nmuc-navy);

    color: white;

    font-size: 11px;
    font-weight: 750;

    cursor: pointer;

    transition: .25s ease;
}

.admin-upload-button:hover {
    background: var(--nmuc-orange);
}

.admin-cover-upload > small {
    display: block;

    margin-top: 9px;

    color: #9299a2;

    font-size: 9px;
}


/* PUBLISH NOTE */

.admin-publish-note {
    display: flex;

    gap: 10px;

    margin-top: 18px;

    padding: 13px;

    border-radius: 11px;

    background: #f7f9fb;

    color: #69727d;
}

.admin-publish-note > i {
    flex-shrink: 0;

    color: var(--nmuc-orange);
}

.admin-publish-note p {
    margin: 0;

    font-size: 10px;
    line-height: 1.55;
}


/* SAVE / CANCEL*/

.admin-save-button {
    width: 100%;

    min-height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 20px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--nmuc-orange),
            var(--nmuc-orange-dark)
        );

    color: white;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    box-shadow:
        0 10px 22px
        rgba(232,109,31,.22);

    cursor: pointer;

    transition: .25s ease;
}

.admin-save-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 30px
        rgba(232,109,31,.29);
}

.admin-cancel-button {
    width: 100%;

    min-height: 43px;

    margin-top: 9px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #7c8590;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;
}

.admin-cancel-button:hover {
    color: var(--nmuc-orange);
}


/* ERROR ALERT */

.admin-form-alert {
    display: flex;

    gap: 14px;

    margin-bottom: 25px;

    padding: 17px;

    border-radius: 14px;
}

.admin-form-alert.error {
    border: 1px solid #fecaca;

    background: #fff4f4;

    color: #b42318;
}

.admin-form-alert > div {
    font-size: 21px;
}

.admin-form-alert section strong {
    font-size: 12px;
}

.admin-form-alert ul {
    margin:
        6px 0 0;

    padding-left: 18px;

    font-size: 11px;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .admin-form-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-back-button {
        align-self: flex-start;
    }

}


@media (max-width: 576px) {

    .admin-form-card {
        padding: 22px 18px;

        border-radius: 18px;
    }

    .admin-form-page-header h2 {
        font-size: 25px;
    }

}

/* PROGRAMME CHECKBOXES */

.admin-programme-checkbox-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.admin-programme-checkbox {
    position: relative;

    display: flex !important;
    align-items: center;
    gap: 13px;

    min-height: 70px;

    margin: 0 !important;

    padding: 14px 16px;

    background: #f9fafc;

    border: 1px solid #dfe5eb;
    border-radius: 14px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-programme-checkbox:hover {
    background: #ffffff;

    border-color: #f36f21;

    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(7, 28, 51, 0.07);
}


/* HIDE DEFAULT CHECKBOX */

.admin-programme-checkbox input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


/* CUSTOM CHECKBOX */

.admin-checkbox-ui {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    background: #ffffff;

    border: 2px solid #ccd5df;
    border-radius: 7px;

    color: transparent;

    transition: all 0.2s ease;
}

.admin-checkbox-ui i {
    font-size: 14px;
    font-weight: bold;
}


/* CHECKED STATE */

.admin-programme-checkbox input:checked
+ .admin-checkbox-ui {
    background: #f36f21;

    border-color: #f36f21;

    color: #ffffff;

    box-shadow:
        0 4px 10px rgba(243, 111, 33, 0.25);
}

.admin-programme-checkbox:has(input:checked) {
    background: #fff8f3;

    border-color: #f36f21;
}


/* PROGRAMME TEXT */

.admin-programme-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-programme-content strong {
    color: #10253d;

    font-size: 13px;
    font-weight: 750;
}

.admin-programme-content small {
    color: #8b96a5;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.8px;
}
/* NMUC ADMIN — PAST EXAM PAPER PAGE */


/* SUMMARY CARDS */

.exam-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 24px;
}


.exam-summary-card {
    display: flex;
    align-items: center;

    gap: 16px;

    min-height: 100px;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #e2e8ef;
    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(7, 28, 51, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.exam-summary-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(232, 109, 31, 0.25);

    box-shadow:
        0 16px 35px rgba(7, 28, 51, 0.09);
}


.exam-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    flex-shrink: 0;

    border-radius: 15px;

    font-size: 21px;
}


.exam-summary-icon.navy {
    background: #e9f0f6;
    color: #071c33;
}


.exam-summary-icon.green {
    background: #eafaf2;
    color: #12805c;
}


.exam-summary-icon.orange {
    background: #fff1e8;
    color: #e86d1f;
}


.exam-summary-card > div:last-child {
    display: flex;
    flex-direction: column;
}


.exam-summary-card span {
    color: #88929f;

    font-size: 10px;
    font-weight: 750;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.exam-summary-card strong {
    margin-top: 3px;

    color: #071c33;

    font-size: 27px;
    font-weight: 850;
}


/* FILTER CARD */

.exam-filter-card {
    display: grid;

    grid-template-columns:
        minmax(280px, 1fr)
        minmax(180px, 240px)
        minmax(150px, 190px)
        auto
        auto;

    gap: 11px;

    align-items: center;

    margin-bottom: 20px;

    padding: 16px;

    background: #ffffff;

    border: 1px solid #e2e8ef;
    border-radius: 17px;

    box-shadow:
        0 8px 24px rgba(7, 28, 51, 0.045);
}


/* SEARCH */

.exam-filter-search,
.exam-filter-select {
    position: relative;
}


.exam-filter-search > i,
.exam-filter-select > i {
    position: absolute;

    top: 50%;
    left: 15px;

    transform: translateY(-50%);

    color: #909ba8;

    font-size: 15px;

    pointer-events: none;
}


.exam-filter-search input,
.exam-filter-select select {
    width: 100%;

    height: 45px;

    padding:
        0 14px 0 42px;

    background: #f9fafc;

    border: 1px solid #dfe5eb;
    border-radius: 12px;

    outline: none;

    color: #071c33;

    font-size: 12px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.exam-filter-search input::placeholder {
    color: #98a2b3;
}


.exam-filter-search input:focus,
.exam-filter-select select:focus {
    background: #ffffff;

    border-color: #e86d1f;

    box-shadow:
        0 0 0 4px
        rgba(232, 109, 31, 0.09);
}


.exam-filter-select select {
    cursor: pointer;
}


/* FILTER BUTTON */

.exam-filter-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    height: 45px;

    padding: 0 17px;

    border: none;
    border-radius: 12px;

    background: #071c33;

    color: #ffffff;

    font-size: 11px;
    font-weight: 750;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.exam-filter-button:hover {
    background: #0d2e4e;

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(7, 28, 51, 0.16);
}


/* RESET */

.exam-reset-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    height: 45px;

    padding: 0 15px;

    border: 1px solid #dfe5eb;
    border-radius: 12px;

    background: #ffffff;

    color: #667085;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.exam-reset-button:hover {
    transform: translateY(-2px);

    border-color: #e86d1f;

    color: #e86d1f;
}


/* TABLE */

.exam-table-card {
    overflow: hidden;
}


.exam-paper-table th:first-child {
    min-width: 320px;
}


.exam-paper-table th:nth-child(2) {
    min-width: 210px;
}


.exam-paper-table td {
    vertical-align: middle;
}


/* EXAM PAPER TITLE */

.exam-paper-title-cell {
    display: flex;
    align-items: center;

    gap: 14px;
}


.exam-paper-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    border-radius: 13px;

    background: #fff1e8;

    color: #e86d1f;

    font-size: 19px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}


.exam-paper-table tbody tr:hover
.exam-paper-icon {
    transform: scale(1.06);

    background: #e86d1f;

    color: #ffffff;
}


.exam-paper-title-cell > div:last-child {
    display: flex;
    flex-direction: column;

    min-width: 0;
}


.exam-subject-code {
    display: block;

    margin-bottom: 3px;

    color: #e86d1f;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


.exam-paper-title-cell strong {
    max-width: 370px;

    color: #071c33;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.45;
}


/*PROGRAMME BADGE */

.exam-programme-badge {
    display: inline-block;

    max-width: 240px;

    padding: 8px 11px;

    border-radius: 10px;

    background: #f1f5f8;

    color: #465467;

    font-size: 10px;
    font-weight: 700;

    line-height: 1.45;
}


/*  DOWNLOAD BUTTON */

.admin-action-btn.download {
    background: #eef8f4;

    color: #16815d;
}


.admin-action-btn.download:hover {
    background: #16815d;

    color: #ffffff;

    box-shadow:
        0 7px 15px
        rgba(22, 129, 93, 0.18);
}


/* SEARCH CLEAR */

.admin-search-clear {
    position: absolute;

    top: 50%;
    right: 13px;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 8px;

    color: #98a2b3;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.admin-search-clear:hover {
    background: #fff1e8;

    color: #e86d1f;
}


/* RESPONSIVE */

@media (max-width: 1200px) {

    .exam-filter-card {
        grid-template-columns:
            1fr 1fr;
    }

    .exam-filter-search {
        grid-column:
            1 / -1;
    }

}


@media (max-width: 991px) {

    .exam-summary-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


@media (max-width: 767px) {

    .exam-summary-grid {
        grid-template-columns:
            1fr;
    }


    .exam-filter-card {
        grid-template-columns:
            1fr;
    }


    .exam-filter-search {
        grid-column:
            auto;
    }


    .exam-filter-button,
    .exam-reset-button {
        width: 100%;
    }

}
/* NMUC ADMIN — ADD EXAM PAPER */


/*  PDF UPLOAD AREA */

.paper-upload-area {
    position: relative;
}


.paper-upload-area input[type="file"] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


.paper-upload-area > label {
    display: flex;
    align-items: center;

    gap: 17px;

    min-height: 115px;

    margin: 0;

    padding: 22px;

    background:
        linear-gradient(
            135deg,
            #fafbfd,
            #f5f8fa
        );

    border:
        1.5px dashed #cfd8e1;

    border-radius: 17px;

    cursor: pointer;

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


.paper-upload-area > label:hover {
    transform:
        translateY(-3px);

    background:
        #fff8f3;

    border-color:
        #e86d1f;

    box-shadow:
        0 12px 28px
        rgba(7,28,51,.07);
}


/* PDF ICON */

.paper-upload-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 60px;

    border-radius: 16px;

    background:
        #fff0ed;

    color:
        #d92d20;

    font-size: 26px;

    transition:
        transform .25s ease;
}


.paper-upload-area > label:hover
.paper-upload-icon {
    transform:
        rotate(-4deg)
        scale(1.05);
}


/* COPY */

.paper-upload-copy {
    flex: 1;

    display: flex;
    flex-direction: column;

    min-width: 0;
}


.paper-upload-copy strong {
    color:
        #071c33;

    font-size: 14px;

    font-weight: 800;
}


.paper-upload-copy span {
    display: block;

    margin-top: 5px;

    overflow: hidden;

    color:
        #8a95a2;

    font-size: 11px;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* UPLOAD ICON RIGHT */

.paper-upload-action {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    border-radius: 12px;

    background:
        #071c33;

    color:
        #ffffff;

    font-size: 18px;

    transition:
        background .25s ease,
        transform .25s ease;
}


.paper-upload-area > label:hover
.paper-upload-action {
    background:
        #e86d1f;

    transform:
        translateY(-2px);
}


/* SELECTED FILE */

.paper-selected-file {
    display: none;

    align-items: center;

    gap: 12px;

    margin-top: 14px;

    padding: 13px 15px;

    border:
        1px solid #d8ece3;

    border-radius: 13px;

    background:
        #f2fbf6;

    animation:
        paperFileIn
        .3s ease;
}


.paper-selected-file.show {
    display: flex;
}


@keyframes paperFileIn {

    from {
        opacity: 0;
        transform:
            translateY(-5px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }

}


.paper-selected-file > div {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 39px;

    border-radius: 11px;

    background:
        #dff5e9;

    color:
        #12805c;

    font-size: 17px;
}


.paper-selected-file section {
    flex: 1;

    min-width: 0;

    display: flex;
    flex-direction: column;
}


.paper-selected-file section strong {
    overflow: hidden;

    color:
        #1a3b30;

    font-size: 11px;

    font-weight: 750;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.paper-selected-file section span {
    margin-top: 2px;

    color:
        #6f887f;

    font-size: 9px;
}


.paper-selected-file > i {
    color:
        #12a36f;

    font-size: 16px;
}


/* PUBLISHING CARD */

.paper-publish-card {
    overflow: hidden;
}


/* STATUS PREVIEW */

.paper-status-preview {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-top: 20px;

    padding: 14px;

    border-radius: 13px;

    background:
        #effaf4;

    border:
        1px solid #d9f0e4;

    transition:
        background .25s ease,
        border-color .25s ease;
}


.paper-status-preview > div {
    padding-top: 5px;
}


.paper-status-preview > div span {
    display: block;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        #12b76a;

    box-shadow:
        0 0 0 4px
        rgba(18,183,106,.10);
}


.paper-status-preview section {
    flex: 1;
}


.paper-status-preview strong {
    display: block;

    margin-bottom: 3px;

    color:
        #176b4a;

    font-size: 11px;

    font-weight: 800;
}


.paper-status-preview p {
    margin: 0;

    color:
        #627a70;

    font-size: 10px;

    line-height: 1.55;
}


/* DRAFT */

.paper-status-preview.draft {
    background:
        #fff8f2;

    border-color:
        #f7dfca;
}


.paper-status-preview.draft
> div span {
    background:
        #e86d1f;

    box-shadow:
        0 0 0 4px
        rgba(232,109,31,.10);
}


.paper-status-preview.draft strong {
    color:
        #b64c0b;
}


.paper-status-preview.draft p {
    color:
        #80685a;
}


/*  HELP CARD */

.paper-help-card {
    display: flex;

    gap: 14px;

    padding: 21px;

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #071c33,
            #0c3459
        );

    color: #ffffff;

    box-shadow:
        0 13px 30px
        rgba(7,28,51,.12);
}


.paper-help-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 45px;

    border-radius: 13px;

    background:
        rgba(232,109,31,.16);

    color:
        #ff8a3d;

    font-size: 20px;
}


.paper-help-card > div:last-child {
    flex: 1;
}


.paper-help-card span {
    display: block;

    color:
        #ff8a3d;

    font-size: 9px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.paper-help-card h4 {
    margin:
        4px 0 12px;

    color:
        #ffffff;

    font-size: 15px;

    font-weight: 800;
}


.paper-help-card ul {
    margin: 0;

    padding-left: 17px;

    color:
        rgba(255,255,255,.72);

    font-size: 10px;

    line-height: 1.8;
}


/*  PROGRAMMES — ADD PAPER */

.admin-programme-checkbox-grid {
    margin-top: 5px;
}


/*  RESPONSIVE */

@media (max-width: 767px) {

    .paper-upload-area > label {
        align-items:
            flex-start;

        padding:
            18px;

        min-height:
            auto;
    }


    .paper-upload-action {
        display:
            none;
    }


    .paper-upload-copy span {
        white-space:
            normal;
    }


    .paper-help-card {
        margin-bottom:
            20px;
    }

}
/* NMUC ADMIN — EDIT E-BOOK PAGE*/


/* EDIT PAGE HEADER */

.admin-form-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 28px;
}


.admin-form-page-header > div > span {
    display: inline-block;

    margin-bottom: 7px;

    color: #e86d1f;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.7px;
}


.admin-form-page-header h2 {
    margin: 0 0 8px;

    color: #071c33;

    font-size: 30px;
    font-weight: 850;
}


.admin-form-page-header p {
    max-width: 720px;

    margin: 0;

    color: #667085;

    font-size: 13px;

    line-height: 1.7;
}


/* BACK BUTTON */

.admin-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 130px;

    min-height: 44px;

    padding: 0 17px;

    border: 1px solid #dce3ea;
    border-radius: 12px;

    background: #ffffff;

    color: #071c33;

    font-size: 12px;
    font-weight: 750;

    text-decoration: none;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}


.admin-back-button:hover {
    transform: translateY(-2px);

    background: #071c33;

    border-color: #071c33;

    color: #ffffff;

    box-shadow:
        0 9px 20px rgba(7, 28, 51, .13);
}


/* FORM CARDS */

.admin-form-card {
    margin-bottom: 24px;

    padding: 30px;

    background: #ffffff;

    border: 1px solid #e2e8ef;
    border-radius: 22px;

    box-shadow:
        0 10px 32px rgba(7, 28, 51, .055);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.admin-form-card:hover {
    border-color: rgba(232, 109, 31, .16);

    box-shadow:
        0 15px 40px rgba(7, 28, 51, .08);
}


/* FORM CARD HEADER */

.admin-form-card-header {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 26px;
    padding-bottom: 19px;

    border-bottom: 1px solid #edf0f3;
}


.admin-form-header-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 50px;

    border-radius: 14px;

    background: #fff1e8;

    color: #e86d1f;

    font-size: 20px;
}


.admin-form-card-header span {
    display: block;

    margin-bottom: 3px;

    color: #909baa;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.3px;
}


.admin-form-card-header h3 {
    margin: 0;

    color: #071c33;

    font-size: 18px;
    font-weight: 800;
}


/* INPUTS */

.admin-form-group label {
    display: block;

    margin-bottom: 8px;

    color: #10253d;

    font-size: 12px;
    font-weight: 750;
}


.admin-form-group label span {
    color: #e86d1f;
}


.admin-form-control {
    width: 100%;

    min-height: 51px;

    padding: 13px 15px;

    border: 1px solid #d9e1e8;
    border-radius: 13px;

    background: #f9fafc;

    color: #071c33;

    font-size: 13px;

    outline: none;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.admin-form-control:hover {
    border-color: #c6d0da;
}


.admin-form-control:focus {
    background: #ffffff;

    border-color: #e86d1f;

    box-shadow:
        0 0 0 4px rgba(232, 109, 31, .09);
}


.admin-form-control::placeholder {
    color: #98a2b3;
}


textarea.admin-form-control {
    min-height: 140px;

    resize: vertical;

    line-height: 1.65;
}


/*  PROGRAMME CHECKBOXES */

.admin-programme-checkbox-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-top: 5px;
}


.admin-programme-checkbox {
    position: relative;

    display: flex !important;
    align-items: center;

    gap: 12px;

    min-height: 68px;

    padding: 14px;

    margin: 0 !important;

    border: 1px solid #dfe5eb;
    border-radius: 14px;

    background: #fafbfd;

    cursor: pointer;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.admin-programme-checkbox:hover {
    transform: translateY(-2px);

    background: #ffffff;

    border-color: #e86d1f;

    box-shadow:
        0 8px 18px rgba(7, 28, 51, .06);
}


.admin-programme-checkbox input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.admin-checkbox-ui {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 24px;

    border: 2px solid #ccd5df;
    border-radius: 7px;

    background: #ffffff;

    color: transparent;

    transition: all .2s ease;
}


.admin-programme-checkbox input:checked
+ .admin-checkbox-ui {
    background: #e86d1f;

    border-color: #e86d1f;

    color: #ffffff;

    box-shadow:
        0 4px 11px rgba(232, 109, 31, .22);
}


.admin-programme-checkbox:has(input:checked) {
    background: #fff8f3;

    border-color: #e86d1f;
}


.admin-programme-content {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.admin-programme-content strong {
    color: #10253d;

    font-size: 12px;
    font-weight: 750;
}


.admin-programme-content small {
    color: #8c97a4;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .7px;
}


/* CURRENT COVER / COVER PREVIEW */

.admin-cover-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.admin-cover-preview {
    position: relative;

    width: 198px;
    height: 276px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;

    overflow: hidden;

    margin-bottom: 17px;

    border: 1px solid #dbe2e9;
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #f8fafc,
            #eef2f5
        );

    color: #9aa5b1;

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.55);
}


.admin-cover-preview img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.admin-cover-preview > i {
    margin-bottom: 8px;

    font-size: 32px;
}


.admin-cover-preview > span {
    font-size: 10px;
}


/* CURRENT IMAGE BADGE */

.admin-cover-preview::after {
    content: "Current Cover";

    position: absolute;

    left: 10px;
    bottom: 10px;

    padding: 6px 8px;

    border-radius: 8px;

    background: rgba(7, 28, 51, .82);

    color: #ffffff;

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .6px;
}


.admin-cover-preview:not(:has(img))::after {
    display: none;
}


/* HIDE FILE INPUT */

.admin-cover-upload input[type="file"] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* REPLACE COVER BUTTON */

.admin-upload-button {
    width: 100%;

    min-height: 46px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin: 0 !important;

    padding: 0 16px;

    border-radius: 12px;

    background: #071c33;

    color: #ffffff !important;

    font-size: 11px !important;
    font-weight: 750 !important;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.admin-upload-button:hover {
    transform: translateY(-2px);

    background: #0d3154;

    box-shadow:
        0 9px 20px rgba(7, 28, 51, .16);
}


.admin-cover-upload > small {
    margin-top: 9px;

    color: #8f9aa8;

    font-size: 9px;

    text-align: center;
}


/* PDF REPLACEMENT */

.admin-file-upload {
    position: relative;
}


.admin-file-upload input[type="file"] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


.admin-file-upload > label {
    display: flex;
    align-items: center;

    gap: 14px;

    min-height: 84px;

    padding: 16px 18px;

    margin: 0;

    border: 1.5px dashed #ccd5de;
    border-radius: 15px;

    background: #f9fafc;

    cursor: pointer;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.admin-file-upload > label:hover {
    transform: translateY(-2px);

    background: #fff8f3;

    border-color: #e86d1f;
}


.admin-file-upload > label > div {
    width: 47px;
    height: 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 47px;

    border-radius: 12px;

    background: #fff0e6;

    color: #e86d1f;

    font-size: 20px;
}


.admin-file-upload section {
    flex: 1;

    min-width: 0;
}


.admin-file-upload section strong {
    display: block;

    margin-bottom: 3px;

    color: #071c33;

    font-size: 12px;
}


.admin-file-upload section span {
    display: block;

    overflow: hidden;

    color: #8a95a2;

    font-size: 10px;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.admin-file-upload > label > i {
    color: #7d8997;

    font-size: 17px;
}


/*  INPUT WITH ICON */

.admin-input-icon {
    position: relative;
}


.admin-input-icon > i {
    position: absolute;

    top: 50%;
    left: 16px;

    transform: translateY(-50%);

    color: #8c97a4;

    font-size: 17px;

    pointer-events: none;
}


.admin-input-icon .admin-form-control {
    padding-left: 46px;
}


/*  PUBLISHING / STATUS */

.admin-publish-note {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin: 19px 0;

    padding: 13px;

    border-radius: 12px;

    background: #f2f6fa;

    color: #667085;
}


.admin-publish-note i {
    margin-top: 1px;

    color: #e86d1f;

    font-size: 14px;
}


.admin-publish-note p {
    margin: 0;

    font-size: 10px;

    line-height: 1.6;
}


/* UPDATE BUTTON */

.admin-save-button {
    width: 100%;

    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 18px;

    border: none;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #e86d1f,
            #f47a22
        );

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 9px 22px rgba(232, 109, 31, .18);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}


.admin-save-button:hover {
    transform: translateY(-2px);

    filter: brightness(.96);

    box-shadow:
        0 13px 29px rgba(232, 109, 31, .27);
}


.admin-save-button:active {
    transform: translateY(0);
}


/* CANCEL */

.admin-cancel-button {
    width: 100%;

    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 10px;

    border: 1px solid #dce3ea;
    border-radius: 12px;

    background: #ffffff;

    color: #667085;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}


.admin-cancel-button:hover {
    background: #f5f7f9;

    border-color: #cbd4dd;

    color: #071c33;
}


/* ERROR ALERT */

.admin-form-alert {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 22px;

    padding: 16px 18px;

    border-radius: 14px;
}


.admin-form-alert.error {
    background: #fff2f0;

    border: 1px solid #ffd8d1;

    color: #a43b2f;
}


.admin-form-alert > div {
    font-size: 19px;
}


.admin-form-alert strong {
    display: block;

    margin-bottom: 6px;

    font-size: 12px;
}


.admin-form-alert ul {
    margin: 0;

    padding-left: 17px;

    font-size: 11px;

    line-height: 1.7;
}


/* EDIT PAGE — HOVER DETAIL */

.admin-form-side-card {
    position: relative;
}


.admin-form-side-card:hover
.admin-form-header-icon {
    transform: scale(1.04);
}


.admin-form-header-icon {
    transition: transform .2s ease;
}


/* RESPONSIVE */

@media (max-width: 1199px) {

    .admin-programme-checkbox-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 767px) {

    .admin-form-page-header {
        flex-direction: column;
    }


    .admin-back-button {
        width: 100%;
    }


    .admin-form-card {
        padding: 21px;

        border-radius: 18px;
    }


    .admin-programme-checkbox-grid {
        grid-template-columns: 1fr;
    }


    .admin-cover-preview {
        width: 180px;
        height: 250px;
    }

}


@media (max-width: 480px) {

    .admin-form-card {
        padding: 17px;
    }


    .admin-form-page-header h2 {
        font-size: 25px;
    }

}
/*  ALL E-BOOKS — DASHBOARD + FILTER*/


/* PAGE HEADER */

.ebook-management-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 25px;
}

.ebook-management-header h2 {
    margin: 0 0 7px;

    color: #071c33;

    font-size: 30px;
    font-weight: 850;
}

.ebook-management-header p {
    margin: 0;

    color: #788596;

    font-size: 12px;
}


/* DASHBOARD CARDS*/

.ebook-dashboard-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 25px;
}


.ebook-dashboard-card {
    min-height: 98px;

    display: flex;
    align-items: center;

    gap: 17px;

    padding: 21px;

    border: 1px solid #dfe6ed;
    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 8px 25px rgba(7, 28, 51, .045);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.ebook-dashboard-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(232, 109, 31, .18);

    box-shadow:
        0 15px 35px
        rgba(7, 28, 51, .075);
}


.ebook-dashboard-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 52px;

    border-radius: 14px;

    font-size: 21px;
}


/* TOTAL */

.ebook-dashboard-icon.total {
    background: #eaf1f6;

    color: #153956;
}


/* ACTIVE */

.ebook-dashboard-icon.active {
    background: #e6f8f0;

    color: #11865d;
}


/* INACTIVE */

.ebook-dashboard-icon.inactive {
    background: #fff0e7;

    color: #e86d1f;
}


.ebook-dashboard-card > div:last-child {
    display: flex;
    flex-direction: column;
}


.ebook-dashboard-card span {
    margin-bottom: 4px;

    color: #8895a5;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .8px;
}


.ebook-dashboard-card strong {
    color: #071c33;

    font-size: 25px;
    font-weight: 850;

    line-height: 1;
}


/* FILTER PANEL*/

.ebook-filter-panel {
    display: grid;

    grid-template-columns:
        minmax(280px, 1fr)
        240px
        190px
        auto
        auto;

    align-items: center;

    gap: 10px;

    margin-bottom: 21px;

    padding: 16px;

    border: 1px solid #dce4eb;
    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 8px 25px
        rgba(7, 28, 51, .04);
}


/* SEARCH */

.ebook-filter-search {
    position: relative;
}


.ebook-filter-search > i {
    position: absolute;

    top: 50%;
    left: 15px;

    transform: translateY(-50%);

    color: #91a0af;

    font-size: 14px;

    pointer-events: none;
}


.ebook-filter-search input {
    width: 100%;
    height: 46px;

    padding:
        0 15px
        0 43px;

    border: 1px solid #dce3ea;
    border-radius: 12px;

    background: #fafbfd;

    color: #071c33;

    font-size: 11px;

    outline: none;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.ebook-filter-search input:focus {
    background: #ffffff;

    border-color: #e86d1f;

    box-shadow:
        0 0 0 4px
        rgba(232, 109, 31, .07);
}


/* FILTER SELECT */

.ebook-filter-select {
    position: relative;
}


.ebook-filter-select > i {
    position: absolute;

    top: 50%;
    left: 14px;

    transform: translateY(-50%);

    color: #8997a6;

    font-size: 13px;

    pointer-events: none;

    z-index: 2;
}


.ebook-filter-select select {
    width: 100%;
    height: 46px;

    padding:
        0 34px
        0 42px;

    border: 1px solid #dce3ea;
    border-radius: 12px;

    background: #fafbfd;

    color: #071c33;

    font-size: 11px;
    font-weight: 600;

    outline: none;

    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.ebook-filter-select select:focus {
    border-color: #e86d1f;

    box-shadow:
        0 0 0 4px
        rgba(232, 109, 31, .07);
}


/* FILTER BUTTON */

.ebook-filter-button {
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 18px;

    border: none;
    border-radius: 12px;

    background: #071c33;

    color: #ffffff;

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.ebook-filter-button:hover {
    transform: translateY(-2px);

    background: #0d3154;

    box-shadow:
        0 9px 19px
        rgba(7, 28, 51, .17);
}


/* RESET */

.ebook-reset-button {
    width: 46px;
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dce3ea;
    border-radius: 12px;

    background: #ffffff;

    color: #788493;

    text-decoration: none;

    transition:
        transform .2s ease,
        border-color .2s ease,
        color .2s ease;
}


.ebook-reset-button:hover {
    transform: translateY(-2px);

    border-color: #e86d1f;

    color: #e86d1f;
}


/* FILTER RESULT */

.ebook-filter-result-info {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 15px;

    padding: 10px 13px;

    border-radius: 10px;

    background: #fff6f0;

    color: #785f50;

    font-size: 10px;
}


.ebook-filter-result-info > i {
    color: #e86d1f;
}


.ebook-filter-result-info strong {
    color: #071c33;
}


.ebook-filter-result-info a {
    margin-left: auto;

    color: #e86d1f;

    font-weight: 750;

    text-decoration: none;
}


/* PUBLISHER */

.admin-publisher-value {
    color: #26384b;

    font-size: 10px;
}


/* RESPONSIVE */

@media (max-width: 1200px) {

    .ebook-filter-panel {
        grid-template-columns:
            1fr
            1fr
            1fr
            auto;
    }


    .ebook-filter-search {
        grid-column:
            1 / -1;
    }

}


@media (max-width: 900px) {

    .ebook-dashboard-grid {
        grid-template-columns: 1fr;
    }


    .ebook-filter-panel {
        grid-template-columns: 1fr;
    }


    .ebook-filter-search,
    .ebook-filter-select,
    .ebook-filter-button,
    .ebook-reset-button {
        width: 100%;
    }


    .ebook-reset-button {
        height: 46px;
    }

}


@media (max-width: 767px) {

    .ebook-management-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .admin-add-resource-button {
        width: 100%;
    }

}
/* ADMIN ACTION BUTTONS — MATCH EXAM PAPER */

.admin-action-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.admin-action-btn {
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 10px;

    font-size: 14px;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.admin-action-btn:hover {
    transform: translateY(-2px);
}


/* VIEW */

.admin-action-btn.view {
    background: #eef7ff;
    color: #4f8dbb;
}

.admin-action-btn.view:hover {
    background: #dceeff;
    color: #2d73a8;
}


/* DOWNLOAD */

.admin-action-btn.download {
    background: #eaf8f3;
    color: #29966f;
}

.admin-action-btn.download:hover {
    background: #d8f2e8;
    color: #177b58;
}


/* EDIT */

.admin-action-btn.edit {
    background: #fff1e7;
    color: #f08037;
}

.admin-action-btn.edit:hover {
    background: #ffe3cf;
    color: #e56817;
}


/* DELETE */

.admin-action-btn.delete {
    background: #fff0f0;
    color: #ef6767;
}

.admin-action-btn.delete:hover {
    background: #ffdede;
    color: #df4141;
}


/* DISABLED */

.admin-action-btn.disabled {
    background: #f4f6f8;
    color: #b5bdc6;

    cursor: not-allowed;

    pointer-events: none;
}
/* MICROSOFT SSO */

.login-or-divider {
    display: flex;
    align-items: center;

    gap: 12px;

    margin: 18px 0;

    color: #98a2ae;

    font-size: 10px;
    font-weight: 700;
}


.login-or-divider::before,
.login-or-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #e2e7ec;
}


.login-or-divider span {
    flex: 0 0 auto;
}


.microsoft-sso-btn {
    width: 100%;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 18px;

    border: 1px solid #dbe2e9;
    border-radius: 11px;

    background: #ffffff;

    color: #071c33;

    font-size: 11px;
    font-weight: 750;

    text-decoration: none;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.microsoft-sso-btn:hover {
    transform: translateY(-1px);

    border-color: #c8d2dc;

    color: #071c33;

    box-shadow:
        0 8px 20px
        rgba(7, 28, 51, .08);
}


.microsoft-sso-btn i {
    font-size: 17px;
}
/* HERO CAROUSEL - KEEP FULL 1920x650 IMAGE */

.nmuc-hero-carousel {
    width: 100%;
    overflow: hidden;
    background: #071c33;
}


/* Maintain original 1920 x 650 ratio */
#nmucHeroCarousel,
#nmucHeroCarousel .carousel-inner,
#nmucHeroCarousel .carousel-item {
    width: 100%;
}


/* Do NOT force 650px on smaller screens */
#nmucHeroCarousel .carousel-item {
    aspect-ratio: 1920 / 650;
    height: auto;
}


/* Show the ENTIRE image */
.nmuc-hero-image {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    display: block;
}
/* IMAGE */

.nmuc-hero-image {
    width: 100%;
    height: 650px;

    object-fit: contain;
    object-position: center;

    display: block;
}

/* EYEBROW */

.nmuc-hero-eyebrow {
    display: block;

    margin-bottom: 12px;

    color: #ff7417;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: .2px;
}


/* TITLE */

.nmuc-hero-caption h1 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(
        42px,
        4.4vw,
        72px
    );

    line-height: 1.04;

    font-weight: 800;

    letter-spacing: -1.7px;
}


.nmuc-hero-caption h1 span {
    color: #ff7417;
}


/* DESCRIPTION */

.nmuc-hero-caption p {
    margin: 0;

    max-width: 580px;

    color:
        rgba(
            255,
            255,
            255,
            .88
        );

    font-size: 17px;

    line-height: 1.7;
}


/* ARROWS */

#nmucHeroCarousel .carousel-control-prev,
#nmucHeroCarousel .carousel-control-next {
    width: 70px;

    opacity: 1;

    z-index: 5;
}


.nmuc-carousel-arrow {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(
            7,
            28,
            51,
            .72
        );

    backdrop-filter: blur(8px);

    color: #ffffff;

    font-size: 20px;

    transition:
        background .2s ease,
        transform .2s ease;
}


.nmuc-carousel-arrow:hover {
    background: #e86d1f;

    transform: scale(1.06);
}


/* INDICATORS */

#nmucHeroCarousel .carousel-indicators {
    z-index: 5;

    margin-bottom: 26px;

    gap: 7px;
}


#nmucHeroCarousel .carousel-indicators button {
    width: 11px;
    height: 11px;

    margin: 0;

    border: 0;
    border-radius: 50%;

    background: #ffffff;

    opacity: .68;

    transition:
        width .2s ease,
        border-radius .2s ease,
        background .2s ease,
        opacity .2s ease;
}


#nmucHeroCarousel .carousel-indicators button.active {
    width: 30px;

    border-radius: 20px;

    background: #ff7417;

    opacity: 1;
}


/* FADE */

.carousel-fade .carousel-item {
    transition:
        opacity .7s ease-in-out;
}


/* MOBILE */

@media (
    max-width: 767px
) {

    #nmucHeroCarousel .carousel-item,
    .nmuc-hero-image {
        height: 500px;
    }


    .nmuc-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 22, 41, .86),
                rgba(3, 22, 41, .60)
            );
    }


    .nmuc-hero-caption {
        padding:
            0
            55px;
    }


    .nmuc-hero-eyebrow {
        font-size: 12px;
    }


    .nmuc-hero-caption h1 {
        margin-bottom: 15px;

        font-size: 38px;
    }


    .nmuc-hero-caption p {
        font-size: 14px;

        line-height: 1.55;
    }


    #nmucHeroCarousel .carousel-control-prev,
    #nmucHeroCarousel .carousel-control-next {
        width: 50px;
    }


    .nmuc-carousel-arrow {
        width: 38px;
        height: 38px;

        font-size: 16px;
    }

}


/* SMALL MOBILE */

@media (
    max-width: 480px
) {

    #nmucHeroCarousel .carousel-item,
    .nmuc-hero-image {
        height: 460px;
    }


    .nmuc-hero-caption {
        padding:
            0
            48px;
    }


    .nmuc-hero-caption h1 {
        font-size: 31px;

        letter-spacing: -1px;
    }


    .nmuc-hero-caption p {
        font-size: 13px;
    }


    #nmucHeroCarousel .carousel-indicators {
        margin-bottom: 18px;
    }

}
/* ABOUT PAGE */

.about-page-hero {
    position: relative;
    padding: 105px 0;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(235, 105, 24, .18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #061d35 0%,
            #082844 100%
        );
}


.about-page-hero::after {
    content: "";

    position: absolute;
    width: 380px;
    height: 380px;

    right: -120px;
    bottom: -220px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}


.about-page-hero-content {
    position: relative;
    z-index: 2;

    max-width: 760px;
}


.about-eyebrow,
.section-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: #ed6b1c;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;
}


.about-page-hero h1 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(44px, 5vw, 68px);
    font-weight: 800;

    letter-spacing: -2px;
}


.about-page-hero h1 span {
    color: #f27321;
}


.about-page-hero p {
    max-width: 680px;

    margin: 0;

    color: rgba(255,255,255,.78);

    font-size: 17px;
    line-height: 1.75;
}



/* INTRODUCTION */

.about-intro-section {
    padding: 95px 0;

    background: #ffffff;
}


.about-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);

    gap: 80px;

    align-items: center;
}


.about-intro-content h2,
.section-heading h2,
.about-services-heading h2 {
    margin: 0 0 22px;

    color: #071d35;

    font-size: 42px;
    font-weight: 800;

    letter-spacing: -1.3px;
}


.about-intro-content h2 span,
.section-heading h2 span,
.about-services-heading h2 span {
    color: #ed6b1c;
}


.about-intro-content p {
    margin: 0 0 18px;

    color: #5e6b7f;

    font-size: 15px;

    line-height: 1.8;
}


/* IMAGE */

.about-image-wrapper {
    position: relative;
}


.about-image-wrapper img {
    width: 100%;
    height: 430px;

    object-fit: cover;

    border-radius: 22px;

    display: block;
}


.about-image-badge {
    position: absolute;

    left: -30px;
    bottom: 30px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 17px 22px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 15px 45px
        rgba(7,29,53,.15);
}


.about-image-badge i {
    display: flex;

    width: 43px;
    height: 43px;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #fff1e8;

    color: #ed6b1c;

    font-size: 19px;
}


.about-image-badge strong,
.about-image-badge span {
    display: block;
}


.about-image-badge strong {
    color: #071d35;

    font-size: 14px;
}


.about-image-badge span {
    margin-top: 2px;

    color: #8490a1;

    font-size: 11px;
}



/* SECTION HEADING */

.section-heading {
    max-width: 680px;

    margin:
        0 auto
        48px;

    text-align: center;
}


.section-heading p {
    margin: 0;

    color: #6d7889;

    line-height: 1.7;
}



/* VISION & MISSION */

.vision-mission-section {
    padding: 90px 0;

    background: #f5f7fa;
}


.vision-mission-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}


.vm-card {
    display: flex;

    gap: 22px;

    padding: 36px;

    background: #ffffff;

    border:
        1px solid
        #e4e9ef;

    border-radius: 18px;

    box-shadow:
        0 10px 35px
        rgba(8,35,60,.05);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.vm-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 18px 45px
        rgba(8,35,60,.10);
}


.vm-icon {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #fff0e7;

    border-radius: 15px;

    color: #ed6b1c;

    font-size: 24px;
}


.vm-content > span {
    color: #ed6b1c;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}


.vm-content h3 {
    margin: 7px 0 10px;

    color: #071d35;

    font-size: 24px;
    font-weight: 800;
}


.vm-content p {
    margin: 0;

    color: #6b7788;

    font-size: 14px;

    line-height: 1.7;
}



/* OBJECTIVES */

.library-objectives-section {
    padding: 95px 0;

    background: #ffffff;
}


.objectives-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.objective-card {
    position: relative;

    padding: 30px;

    overflow: hidden;

    border:
        1px solid
        #e3e8ef;

    border-radius: 17px;

    background: #ffffff;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.objective-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(237,107,28,.35);

    box-shadow:
        0 16px 40px
        rgba(7,29,53,.08);
}


.objective-number {
    position: absolute;

    right: 20px;
    top: 16px;

    color: #edf0f4;

    font-size: 42px;
    font-weight: 800;
}


.objective-icon {
    position: relative;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    background: #fff0e7;

    border-radius: 12px;

    color: #ed6b1c;

    font-size: 20px;
}


.objective-card h3 {
    position: relative;

    margin: 0 0 10px;

    color: #071d35;

    font-size: 18px;
    font-weight: 750;
}


.objective-card p {
    position: relative;

    margin: 0;

    color: #738093;

    font-size: 13px;

    line-height: 1.7;
}



/* WHAT WE PROVIDE */

.about-services-section {
    padding: 95px 0;

    background: #f5f7fa;
}


.about-services-grid {
    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    gap: 90px;

    align-items: start;
}


.about-services-heading {
    position: sticky;

    top: 120px;
}


.about-services-heading p {
    color: #697588;

    line-height: 1.75;
}


.about-services-list {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}


.about-service-item {
    display: flex;

    gap: 16px;

    padding: 25px;

    background: #ffffff;

    border:
        1px solid
        #e3e8ef;

    border-radius: 15px;
}


.about-service-icon {
    flex: 0 0 43px;

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #fff0e7;

    border-radius: 11px;

    color: #ed6b1c;

    font-size: 18px;
}


.about-service-item h3 {
    margin: 1px 0 7px;

    color: #071d35;

    font-size: 16px;
    font-weight: 750;
}


.about-service-item p {
    margin: 0;

    color: #778396;

    font-size: 13px;

    line-height: 1.6;
}



/* FINAL HIGHLIGHT */

.library-highlight-section {
    padding: 80px 0;

    background: #ffffff;
}


.library-highlight-box {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 55px 60px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #061d35,
            #0a3558
        );
}


.highlight-small {
    display: block;

    margin-bottom: 10px;

    color: #f47a2a;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2.5px;
}


.library-highlight-box h2 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 35px;
    font-weight: 800;

    letter-spacing: -1px;
}


.library-highlight-box h2 span {
    color: #f47a2a;
}


.library-highlight-box p {
    max-width: 630px;

    margin: 0;

    color: rgba(255,255,255,.72);

    line-height: 1.7;
}


.highlight-actions {
    display: flex;

    gap: 10px;

    flex-shrink: 0;
}


.highlight-primary-btn,
.highlight-secondary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: .2s ease;
}


.highlight-primary-btn {
    background: #ed6b1c;

    color: #ffffff;
}


.highlight-primary-btn:hover {
    background: #ff7c2c;

    color: #ffffff;

    transform:
        translateY(-2px);
}


.highlight-secondary-btn {
    border:
        1px solid
        rgba(255,255,255,.28);

    color: #ffffff;
}


.highlight-secondary-btn:hover {
    background:
        rgba(255,255,255,.08);

    color: #ffffff;
}



/* RESPONSIVE */

@media (max-width: 991px) {

    .about-intro-grid,
    .about-services-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .vision-mission-grid {
        grid-template-columns: 1fr;
    }


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


    .about-services-list {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .about-services-heading {
        position: static;
    }


    .library-highlight-box {
        flex-direction: column;

        align-items: flex-start;
    }

}



@media (max-width: 767px) {

    .about-page-hero {
        padding: 75px 0;
    }


    .about-page-hero h1 {
        font-size: 42px;
    }


    .about-intro-section,
    .vision-mission-section,
    .library-objectives-section,
    .about-services-section {
        padding: 70px 0;
    }


    .about-intro-content h2,
    .section-heading h2,
    .about-services-heading h2 {
        font-size: 33px;
    }


    .objectives-grid,
    .about-services-list {
        grid-template-columns: 1fr;
    }


    .about-image-wrapper img {
        height: 340px;
    }


    .about-image-badge {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }


    .vm-card {
        padding: 25px;
    }


    .library-highlight-box {
        padding: 38px 28px;
    }


    .library-highlight-box h2 {
        font-size: 29px;
    }


    .highlight-actions {
        width: 100%;

        flex-direction: column;
    }


    .highlight-primary-btn,
    .highlight-secondary-btn {
        width: 100%;
    }

}
/* FINAL HERO FIX — SHOW FULL 1920x650 IMAGE DO NOT CROP */

.nmuc-hero-carousel {
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
}

#nmucHeroCarousel {
    width: 100% !important;
    height: auto !important;
}

#nmucHeroCarousel .carousel-inner {
    width: 100% !important;
    height: auto !important;
}

#nmucHeroCarousel .carousel-item {
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: auto !important;

    overflow: hidden;
}


/* IMPORTANT:
   Let the original 1920x650 image determine
   the carousel height naturally.
*/

#nmucHeroCarousel .carousel-item img,
#nmucHeroCarousel .nmuc-hero-image {
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    object-fit: initial !important;
    object-position: center !important;

    display: block !important;

    position: static !important;
}


/* Remove any forced height on mobile/tablet */

@media (max-width: 1200px) {

    #nmucHeroCarousel .carousel-item,
    #nmucHeroCarousel .nmuc-hero-image {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

}


@media (max-width: 991px) {

    #nmucHeroCarousel .carousel-item,
    #nmucHeroCarousel .nmuc-hero-image {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

}


@media (max-width: 767px) {

    #nmucHeroCarousel .carousel-item,
    #nmucHeroCarousel .nmuc-hero-image {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

}


@media (max-width: 480px) {

    #nmucHeroCarousel .carousel-item,
    #nmucHeroCarousel .nmuc-hero-image {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }  
}

/* =========================================================
   ORGANISATION CHART PAGE
========================================================= */

.org-page {
    padding: 70px 0 100px;
    background: #f7f9fc;
}


/* PAGE HEADING */

.org-page-heading {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.org-page-heading .section-label {
    display: block;
    margin-bottom: 10px;

    color: #ef6c18;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.org-page-heading h1 {
    margin: 0 0 15px;

    color: #071d35;

    font-size: 42px;
    font-weight: 800;

    line-height: 1.15;
}

.org-page-heading h1 span {
    color: #ef6c18;
}

.org-page-heading p {
    max-width: 650px;
    margin: 0 auto;

    color: #718096;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   ORGANISATION CHART IMAGE
========================================================= */

.org-chart-image {
    width: 100%;

    padding: 30px;

    background: #ffffff;

    border: 1px solid #e1e7ee;
    border-radius: 18px;

    box-shadow:
        0 15px 40px
        rgba(15, 38, 64, 0.07);

    text-align: center;
}

.org-chart-image img {
    display: block;

    width: 100%;
    max-width: 1400px;
    height: auto;

    margin: 0 auto;

    object-fit: contain;
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .org-page {
        padding: 50px 0 70px;
    }

    .org-page-heading {
        margin-bottom: 35px;
    }

    .org-page-heading h1 {
        font-size: 32px;
    }

    .org-chart-image {
        padding: 15px;
        border-radius: 12px;
    }

}
/* USER / STUDENT PORTAL */

.user-portal-body {
    margin: 0;

    background: #f4f7fb;

    color: #071d35;

    font-family:'Poppins',sans-serif;
}


/* SIDEBAR */

.user-sidebar {
    position: fixed;

    top: 0;
    bottom: 0;
    left: 0;

    width: 270px;

    padding: 30px 20px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            180deg,
            #061d35,
            #0a3558
        );

    z-index: 100;
}


.user-sidebar-logo {
    height: 100px;

    display: flex;
    align-items: center;

    padding: 10px;
}


.user-sidebar-logo img {
    max-width: 190px;
    max-height: 80px;

    object-fit: contain;
}


.user-sidebar-divider {
    height: 1px;

    margin: 15px 5px 28px;

    background:
        rgba(
            255,
            255,
            255,
            .12
        );
}


.user-sidebar-label {
    margin: 0 10px 18px;

    color: #839ab0;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}


.user-nav {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.user-nav-item {
    min-height: 50px;

    padding: 0 16px;

    display: flex;
    align-items: center;

    gap: 15px;

    border-radius: 11px;

    color:
        rgba(
            255,
            255,
            255,
            .78
        );

    font-size: 13px;
    font-weight: 650;

    text-decoration: none;

    transition: .2s ease;
}


.user-nav-item i {
    width: 21px;

    font-size: 17px;

    text-align: center;
}


.user-nav-item:hover {
    background:
        rgba(
            255,
            255,
            255,
            .07
        );

    color: #ffffff;
}


.user-nav-item.active {
    background:
        linear-gradient(
            90deg,
            rgba(239,108,24,.20),
            rgba(239,108,24,.08)
        );

    color: #f47a2a;
}


.user-sidebar-bottom {
    margin-top: auto;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            .11
        );

    display: flex;

    flex-direction: column;

    gap: 8px;
}


/* MAIN */

.user-main {
    min-height: 100vh;

    margin-left: 270px;
}


/* TOPBAR */

.user-topbar {
    height: 105px;

    padding: 0 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;

    border-bottom: 1px solid #e6ebf0;
}


.user-topbar-label {
    display: block;

    margin-bottom: 5px;

    color: #ef6c18;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}


.user-topbar h1 {
    margin: 0;

    color: #071d35;

    font-size: 26px;
    font-weight: 800;
}


.user-topbar-profile {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 10px 17px;

    background: #f8fafc;

    border: 1px solid #e1e7ee;

    border-radius: 14px;
}


.user-topbar-avatar {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #fff0e7;

    color: #ef6c18;

    font-size: 18px;
}


.user-topbar-profile strong,
.user-topbar-profile span {
    display: block;
}


.user-topbar-profile strong {
    color: #071d35;

    font-size: 12px;
}


.user-topbar-profile span {
    margin-top: 2px;

    color: #8490a1;

    font-size: 9px;
}


/* DASHBOARD */

.user-dashboard-content {
    padding:
        35px
        36px
        70px;
}


/* WELCOME */

.student-welcome-card {
    position: relative;

    min-height: 195px;

    padding: 40px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 20px;

    background:
        linear-gradient(
            120deg,
            #061d35,
            #0b3a61
        );
}


.student-welcome-content {
    position: relative;

    z-index: 2;

    max-width: 700px;
}


.student-welcome-content > span {
    color: #f47a2a;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}


.student-welcome-content h2 {
    margin: 10px 0 10px;

    color: #ffffff;

    font-size: 31px;
    font-weight: 800;
}


.student-welcome-content p {
    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            .74
        );

    font-size: 14px;

    line-height: 1.65;
}


.student-welcome-icon {
    position: relative;

    z-index: 2;

    width: 110px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            .08
        );

    color:
        rgba(
            255,
            255,
            255,
            .26
        );

    font-size: 55px;
}


/* STATS */

.student-stats-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 25px;
}


.student-stat-card {
    min-height: 110px;

    padding: 24px;

    display: flex;
    align-items: center;

    gap: 17px;

    background: #ffffff;

    border: 1px solid #e1e7ee;

    border-radius: 17px;
}


.student-stat-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    font-size: 21px;
}


.student-stat-icon.ebook {
    color: #114464;

    background: #e9f1f7;
}


.student-stat-icon.paper {
    color: #078a66;

    background: #e5f8f2;
}


.student-stat-icon.account {
    color: #ef6c18;

    background: #fff0e7;
}


.student-stat-card span,
.student-stat-card strong {
    display: block;
}


.student-stat-card span {
    margin-bottom: 4px;

    color: #8793a4;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;
}


.student-stat-card strong {
    color: #071d35;

    font-size: 25px;
    font-weight: 800;
}


.student-active-text {
    color: #078a66 !important;

    font-size: 18px !important;
}


/* DASHBOARD GRID */

.student-dashboard-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 22px;

    margin-top: 25px;
}


/* PANELS */

.student-panel {
    padding: 27px;

    background: #ffffff;

    border: 1px solid #e1e7ee;

    border-radius: 18px;
}


.student-panel-header {
    padding-bottom: 20px;

    margin-bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #edf0f3;
}


.student-panel-header span {
    display: block;

    margin-bottom: 4px;

    color: #ef6c18;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.student-panel-header h3 {
    margin: 0;

    color: #071d35;

    font-size: 20px;
    font-weight: 800;
}


.student-panel-header-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff0e7;

    color: #ef6c18;

    border-radius: 11px;

    font-size: 18px;
}


/* INFORMATION */

.student-info-list {
    display: flex;

    flex-direction: column;
}


.student-info-row {
    min-height: 72px;

    display: flex;
    align-items: center;

    gap: 15px;

    border-bottom: 1px solid #edf1f4;
}


.student-info-row:last-child {
    border-bottom: 0;
}


.student-info-icon {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f6f9;

    color: #718096;

    border-radius: 10px;
}


.student-info-row span,
.student-info-row strong {
    display: block;
}


.student-info-row span {
    margin-bottom: 3px;

    color: #8b96a6;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}


.student-info-row strong {
    color: #182b40;

    font-size: 12px;
}


/* QUICK ACCESS */

.student-quick-links {
    padding-top: 15px;

    display: flex;
    flex-direction: column;

    gap: 14px;
}


.student-quick-card {
    min-height: 93px;

    padding: 18px;

    display: grid;

    grid-template-columns:
        48px
        1fr
        auto;

    align-items: center;

    gap: 16px;

    color: inherit;

    text-decoration: none;

    background: #f8fafc;

    border: 1px solid #e7ebef;

    border-radius: 14px;

    transition: .2s ease;
}


.student-quick-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(
            239,
            108,
            24,
            .35
        );

    box-shadow:
        0 10px 25px
        rgba(
            7,
            29,
            53,
            .07
        );
}


.student-quick-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff0e7;

    color: #ef6c18;

    border-radius: 12px;

    font-size: 19px;
}


.student-quick-card strong,
.student-quick-card span {
    display: block;
}


.student-quick-card strong {
    margin-bottom: 4px;

    color: #071d35;

    font-size: 13px;
}


.student-quick-card span {
    color: #7b8797;

    font-size: 11px;

    line-height: 1.5;
}


.student-quick-card > i {
    color: #ef6c18;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .user-sidebar {
        width: 220px;
    }


    .user-main {
        margin-left: 220px;
    }


    .student-dashboard-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 768px) {

    .user-sidebar {
        display: none;
    }


    .user-main {
        margin-left: 0;
    }


    .user-topbar {
        height: auto;

        padding:
            18px
            20px;

        gap: 15px;
    }


    .user-topbar-profile {
        padding: 8px 10px;
    }


    .user-dashboard-content {
        padding:
            20px
            18px
            50px;
    }


    .student-welcome-card {
        padding: 28px;
    }


    .student-welcome-icon {
        display: none;
    }


    .student-welcome-content h2 {
        font-size: 25px;
    }


    .student-stats-grid {
        grid-template-columns: 1fr;
    }

}
/* NMUC STAFF DIRECTORY */

.staff-page {
    background: #f6f8fb;
}


/* PAGE HEADER */

.staff-page-header {
    padding: 58px 0 34px;
}


.staff-page-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #f37021;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}


.staff-page-header h1 {
    margin: 0 0 10px;

    color: #071b33;

    font-size: 34px;
    font-weight: 800;

    line-height: 1.2;
}


.staff-page-header p {
    max-width: 720px;

    margin: 0;

    color: #6f7d90;

    font-size: 14px;

    line-height: 1.7;
}


/* DIRECTORY SECTION */

.staff-directory-section {
    padding: 65px 0 80px;
}


/* GRID */

.staff-directory-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* STAFF CARD */

.staff-profile-card {
    padding: 22px;

    background: #ffffff;

    border: 1px solid #e5eaf0;

    border-top: 4px solid #f37021;

    border-radius: 16px;

    box-shadow:
        0 10px 30px
        rgba(7, 27, 51, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.staff-profile-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 38px
        rgba(7, 27, 51, 0.10);
}


/* TOP AREA */

.staff-profile-top {
    display: grid;

    grid-template-columns:
        108px
        minmax(0, 1fr);

    align-items: start;

    gap: 17px;
}


/* PHOTO */

.staff-profile-photo {
    width: 108px;
    height: 135px;

    overflow: hidden;

    border-radius: 10px;

    background: #eef2f5;
}


.staff-profile-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;
}


/* NAME + POSITION */

.staff-profile-main {
    padding-top: 3px;
}


.staff-unit {
    display: block;

    margin-bottom: 8px;

    color: #f37021;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.staff-profile-main h3 {
    margin: 0 0 8px;

    color: #071b33;

    font-size: 18px;
    font-weight: 750;

    line-height: 1.3;
}


.staff-profile-main strong {
    display: block;

    color: #174d78;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.45;
}


/* DIVIDER */

.staff-profile-divider {
    width: 100%;
    height: 1px;

    margin: 18px 0 14px;

    background: #e8edf1;
}


/* CONTACT INFORMATION */

.staff-profile-info {
    display: flex;
    flex-direction: column;

    gap: 9px;
}


.staff-profile-info > div {
    display: flex;
    align-items: center;

    gap: 9px;

    min-width: 0;

    color: #657387;

    font-size: 11px;

    line-height: 1.4;
}


.staff-profile-info i {
    flex-shrink: 0;

    color: #f37021;

    font-size: 13px;
}


.staff-profile-info span {
    overflow-wrap: anywhere;
}


.staff-profile-info a {
    overflow-wrap: anywhere;

    color: #071b33;

    font-size: 11px;
    font-weight: 650;

    text-decoration: none;
}


.staff-profile-info a:hover {
    color: #f37021;
}


/* TABLET */

@media (max-width: 1050px) {

    .staff-directory-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* MOBILE */ 

@media (max-width: 650px) {

    .staff-page-header {
        padding:
            42px
            0
            25px;
    }


    .staff-page-header h1 {
        font-size: 29px;
    }


    .staff-directory-grid {
        grid-template-columns: 1fr;
    }


    .staff-profile-top {
        grid-template-columns:
            95px
            minmax(0, 1fr);
    }


    .staff-profile-photo {
        width: 95px;
        height: 120px;
    }

}
/* NMUC INNER PAGE HERO
   Reusable hero for About, Staff, Chart, Facilities, etc.*/

.page-hero {
    position: relative;

    width: 100%;
    min-height: 330px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-color: #071f36;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Dark / light overlay above background image */
.page-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    /*
       Gradient is stronger on the left so the title
       remains easy to read.
    */
    background: linear-gradient(
        90deg,
        rgba(4, 25, 44, 0.94) 0%,
        rgba(4, 25, 44, 0.82) 35%,
        rgba(4, 25, 44, 0.48) 70%,
        rgba(4, 25, 44, 0.25) 100%
    );

    z-index: 1;
}


/* Optional orange decoration */
.page-hero::after {
    content: "";

    position: absolute;

    right: -80px;
    bottom: -140px;

    width: 320px;
    height: 320px;

    border: 55px solid rgba(243, 112, 33, 0.18);

    border-radius: 50%;

    z-index: 1;
}


/* Hero content */

.page-hero .container {
    position: relative;

    z-index: 2;

    width: 100%;
}


.page-hero-content {
    max-width: 850px;

    padding: 70px 0;
}


/* Small text above title */

.page-hero-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: #f37021;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* Main page title */

.page-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 68px);
    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -1.5px;
}


/* Orange word inside heading */

.page-hero h1 .orange {
    color: #f37021;
}


/* Description */

.page-hero-description {
    max-width: 680px;

    margin: 20px 0 0;

    color: rgba(255, 255, 255, 0.85);

    font-size: 15px;

    line-height: 1.7;
}


/* Small orange line */

.page-hero-line {
    display: block;

    width: 55px;
    height: 4px;

    margin-top: 24px;

    background: #f37021;

    border-radius: 20px;
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .page-hero {
        min-height: 270px;

        background-position: center;
    }


    .page-hero-content {
        padding: 55px 0;
    }


    .page-hero h1 {
        font-size: 38px;

        letter-spacing: -0.5px;
    }


    .page-hero-description {
        max-width: 520px;

        font-size: 14px;
    }


    .page-hero::before {
        background: rgba(4, 25, 44, 0.78);
    }


    .page-hero::after {
        width: 230px;
        height: 230px;

        right: -100px;
        bottom: -120px;
    }

}


@media (max-width: 480px) {

    .page-hero {
        min-height: 240px;
    }


    .page-hero-content {
        padding: 45px 0;
    }


    .page-hero h1 {
        font-size: 32px;
    }


    .page-hero-eyebrow {
        font-size: 9px;

        letter-spacing: 2px;
    }


    .page-hero-description {
        margin-top: 14px;

        font-size: 13px;
    }

}
/* FACILITIES PAGE */

.facilities-section {
    padding: 75px 0 85px;

    background: #ffffff;
}


/* HEADING */

.facilities-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;

    margin-bottom: 38px;
}


.facilities-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #f37021;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.facilities-heading h2 {
    margin: 0;

    color: #071b33;

    font-size: 38px;
    font-weight: 800;

    line-height: 1.1;
}


.facilities-heading > p {
    max-width: 420px;

    margin: 0;

    color: #65748a;

    font-size: 14px;

    line-height: 1.7;
}


/* FACILITIES GRID */

.facilities-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* FACILITY CARD */

.facility-card {
    position: relative;

    min-height: 390px;

    overflow: hidden;

    border-radius: 22px;

    background: #071f36;

    box-shadow:
        0 15px 35px
        rgba(7, 27, 51, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.facility-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 22px 45px
        rgba(7, 27, 51, 0.18);
}


/* FACILITY IMAGE */

.facility-image {
    position: absolute;

    inset: 0;
}


.facility-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}


.facility-card:hover .facility-image img {
    transform: scale(1.05);
}


/* DARK OVERLAY */

.facility-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(4, 25, 44, 0.08) 0%,
            rgba(4, 25, 44, 0.35) 45%,
            rgba(4, 25, 44, 0.96) 100%
        );

    z-index: 1;
}


/* CARD CONTENT */

.facility-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 28px;

    z-index: 2;

    color: #ffffff;
}


.facility-number {
    display: block;

    margin-bottom: 7px;

    color: #f37021;

    font-size: 13px;
    font-weight: 800;
}


.facility-content h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 24px;
    font-weight: 750;

    line-height: 1.2;
}


.facility-content p {
    max-width: 360px;

    margin: 0;

    color: rgba(255, 255, 255, 0.86);

    font-size: 13px;

    line-height: 1.65;
}


/* ICON */

.facility-icon {
    position: absolute;

    right: 24px;
    top: -52px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(8px);

    color: #ffffff;

    font-size: 18px;
}


/* INFORMATION SECTION */

.facilities-info-section {
    padding: 0 0 90px;

    background: #ffffff;
}


.facilities-info-card {
    display: grid;

    grid-template-columns:
        60px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 20px;

    padding: 28px 30px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #071f36,
            #0b3c61
        );

    box-shadow:
        0 15px 35px
        rgba(7, 27, 51, 0.12);
}


.facilities-info-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(243, 112, 33, 0.14);

    color: #f37021;

    font-size: 23px;
}


.facilities-info-card span {
    display: block;

    margin-bottom: 5px;

    color: #f37021;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.8px;
}


.facilities-info-card h3 {
    margin: 0 0 6px;

    color: #ffffff;

    font-size: 21px;
    font-weight: 750;
}


.facilities-info-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.76);

    font-size: 12px;

    line-height: 1.6;
}


/* CONTACT BUTTON */

.facilities-contact-button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 18px;

    border-radius: 10px;

    background: #f37021;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.facilities-contact-button:hover {
    background: #db6116;

    color: #ffffff;

    transform: translateY(-2px);
}


/* TABLET */

@media (max-width: 1000px) {

    .facilities-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .facilities-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }


    .facilities-info-card {
        grid-template-columns:
            54px
            minmax(0, 1fr);
    }


    .facilities-contact-button {
        grid-column:
            1 / -1;

        width: fit-content;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .facilities-section {
        padding:
            50px
            0
            65px;
    }


    .facilities-heading h2 {
        font-size: 31px;
    }


    .facilities-grid {
        grid-template-columns: 1fr;
    }


    .facility-card {
        min-height: 360px;
    }


    .facility-content {
        padding: 24px;
    }


    .facility-content h3 {
        font-size: 22px;
    }


    .facilities-info-card {
        grid-template-columns: 1fr;

        text-align: left;
    }


    .facilities-contact-button {
        width: 100%;
    }

}

/* SERVICES PAGE */

.services-section {
    padding: 75px 0 85px;
    background: #ffffff;
}


/* HEADING */

.services-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;

    margin-bottom: 38px;
}


.services-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #f37021;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.services-heading h2 {
    margin: 0;

    color: #071b33;

    font-size: 38px;
    font-weight: 800;

    line-height: 1.1;
}


.services-heading > p {
    max-width: 420px;

    margin: 0;

    color: #65748a;

    font-size: 14px;

    line-height: 1.7;
}


/* SERVICES GRID */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* SERVICE CARD */

.service-card {
    position: relative;

    min-height: 390px;

    overflow: hidden;

    border-radius: 22px;

    background: #071f36;

    box-shadow:
        0 15px 35px
        rgba(7, 27, 51, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.service-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 22px 45px
        rgba(7, 27, 51, 0.18);
}


/* SERVICE IMAGE */

.service-image {
    position: absolute;
    inset: 0;
}


.service-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}


.service-card:hover .service-image img {
    transform: scale(1.05);
}


/* OVERLAY */

.service-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(4, 25, 44, 0.08) 0%,
            rgba(4, 25, 44, 0.35) 45%,
            rgba(4, 25, 44, 0.96) 100%
        );

    z-index: 1;
}


/* CONTENT */

.service-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 28px;

    z-index: 2;

    color: #ffffff;
}


.service-number {
    display: block;

    margin-bottom: 7px;

    color: #f37021;

    font-size: 13px;
    font-weight: 800;
}


.service-content h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 24px;
    font-weight: 750;

    line-height: 1.2;
}


.service-content p {
    max-width: 360px;

    margin: 0;

    color: rgba(255, 255, 255, 0.86);

    font-size: 13px;

    line-height: 1.65;
}


/* ICON */

.service-icon {
    position: absolute;

    right: 24px;
    top: -52px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(8px);

    color: #ffffff;

    font-size: 18px;
}


/* HELP SECTION */

.services-help-section {
    padding: 0 0 90px;

    background: #ffffff;
}


.services-help-card {
    display: grid;

    grid-template-columns:
        60px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 20px;

    padding: 28px 30px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #071f36,
            #0b3c61
        );

    box-shadow:
        0 15px 35px
        rgba(7, 27, 51, 0.12);
}


.services-help-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(243, 112, 33, 0.14);

    color: #f37021;

    font-size: 23px;
}


.services-help-card span {
    display: block;

    margin-bottom: 5px;

    color: #f37021;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.8px;
}


.services-help-card h3 {
    margin: 0 0 6px;

    color: #ffffff;

    font-size: 21px;
    font-weight: 750;
}


.services-help-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.76);

    font-size: 12px;

    line-height: 1.6;
}


/* CONTACT BUTTON */

.services-contact-button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 18px;

    border-radius: 10px;

    background: #f37021;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.services-contact-button:hover {
    background: #db6116;

    color: #ffffff;

    transform: translateY(-2px);
}


/* TABLET */

@media (max-width: 1000px) {

    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .services-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;
    }


    .services-help-card {
        grid-template-columns:
            54px
            minmax(0, 1fr);
    }


    .services-contact-button {
        grid-column:
            1 / -1;

        width: fit-content;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .services-section {
        padding:
            50px
            0
            65px;
    }


    .services-heading h2 {
        font-size: 31px;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .service-card {
        min-height: 360px;
    }


    .service-content {
        padding: 24px;
    }


    .service-content h3 {
        font-size: 22px;
    }


    .services-help-card {
        grid-template-columns: 1fr;

        text-align: left;
    }


    .services-contact-button {
        width: 100%;
    }

}
/* CONTACT PAGE */

.contact-section {
    padding: 75px 0 90px;

    background: #ffffff;
}


/* HEADING */

.contact-heading,
.contact-location-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 35px;
}


.contact-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #f37021;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.contact-heading h2,
.contact-location-heading h2 {
    margin: 0;

    color: #071b33;

    font-size: 38px;
    font-weight: 800;

    line-height: 1.1;
}


.contact-heading > p,
.contact-location-heading > p {
    max-width: 420px;

    margin: 0;

    color: #65748a;

    font-size: 14px;

    line-height: 1.7;
}


/* CONTACT INFO CARDS */

.contact-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 28px;
}


.contact-info-card {
    display: flex;
    align-items: center;

    gap: 17px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e4e9ef;

    border-radius: 16px;

    box-shadow:
        0 10px 28px
        rgba(7, 27, 51, 0.05);
}


.contact-info-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    background: #fff1e8;

    color: #f37021;

    font-size: 20px;
}


.contact-info-card span {
    display: block;

    margin-bottom: 4px;

    color: #8895a5;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.contact-info-card h3 {
    margin: 0 0 5px;

    color: #071b33;

    font-size: 16px;
    font-weight: 750;
}


.contact-info-card a,
.contact-info-card p {
    margin: 0;

    color: #667487;

    font-size: 12px;

    line-height: 1.5;

    text-decoration: none;
}


.contact-info-card a:hover {
    color: #f37021;
}


/* MAIN CONTACT GRID */

.contact-main-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(320px, 0.65fr);

    align-items: start;

    gap: 24px;
}


/* CONTACT FORM CARD */

.contact-form-card,
.contact-side-card {
    background: #ffffff;

    border: 1px solid #e4e9ef;

    border-radius: 18px;

    box-shadow:
        0 12px 32px
        rgba(7, 27, 51, 0.055);
}


.contact-form-card {
    padding: 30px;
}


.contact-card-heading {
    margin-bottom: 25px;
}


.contact-card-heading span {
    display: block;

    margin-bottom: 6px;

    color: #f37021;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.8px;
}


.contact-card-heading h3 {
    margin: 0 0 8px;

    color: #071b33;

    font-size: 24px;
    font-weight: 750;
}


.contact-card-heading p {
    margin: 0;

    color: #748194;

    font-size: 12px;

    line-height: 1.6;
}


/*  FORM */

.contact-form {
    display: grid;

    gap: 18px;
}


.contact-form-group label {
    display: block;

    margin-bottom: 7px;

    color: #071b33;

    font-size: 12px;
    font-weight: 700;
}


.contact-form-control {
    min-height: 50px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 0 14px;

    background: #f8fafc;

    border: 1px solid #dfe5eb;

    border-radius: 11px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-form-control:focus-within {
    border-color: #f37021;

    box-shadow:
        0 0 0 3px
        rgba(243, 112, 33, 0.08);
}


.contact-form-control i {
    flex-shrink: 0;

    color: #9aa6b5;

    font-size: 15px;
}


.contact-form-control input,
.contact-form-control textarea {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #071b33;

    font: inherit;

    font-size: 12px;
}


.contact-form-control textarea {
    resize: vertical;

    padding: 14px 0;
}


.contact-form-control.textarea {
    align-items: flex-start;

    padding-top: 2px;
}


/* SUBMIT BUTTON */

.contact-submit-button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 22px;

    border: 0;

    border-radius: 11px;

    background: #f37021;

    color: #ffffff;

    cursor: pointer;

    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 10px 24px
        rgba(243, 112, 33, 0.18);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.contact-submit-button:hover {
    background: #db6116;

    transform: translateY(-2px);
}


/* SIDE COLUMN */

.contact-side-column {
    display: flex;
    flex-direction: column;

    gap: 20px;
}


.contact-side-card {
    padding: 25px;
}


.contact-side-heading {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 20px;
}


.contact-side-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #e9f3ff;

    color: #236da9;

    font-size: 18px;
}


.contact-side-icon.orange {
    background: #fff1e8;

    color: #f37021;
}


.contact-side-heading span {
    display: block;

    margin-bottom: 3px;

    color: #8895a5;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.contact-side-heading h3 {
    margin: 0;

    color: #071b33;

    font-size: 18px;
    font-weight: 750;
}


/* OPENING HOURS */

.contact-hours-list {
    display: flex;
    flex-direction: column;
}


.contact-hours-list > div {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid #edf0f3;
}


.contact-hours-list > div:last-child {
    border-bottom: 0;
}


.contact-hours-list span {
    color: #6f7d90;

    font-size: 14px;
}


.contact-hours-list strong {
    color: #071b33;

    font-size: 14px;

    text-align: right;
}


.contact-hours-list .closed {
    color: #c84b4b;
}


/* QUICK SUPPORT */

.contact-quick-card p {
    margin: 0 0 18px;

    color: #6f7d90;

    font-size: 12px;

    line-height: 1.65;
}


.contact-quick-button {
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 16px;

    border-radius: 10px;

    background: #071f36;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}


.contact-quick-button:hover {
    background: #0b3a5f;

    color: #ffffff;
}


/* LOCATION */

.contact-location-section {
    margin-top: 70px;
}


.contact-map-card {
    width: 100%;
    height: 420px;

    overflow: hidden;

    border-radius: 20px;

    border: 1px solid #e4e9ef;

    background: #eef2f6;

    box-shadow:
        0 12px 32px
        rgba(7, 27, 51, 0.055);
}


.contact-map-card iframe {
    display: block;

    width: 100% !important;
    height: 100% !important;

    min-height: 420px;

    border: 0;
}


.contact-map-placeholder {
    min-height: 330px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(243, 112, 33, 0.08),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f6f8fb,
            #edf2f6
        );
}


.contact-map-placeholder i {
    display: block;

    margin-bottom: 13px;

    color: #f37021;

    font-size: 42px;
}


.contact-map-placeholder h3 {
    margin: 0 0 7px;

    color: #071b33;

    font-size: 19px;
    font-weight: 750;
}


.contact-map-placeholder p {
    margin: 0;

    color: #758296;

    font-size: 12px;
}


/* TABLET */

@media (max-width: 1000px) {

    .contact-info-grid {
        grid-template-columns: 1fr;
    }


    .contact-main-grid {
        grid-template-columns: 1fr;
    }


    .contact-heading,
    .contact-location-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .contact-section {
        padding:
            50px
            0
            65px;
    }


    .contact-heading h2,
    .contact-location-heading h2 {
        font-size: 31px;
    }


    .contact-form-card {
        padding: 22px;
    }


    .contact-hours-list > div {
        flex-direction: column;

        gap: 6px;
    }


    .contact-hours-list strong {
        text-align: left;
    }


    .contact-map-card,
    .contact-map-placeholder {
        min-height: 250px;
    }

}
/* OPENING HOURS + LIBRARY SUPPORT */

.contact-info-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

    margin-top: 24px;
    margin-bottom: 60px;

    align-items: stretch;
}


.contact-info-row .contact-side-card {
    width: 100%;
    height: 100%;

    padding: 26px;

    background: #ffffff;

    border: 1px solid #dfe6ee;
    border-radius: 16px;

    box-shadow:
        0 10px 30px
        rgba(7, 31, 54, 0.05);
}


/* SUPPORT TEXT */

.contact-support-text {
    margin: 0 0 24px;

    color: #68788d;

    font-size: 14px;

    line-height: 1.7;
}


/* SUPPORT BUTTONS */

.contact-support-actions {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}


.contact-support-button {
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 16px;

    border-radius: 9px;

    background: #071f36;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.contact-support-button:hover {
    background: #0d3557;

    color: #ffffff;

    transform: translateY(-1px);
}


.contact-support-button.secondary {
    background: #fff0e7;

    color: #f37021;
}


.contact-support-button.secondary:hover {
    background: #ffe3d1;

    color: #e65f13;
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .contact-info-row {
        grid-template-columns: 1fr;
    }


    .contact-support-actions {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   FAQ PAGE
========================================================= */

.faq-section {
    padding: 75px 0 90px;

    background: #ffffff;
}


/* =========================================================
   HEADING
========================================================= */

.faq-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 38px;
}


.faq-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #f37021;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.faq-heading h2 {
    margin: 0;

    color: #071b33;

    font-size: 38px;
    font-weight: 800;

    line-height: 1.1;
}


.faq-heading > p {
    max-width: 420px;

    margin: 0;

    color: #65748a;

    font-size: 14px;

    line-height: 1.7;
}


/* MAIN LAYOUT */

.faq-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, 0.65fr);

    align-items: start;

    gap: 28px;
}


/* FAQ LIST */

.faq-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


.faq-item {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e1e7ed;

    border-radius: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.faq-item:hover {
    border-color: #d4dde6;
}


.faq-item.active {
    border-color: rgba(243, 112, 33, 0.45);

    box-shadow:
        0 10px 28px
        rgba(7, 31, 54, 0.06);
}


/* QUESTION */

.faq-question {
    width: 100%;

    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 21px;

    border: 0;

    background: transparent;

    cursor: pointer;

    text-align: left;
}


.faq-question-left {
    display: flex;
    align-items: center;

    gap: 15px;

    min-width: 0;

    color: #071b33;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.45;
}


.faq-number {
    width: 35px;
    height: 35px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background: #fff1e8;

    color: #f37021;

    font-size: 10px;
    font-weight: 800;
}


.faq-toggle-icon {
    flex-shrink: 0;

    color: #8290a2;

    font-size: 17px;

    transition:
        transform 0.25s ease,
        color 0.2s ease;
}


.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);

    color: #f37021;
}


/* ANSWER */

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows 0.3s ease;
}


.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}


.faq-answer-inner {
    overflow: hidden;
}


.faq-answer-inner {
    padding:
        0
        21px
        0
        71px;
}


.faq-item.active .faq-answer-inner {
    padding-bottom: 22px;
}


.faq-answer-inner p {
    margin: 0 0 10px;

    color: #68778a;

    font-size: 14px;

    line-height: 1.75;
}


.faq-answer-inner p:last-child {
    margin-bottom: 0;
}


.faq-answer-inner a {
    color: #f37021;

    font-weight: 650;

    text-decoration: none;
}


.faq-answer-inner a:hover {
    text-decoration: underline;
}


/* FAQ RIGHT COLUMN */

.faq-help-column {
    display: flex;
    flex-direction: column;

    gap: 18px;
}


/* HELP CARD*/ 

.faq-help-card {
    padding: 28px;

    overflow: hidden;

    position: relative;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #071f36,
            #0b3d63
        );

    box-shadow:
        0 14px 35px
        rgba(7, 31, 54, 0.12);
}


.faq-help-card::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    right: -80px;
    top: -80px;

    border-radius: 50%;

    background:
        rgba(243, 112, 33, 0.12);
}


.faq-help-icon {
    position: relative;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 13px;

    background: rgba(243, 112, 33, 0.15);

    color: #f37021;

    font-size: 22px;

    z-index: 1;
}


.faq-help-card > span {
    position: relative;

    display: block;

    margin-bottom: 6px;

    color: #f37021;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.6px;

    text-transform: uppercase;

    z-index: 1;
}


.faq-help-card h3 {
    position: relative;

    margin: 0 0 10px;

    color: #ffffff;

    font-size: 21px;
    font-weight: 750;

    z-index: 1;
}


.faq-help-card p {
    position: relative;

    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 12px;

    line-height: 1.7;

    z-index: 1;
}


.faq-help-button {
    position: relative;

    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 17px;

    border-radius: 9px;

    background: #f37021;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    z-index: 1;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.faq-help-button:hover {
    background: #dd641a;

    color: #ffffff;

    transform: translateY(-2px);
}


/* QUICK INFO CARD */

.faq-quick-card {
    padding: 24px;

    border: 1px solid #e1e7ed;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 10px 28px
        rgba(7, 31, 54, 0.045);
}


.faq-quick-card > span {
    display: block;

    margin-bottom: 18px;

    color: #071b33;

    font-size: 14px;
    font-weight: 750;
}


.faq-quick-list {
    display: flex;
    flex-direction: column;
}


.faq-quick-list > div {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px 0;

    border-bottom: 1px solid #edf0f3;
}


.faq-quick-list > div:last-child {
    border-bottom: 0;
}


.faq-quick-list > div > i {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background: #fff1e8;

    color: #f37021;

    font-size: 14px;
}


.faq-quick-list small {
    display: block;

    margin-bottom: 3px;

    color: #8b97a6;

    font-size: 12px;
}


.faq-quick-list a,
.faq-quick-list strong {
    color: #071b33;

    font-size: 13px;
    font-weight: 650;

    text-decoration: none;
}


.faq-quick-list a:hover {
    color: #f37021;
}


/* TABLET */

@media (max-width: 1000px) {

    .faq-layout {
        grid-template-columns: 1fr;
    }


    .faq-help-column {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .faq-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .faq-section {
        padding:
            50px
            0
            65px;
    }


    .faq-heading h2 {
        font-size: 31px;
    }


    .faq-help-column {
        grid-template-columns: 1fr;
    }


    .faq-question {
        min-height: 68px;

        padding: 16px;
    }


    .faq-question-left {
        gap: 11px;

        font-size: 12px;
    }


    .faq-number {
        width: 31px;
        height: 31px;
    }


    .faq-answer-inner {
        padding:
            0
            16px
            0
            58px;
    }


    .faq-item.active .faq-answer-inner {
        padding-bottom: 18px;
    }

}
/* PUBLIC E-BOOK CATALOGUE */

.public-ebooks-section {
    padding: 75px 0 90px;
    background: #f6f8fb;
}


/* HEADING */

.public-ebooks-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;
}


.public-ebooks-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #f37021;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.4px;

    text-transform: uppercase;
}


.public-ebooks-heading h2 {
    margin: 0 0 8px;

    color: #071b33;

    font-size: 38px;
    font-weight: 800;
}


.public-ebooks-heading p {
    margin: 0;

    color: #65748a;

    font-size: 13px;
}


.public-ebooks-count {
    min-height: 44px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 16px;

    border-radius: 12px;

    background: #fff1e8;

    color: #071b33;

    font-size: 12px;
    font-weight: 700;
}


.public-ebooks-count i {
    color: #f37021;
}


/* FILTER */

.public-ebooks-filter {
    margin-bottom: 28px;

    padding: 18px 20px;

    background: #ffffff;

    border: 1px solid #e1e7ed;

    border-radius: 16px;

    box-shadow:
        0 8px 25px
        rgba(7, 31, 54, 0.04);
}


.public-ebooks-filter-form {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.public-filter-label {
    display: flex;
    align-items: center;

    gap: 12px;
}


.public-filter-label > i {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 11px;

    background: #fff1e8;

    color: #f37021;

    font-size: 18px;
}


.public-filter-label span {
    display: block;

    margin-bottom: 3px;

    color: #8a96a5;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.public-filter-label strong {
    color: #071b33;

    font-size: 14px;
}


.public-filter-controls {
    display: flex;
    align-items: center;

    gap: 9px;
}


.public-category-select {
    min-width: 230px;
    height: 44px;

    padding: 0 14px;

    border: 1px solid #dfe5eb;
    border-radius: 10px;

    background: #f8fafc;

    color: #071b33;

    font-size: 11px;

    outline: none;
}


.public-category-select:focus {
    border-color: #f37021;
}


.public-filter-button {
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 18px;

    border: 0;
    border-radius: 10px;

    background: #071f36;

    color: #ffffff;

    cursor: pointer;

    font-size: 11px;
    font-weight: 700;
}


.public-filter-reset {
    height: 44px;

    display: flex;
    align-items: center;

    padding: 0 14px;

    border-radius: 10px;

    color: #f37021;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}


/* BOOK LIST */

.public-ebooks-list {
    display: flex;
    flex-direction: column;

    gap: 14px;
}


.public-ebook-item {
    display: grid;

    grid-template-columns:
        105px
        minmax(0, 1fr)
        190px;

    align-items: center;

    gap: 22px;

    padding: 18px;

    background: #ffffff;

    border: 1px solid #e1e7ed;

    border-radius: 16px;

    box-shadow:
        0 8px 24px
        rgba(7, 31, 54, 0.045);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.public-ebook-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px
        rgba(7, 31, 54, 0.07);
}


/* COVER */

.public-ebook-cover {
    width: 85px;
    height: 115px;

    margin: auto;

    overflow: hidden;

    border-radius: 8px;

    background: #eef2f6;

    box-shadow:
        0 5px 15px
        rgba(7, 31, 54, 0.10);
}


.public-ebook-cover img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.public-ebook-cover-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff1e8;

    color: #f37021;

    font-size: 26px;
}


/* BOOK INFORMATION */

.public-ebook-category {
    display: inline-flex;

    margin-bottom: 7px;

    padding: 5px 9px;

    border-radius: 7px;

    background: #fff1e8;

    color: #f37021;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.8px;

    text-transform: uppercase;
}


.public-ebook-info h3 {
    margin: 0 0 7px;

    color: #071b33;

    font-size: 17px;
    font-weight: 750;

    line-height: 1.35;
}


.public-ebook-author {
    display: flex;
    align-items: center;

    gap: 6px;

    margin: 0 0 10px;

    color: #68778a;

    font-size: 11px;
}


.public-ebook-author i {
    color: #f37021;
}


.public-ebook-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 20px;
}


.public-ebook-meta span {
    display: flex;
    align-items: center;

    gap: 6px;

    color: #8793a2;

    font-size: 10px;
}


.public-ebook-meta i {
    color: #9ba6b3;
}


/* LOGIN ACCESS */

.public-ebook-access {
    display: flex;
    flex-direction: column;

    align-items: stretch;

    gap: 10px;
}


.public-login-required {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    color: #7e8a9a;

    font-size: 9px;
    font-weight: 700;
}


.public-login-required i {
    color: #f37021;
}


.public-ebook-login-button {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 13px;

    border-radius: 9px;

    background: #f37021;

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;
}


.public-ebook-login-button:hover {
    background: #db6116;
    color: #ffffff;
}


/* EMPTY */

.public-ebooks-empty {
    padding: 80px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e1e7ed;

    border-radius: 16px;
}


.public-ebooks-empty > i {
    display: block;

    margin-bottom: 12px;

    color: #f37021;

    font-size: 38px;
}


.public-ebooks-empty h3 {
    margin: 0 0 7px;

    color: #071b33;

    font-size: 18px;
}


.public-ebooks-empty p {
    margin: 0;

    color: #788699;

    font-size: 11px;
}


/* LOGIN CTA */

.public-ebooks-login-cta {
    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 18px;

    margin-top: 35px;

    padding: 26px 28px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #071f36,
            #0b3c61
        );

    box-shadow:
        0 14px 35px
        rgba(7, 31, 54, 0.12);
}


.public-ebooks-login-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(243, 112, 33, 0.14);

    color: #f37021;

    font-size: 22px;
}


.public-ebooks-login-cta span {
    display: block;

    margin-bottom: 4px;

    color: #f37021;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.public-ebooks-login-cta h3 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 19px;
}


.public-ebooks-login-cta p {
    margin: 0;

    color: rgba(255, 255, 255, 0.73);

    font-size: 11px;
}


.public-ebooks-login-button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 18px;

    border-radius: 9px;

    background: #f37021;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}


.public-ebooks-login-button:hover {
    background: #db6116;
    color: #ffffff;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .public-ebook-item {
        grid-template-columns:
            90px
            minmax(0, 1fr);
    }


    .public-ebook-access {
        grid-column: 1 / -1;

        flex-direction: row;

        align-items: center;
        justify-content: flex-end;
    }


    .public-ebooks-filter-form,
    .public-ebooks-heading {
        align-items: flex-start;

        flex-direction: column;
    }

}


@media (max-width: 650px) {

    .public-ebooks-section {
        padding: 50px 0 65px;
    }


    .public-ebooks-heading h2 {
        font-size: 31px;
    }


    .public-filter-controls {
        width: 100%;

        flex-direction: column;

        align-items: stretch;
    }


    .public-category-select {
        width: 100%;
        min-width: 0;
    }


    .public-ebook-item {
        grid-template-columns:
            72px
            minmax(0, 1fr);

        gap: 14px;

        padding: 14px;
    }


    .public-ebook-cover {
        width: 66px;
        height: 92px;
    }


    .public-ebook-info h3 {
        font-size: 14px;
    }


    .public-ebook-meta {
        flex-direction: column;

        gap: 5px;
    }


    .public-ebook-access {
        flex-direction: column;

        align-items: stretch;
    }


    .public-ebooks-login-cta {
        grid-template-columns: 1fr;
    }


    .public-ebooks-login-button {
        width: 100%;
    }

}
/* PUBLIC PAST EXAM PAGE */

.public-exam-section {
    padding: 75px 0 90px;

    background: #f6f8fb;
}


/* HEADING */

.public-exam-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;
}


.public-exam-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #f37021;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.4px;

    text-transform: uppercase;
}


.public-exam-heading h2 {
    margin: 0 0 8px;

    color: #071b33;

    font-size: 38px;
    font-weight: 800;
}


.public-exam-heading p {
    margin: 0;

    color: #65748a;

    font-size: 13px;
}


.public-exam-count {
    min-height: 44px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 16px;

    border-radius: 12px;

    background: #fff1e8;

    color: #071b33;

    font-size: 12px;
    font-weight: 700;
}


.public-exam-count i {
    color: #f37021;
}


/* FILTER BAR */

.public-exam-filter {
    margin-bottom: 28px;

    padding: 16px;

    background: #ffffff;

    border: 1px solid #e1e7ed;

    border-radius: 16px;

    box-shadow:
        0 8px 25px
        rgba(7, 31, 54, 0.04);
}


.public-exam-filter-form {
    display: flex;
    align-items: center;

    gap: 10px;
}


.public-exam-search {
    min-height: 44px;

    flex: 1;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 14px;

    border: 1px solid #dfe5eb;
    border-radius: 10px;

    background: #f8fafc;
}


.public-exam-search i {
    color: #9ba7b5;
}


.public-exam-search input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #071b33;

    font-size: 11px;
}


.public-exam-select {
    min-width: 200px;
    height: 44px;

    padding: 0 13px;

    border: 1px solid #dfe5eb;
    border-radius: 10px;

    background: #f8fafc;

    color: #071b33;

    font-size: 11px;

    outline: none;
}


.public-exam-select.year {
    min-width: 170px;
}


.public-exam-select:focus,
.public-exam-search:focus-within {
    border-color: #f37021;
}


.public-exam-filter-button {
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 18px;

    border: 0;
    border-radius: 10px;

    background: #071f36;

    color: #ffffff;

    cursor: pointer;

    font-size: 11px;
    font-weight: 700;
}


.public-exam-reset {
    height: 44px;

    display: flex;
    align-items: center;

    padding: 0 12px;

    color: #f37021;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}


/* EXAM LIST */

.public-exam-list {
    display: flex;
    flex-direction: column;

    gap: 13px;
}


.public-exam-item {
    display: grid;

    grid-template-columns:
        65px
        minmax(0, 1fr)
        190px;

    align-items: center;

    gap: 20px;

    padding: 19px;

    background: #ffffff;

    border: 1px solid #e1e7ed;

    border-radius: 15px;

    box-shadow:
        0 8px 24px
        rgba(7, 31, 54, 0.045);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.public-exam-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px
        rgba(7, 31, 54, 0.07);
}


/* EXAM ICON */

.public-exam-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #fff1e8;

    color: #f37021;

    font-size: 22px;
}


/* EXAM INFORMATION */

.public-exam-programme {
    display: inline-flex;

    margin-bottom: 7px;

    padding: 5px 9px;

    border-radius: 7px;

    background: #eef3f7;

    color: #52657b;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.7px;

    text-transform: uppercase;
}


.public-exam-title-row {
    display: flex;
    align-items: baseline;

    gap: 9px;

    flex-wrap: wrap;
}


.public-exam-code {
    color: #f37021;

    font-size: 11px;
    font-weight: 800;
}


.public-exam-title-row h3 {
    margin: 0;

    color: #071b33;

    font-size: 16px;
    font-weight: 750;

    line-height: 1.35;
}


.public-exam-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 20px;

    margin-top: 9px;
}


.public-exam-meta span {
    display: flex;
    align-items: center;

    gap: 6px;

    color: #8793a2;

    font-size: 10px;
}


.public-exam-meta i {
    color: #9ba6b3;
}


/* LOGIN ACCESS */

.public-exam-access {
    display: flex;
    flex-direction: column;

    gap: 9px;
}


.public-exam-login-required {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    color: #7e8a9a;

    font-size: 9px;
    font-weight: 700;
}


.public-exam-login-required i {
    color: #f37021;
}


.public-exam-login-button {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 13px;

    border-radius: 9px;

    background: #f37021;

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;
}


.public-exam-login-button:hover {
    background: #db6116;

    color: #ffffff;
}


/* EMPTY */

.public-exam-empty {
    padding: 80px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e1e7ed;

    border-radius: 16px;
}


.public-exam-empty > i {
    display: block;

    margin-bottom: 12px;

    color: #f37021;

    font-size: 38px;
}


.public-exam-empty h3 {
    margin: 0 0 7px;

    color: #071b33;

    font-size: 18px;
}


.public-exam-empty p {
    margin: 0;

    color: #788699;

    font-size: 11px;
}


/* LOGIN CTA */

.public-exam-login-cta {
    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 18px;

    margin-top: 35px;

    padding: 26px 28px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #071f36,
            #0b3c61
        );

    box-shadow:
        0 14px 35px
        rgba(7, 31, 54, 0.12);
}


.public-exam-login-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(243, 112, 33, 0.14);

    color: #f37021;

    font-size: 22px;
}


.public-exam-login-cta span {
    display: block;

    margin-bottom: 4px;

    color: #f37021;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.public-exam-login-cta h3 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 19px;
}


.public-exam-login-cta p {
    margin: 0;

    color: rgba(255,255,255,0.73);

    font-size: 11px;
}


.public-exam-cta-button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 18px;

    border-radius: 9px;

    background: #f37021;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}


.public-exam-cta-button:hover {
    background: #db6116;

    color: #ffffff;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .public-exam-filter-form {
        flex-wrap: wrap;
    }


    .public-exam-search {
        flex-basis: 100%;
    }


    .public-exam-item {
        grid-template-columns:
            55px
            minmax(0, 1fr);
    }


    .public-exam-access {
        grid-column: 1 / -1;

        flex-direction: row;

        align-items: center;
        justify-content: flex-end;
    }


    .public-exam-heading {
        align-items: flex-start;

        flex-direction: column;
    }

}


@media (max-width: 650px) {

    .public-exam-section {
        padding: 50px 0 65px;
    }


    .public-exam-heading h2 {
        font-size: 31px;
    }


    .public-exam-filter-form {
        flex-direction: column;

        align-items: stretch;
    }


    .public-exam-select,
    .public-exam-select.year {
        width: 100%;
        min-width: 0;
    }


    .public-exam-item {
        grid-template-columns:
            45px
            minmax(0, 1fr);

        gap: 12px;

        padding: 14px;
    }


    .public-exam-icon {
        width: 42px;
        height: 42px;

        font-size: 18px;
    }


    .public-exam-title-row {
        display: block;
    }


    .public-exam-code {
        display: block;

        margin-bottom: 4px;
    }


    .public-exam-title-row h3 {
        font-size: 14px;
    }


    .public-exam-meta {
        flex-direction: column;

        gap: 5px;
    }


    .public-exam-access {
        flex-direction: column;

        align-items: stretch;
    }


    .public-exam-login-cta {
        grid-template-columns: 1fr;
    }


    .public-exam-cta-button {
        width: 100%;
    }

}
/* NMUC NAVBAR - LOGGED IN USER DROPDOWN */

/* Main user account button */
.nav-user-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 9px 14px;

    background: #ffffff;
    color: #08243c;

    border: 1px solid #e3e9ef;
    border-radius: 10px;

    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;
    cursor: pointer;

    box-shadow: 0 3px 12px rgba(8, 36, 60, 0.06);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


/* User icon */
.nav-user-button .bi-person-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    background: #fff0e7;
    color: #f36b21;

    border-radius: 8px;

    font-size: 15px;
}


/* Username */
.nav-user-button span {
    color: #08243c;
    font-weight: 600;
}


/* Bootstrap dropdown arrow */
.nav-user-button.dropdown-toggle::after {
    margin-left: 3px;

    vertical-align: middle;

    border-top: 5px solid #718096;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;

    transition: transform 0.25s ease;
}


/* Hover */
.nav-user-button:hover {
    background: #fffaf7;

    border-color: #f36b21;

    color: #f36b21;

    box-shadow:
        0 6px 20px rgba(8, 36, 60, 0.10);

    transform: translateY(-1px);
}


/* Hover username */
.nav-user-button:hover span {
    color: #f36b21;
}


/* Focus */
.nav-user-button:focus {
    background: #ffffff;
    color: #08243c;

    border-color: #f36b21;

    outline: none;

    box-shadow:
        0 0 0 3px rgba(243, 107, 33, 0.12),
        0 6px 18px rgba(8, 36, 60, 0.08);
}


/* When dropdown is open */
.nav-user-button.show {
    background: #fff7f2;

    color: #f36b21;

    border-color: #f36b21;

    box-shadow:
        0 0 0 3px rgba(243, 107, 33, 0.10);
}


/* Username while open */
.nav-user-button.show span {
    color: #f36b21;
}


/* Rotate arrow when dropdown opens */
.nav-user-button.show::after {
    transform: rotate(180deg);
}


/* DROPDOWN MENU */

.navbar .dropdown-menu {
    min-width: 220px;

    margin-top: 10px !important;

    padding: 8px;

    background: #ffffff;

    border: 1px solid #e6ebf0;
    border-radius: 14px;

    box-shadow:
        0 15px 40px rgba(8, 36, 60, 0.14);

    font-family: 'Poppins', sans-serif;
}


/* Dropdown links */
.navbar .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 11px 12px;

    color: #34495e;

    border-radius: 9px;

    font-size: 12.5px;
    font-weight: 500;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* Icons inside dropdown */
.navbar .dropdown-menu .dropdown-item i {
    width: 21px;

    color: #f36b21;

    font-size: 15px;

    text-align: center;
}


/* Dropdown hover */
.navbar .dropdown-menu .dropdown-item:hover {
    background: #fff3eb;

    color: #f36b21;

    transform: translateX(2px);
}


/* DROPDOWN DIVIDER */

.navbar .dropdown-divider {
    margin: 7px 4px;

    border-color: #edf0f3;
}


/* LOGOUT OPTION */

.navbar .dropdown-menu .dropdown-item.text-danger {
    color: #dc3545 !important;
}
.navbar .dropdown-menu .dropdown-item.text-danger i {
    color: #dc3545;
}
.navbar .dropdown-menu .dropdown-item.text-danger:hover {
    background: #fff1f2;

    color: #dc3545 !important;
}


/* MOBILE */

@media (max-width: 991.98px) {

    .nav-user-button {
        width: 100%;

        justify-content: flex-start;

        margin-top: 8px;
    }


    .navbar .dropdown-menu {
        width: 100%;

        margin-top: 5px !important;

        box-shadow: none;
    }

}

/* NMUC LIBRARY - FINAL MOBILE NAVBAR */

@media (max-width: 991.98px) {

    /* PAGE */

    html,
    body {
        width: 100%;
        max-width: 100%;

        overflow-x: hidden;
    }


    /*The navbar is fixed, so we need space at the top to prevent the hero/content from hiding underneath it. */
    body {
        padding-top: 76px;
    }


    /* HIDE DESKTOP TOP BAR */

    .nmuc-topbar {
        display: none !important;
    }


    /* FIXED NAVBAR */

    .nmuc-navbar {
        position: fixed !important;

        top: 0;
        left: 0;
        right: 0;

        width: 100%;

        z-index: 9999;

        padding: 10px 0 !important;

        background: #ffffff !important;

        border-bottom: 1px solid #e9edf2;

        box-shadow:
            0 5px 18px
            rgba(7, 31, 54, 0.08);
    }


    .nmuc-navbar .nmuc-container {
        position: relative;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding-left: 16px;
        padding-right: 16px;
    }


    /* LOGO */

    .nmuc-brand {
        margin: 0;
        padding: 0;
    }


    .nmuc-header-logo {
        display: block;

        width: 170px;
        max-width: 62vw;

        height: auto;

        object-fit: contain;
    }


    /* HAMBURGER */

    .nmuc-navbar .navbar-toggler {
        width: 43px;
        height: 43px;

        display: flex;
        align-items: center;
        justify-content: center;

        flex-shrink: 0;

        padding: 0;

        background: #f37021;

        border: 0 !important;
        border-radius: 10px;

        outline: 0;

        box-shadow:
            0 5px 14px
            rgba(243, 112, 33, 0.20);
    }


    .nmuc-navbar .navbar-toggler:focus {
        box-shadow:
            0 0 0 3px
            rgba(243, 112, 33, 0.15);
    }


    .nmuc-navbar .navbar-toggler-icon {
        width: 20px;
        height: 20px;

        filter:
            brightness(0)
            invert(1);
    }


    /* MAIN MOBILE MENU */

    #nmucNavbar {
        position: absolute !important;

        top: calc(100% + 8px);

        left: 14px;
        right: 14px;

        width: auto;

        max-height: calc(100vh - 100px);

        overflow-y: auto;

        margin: 0 !important;
        padding: 8px;

        background: #ffffff;

        border: 1px solid #e4e9ef;
        border-radius: 14px;

        box-shadow:
            0 16px 38px
            rgba(7, 31, 54, 0.15);
    }


    #nmucNavbar .navbar-nav {
        width: 100%;

        margin: 0 !important;

        align-items: stretch !important;
    }


    /* NORMAL MENU LINKS */

    #nmucNavbar .nav-item {
        width: 100%;

        margin: 0 !important;
    }


    #nmucNavbar .nav-link {
        width: 100%;

        min-height: 44px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 0 13px !important;

        background: transparent !important;

        color: #0b2037 !important;

        font-family: 'Poppins', sans-serif;
        font-size: 13px;
        font-weight: 500;

        border-radius: 8px;

        text-transform: none;

        transition:
            background 0.18s ease,
            color 0.18s ease;
    }


    #nmucNavbar .nav-link:hover,
    #nmucNavbar .nav-link:focus {
        background: #fff6f0 !important;

        color: #f37021 !important;
    }


    /* Active page: much simpler than the previous large orange block. */
    #nmucNavbar .nav-link.active {
        background: transparent !important;

        color: #f37021 !important;

        font-weight: 600;
    }


    /* Remove desktop decorative lines/dots */

    #nmucNavbar .nav-link::before {
        display: none !important;
    }


    /* ABOUT / RESOURCES ARROW */

    #nmucNavbar .nav-link.dropdown-toggle::after {
        display: inline-block !important;

        margin-left: auto;

        border-top: 4px solid currentColor;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;

        color: #8b98a7;

        transition: transform 0.2s ease;
    }


    #nmucNavbar .nav-link.dropdown-toggle.show {
        color: #f37021 !important;
    }


    #nmucNavbar .nav-link.dropdown-toggle.show::after {
        transform: rotate(180deg);

        color: #f37021;
    }


    /*  SIMPLE MOBILE DROPDOWN
   ABOUT US + RESOURCES */

@media (max-width: 991.98px) {

    /* Parent dropdown link */
    #nmucNavbar .nav-link.dropdown-toggle {
        background: transparent !important;
        color: #0b2037 !important;

        font-weight: 500;

        padding-left: 13px !important;
        padding-right: 13px !important;
    }


    /* When dropdown is open */
    #nmucNavbar .nav-link.dropdown-toggle.show {
        background: transparent !important;
        color: #f37021 !important;
    }


    /* Small arrow only */
    #nmucNavbar .nav-link.dropdown-toggle::after {
        margin-left: auto;

        border-top: 4px solid currentColor;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;

        color: #8b98a7;

        transition: none !important;
    }


    /* Don't rotate / animate arrow */
    #nmucNavbar .nav-link.dropdown-toggle.show::after {
        transform: none !important;

        color: #f37021;
    }


    /* SUBMENU */
    #nmucNavbar .dropdown-menu {
        position: static !important;

        width: 100%;

        margin: 0 !important;
        padding: 0 0 4px 20px !important;

        transform: none !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;
    }


    /* Remove decorative orange line */
    #nmucNavbar .dropdown-menu.show {
        border-left: 0 !important;
    }


    /* Submenu item */
    #nmucNavbar .dropdown-item {
        min-height: 34px;

        display: flex;
        align-items: center;

        padding: 6px 10px !important;

        background: transparent !important;

        color: #6e7b8c !important;

        font-size: 12px;
        font-weight: 400;

        border-radius: 0 !important;

        transition: none !important;
    }


    /* Very subtle hover */
    #nmucNavbar .dropdown-item:hover,
    #nmucNavbar .dropdown-item:focus {
        background: transparent !important;

        color: #f37021 !important;
    }

}


    /* LOGIN */

    #nmucNavbar .nav-login-button {
        width: 100%;

        min-height: 44px;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        gap: 9px;

        margin-top: 7px;

        padding: 0 13px;

        background: #fff5ee;

        color: #f37021;

        border: 1px solid #f8d5bf;
        border-radius: 9px;

        font-size: 12px;
        font-weight: 600;

        text-decoration: none;
    }


    /* LOGGED-IN USER */

    #nmucNavbar .nav-user-button {
        width: 100%;

        min-height: 44px;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        gap: 9px;

        margin-top: 7px;

        padding: 0 12px;

        background: #fff8f4;

        color: #0b2037;

        border: 1px solid #f4d5c2;
        border-radius: 9px;

        box-shadow: none;
    }


    #nmucNavbar .nav-user-button span {
        flex: 1;

        overflow: hidden;

        color: #0b2037;

        font-size: 12px;
        font-weight: 600;

        text-align: left;

        text-overflow: ellipsis;
        white-space: nowrap;
    }


    #nmucNavbar .nav-user-button .bi-person-circle {
        color: #f37021;
    }


    /* User Dashboard / Logout submenu */

    #nmucNavbar .nav-user-button + .dropdown-menu {
        padding-left: 12px !important;

        border-left:
            2px solid
            #f37021 !important;
    }


    /* OPAC */

    #nmucNavbar .btn-opac {
        width: 100%;

        min-height: 45px;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 8px;

        margin-top: 8px;

        padding: 0 15px;

        background: #f37021;

        color: #ffffff;

        border: 0;
        border-radius: 9px;

        font-size: 12px;
        font-weight: 600;

        text-decoration: none;

        box-shadow:
            0 6px 16px
            rgba(243, 112, 33, 0.18);
    }


    #nmucNavbar .btn-opac:hover {
        background: #dc621a;

        color: #ffffff;
    }

}
/* ADMIN DASHBOARD - FINAL MO BILE TOPBAR Desktop remains unchanged*/

@media (max-width: 991.98px) {

    /* MAIN */
    .admin-main {
        width: 100% !important;
        margin-left: 0 !important;
        padding-top: 76px !important;
    }


    /* TOPBAR */
    .admin-topbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        z-index: 1100 !important;

        width: 100% !important;
        height: 76px !important;
        min-height: 76px !important;

        padding: 10px 16px !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;

        gap: 12px !important;

        background: #ffffff !important;

        border-bottom: 1px solid #e7ebef !important;

        box-shadow:
            0 4px 15px rgba(7, 31, 54, 0.07) !important;

        box-sizing: border-box !important;
    }


    /* LEFT TITLE BLOCK */
    .admin-topbar > div:first-of-type {
        flex: 1 1 auto !important;

        width: auto !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: left !important;
    }


    .admin-topbar > div:first-of-type > span {
        display: block !important;

        margin: 0 0 2px 0 !important;

        font-size: 9px !important;
        line-height: 1.1 !important;

        font-weight: 600 !important;

        letter-spacing: 1.2px !important;

        text-transform: uppercase;
    }


    .admin-topbar h1 {
        margin: 0 !important;
        padding: 0 !important;

        font-size: 20px !important;
        line-height: 1.15 !important;

        font-weight: 700 !important;

        text-align: left !important;
    }


    /* HAMBURGER */
    .portal-menu-toggle {
        display: flex !important;

        flex: 0 0 42px !important;

        width: 42px !important;
        height: 42px !important;

        margin: 0 !important;
        padding: 0 !important;

        align-items: center !important;
        justify-content: center !important;

        border: 0 !important;
        border-radius: 12px !important;

        background: #ff7417 !important;

        color: #ffffff !important;

        font-size: 22px !important;

        box-shadow: none !important;
    }


    /* ADMIN PROFILE */
    .admin-profile {
        display: flex !important;

        flex: 0 0 auto !important;

        width: auto !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        align-items: center !important;

        background: transparent !important;

        border: none !important;

        box-shadow: none !important;
    }


    .admin-profile-icon {
        width: 42px !important;
        height: 42px !important;

        min-width: 42px !important;

        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border-radius: 12px !important;
    }


    /* Hide name on mobile */
    .admin-profile > div:last-child {
        display: none !important;
    }


    /* CONTENT */
    .admin-content {
        width: 100% !important;

        padding:
            18px
            16px
            30px
            16px !important;
            margin-top: 0 !important;
    }


    /* WELCOME CARD */
    .admin-welcome {
        width: 100% !important;

        margin: 0 0 22px 0 !important;

        padding: 24px 22px !important;

        min-height: 0 !important;

        border-radius: 18px !important;

        box-sizing: border-box !important;
    }


    .admin-welcome span {
        font-size: 10px !important;

        letter-spacing: 1.4px !important;
    }


    .admin-welcome h2 {
        margin:
            8px
            0
            8px !important;

        font-size: 26px !important;
        line-height: 1.2 !important;
    }


    .admin-welcome p {
        margin: 0 !important;

        max-width: 90%;

        font-size: 13px !important;
        line-height: 1.6 !important;
    }


    /* Decorative large icon */
    .admin-welcome > i {
        font-size: 72px !important;

        opacity: 0.08 !important;
    }


    /* STATS */
    .admin-stat-card {
        min-height: 130px !important;

        padding: 22px !important;

        border-radius: 18px !important;
    }


    .admin-stat-icon {
        width: 58px !important;
        height: 58px !important;

        min-width: 58px !important;
    }


    .admin-stat-card strong {
        font-size: 34px !important;
    }


    /* SECTION TITLE */
    .admin-section-header {
        margin-top: 28px !important;
        margin-bottom: 16px !important;
    }


    .admin-section-header h2 {
        font-size: 26px !important;
    }

}


/* SMALL PHONES */

@media (max-width: 480px) {

    .admin-topbar {
        height: 72px !important;
        min-height: 72px !important;

        padding: 9px 14px !important;
    }


    .admin-main {
        padding-top: 72px !important;
    }


    .portal-menu-toggle {
        width: 40px !important;
        height: 40px !important;

        flex-basis: 40px !important;

        border-radius: 11px !important;
    }


    .admin-profile-icon {
        width: 40px !important;
        height: 40px !important;

        min-width: 40px !important;

        border-radius: 11px !important;
    }


    .admin-topbar h1 {
        font-size: 19px !important;
    }


    .admin-content {
        padding:
            16px
            14px
            28px
            14px !important;
            margin-top: 0 !important;
    }


    .admin-welcome {
        padding: 22px 18px !important;

        border-radius: 16px !important;
    }


    .admin-welcome h2 {
        font-size: 24px !important;
    }


    .admin-welcome p {
        max-width: 100%;

        font-size: 12px !important;
    }


    .admin-stat-card {
        min-height: 120px !important;

        padding: 20px !important;
    }

}
/* ADMIN MOBILE - REMOVE GAP BELOW TOPBAR */

@media (max-width: 991.98px) {

    .admin-main {
        padding-top: 76px !important;
    }

    .admin-content {
        padding-top: 16px !important;
        margin-top: 0 !important;
    }

    .admin-welcome {
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {

    .admin-main {
        padding-top: 72px !important;
    }

    .admin-content {
        padding-top: 14px !important;
    }
}