: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:
        Inter,
        Arial,
        Helvetica,
        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:
        800;

    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: 750;

    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);
}


/* FACILITIES */

.facilities-section {
    padding:
        110px 0;

    background:
        white;
}

.facility-card {
    position:
        relative;

    min-height:
        390px;

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

    overflow:
        hidden;

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

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

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

.facility-card:hover {
    transform:
        translateY(-10px) scale(1.01);

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

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

    position:
        absolute;

    inset:
        0;

    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(232,109,31,.35),
            transparent 35%
        );
}

.facility-overlay {
    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(0,0,0,.68)
        );
}

.facility-content {
    position:
        absolute;

    left:
        30px;

    right:
        30px;

    bottom:
        28px;

    z-index:
        2;

    color:
        white;

    transition:
        transform 0.3s ease;
}

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


/* 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: 420px;
    height: 420px;

    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: 2;
}


/* 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;
    }
}

/* NMUC LIBRARY - LOGIN PAGE */

.login-page {
    position: relative;
    min-height: 650px;
    padding: 80px 0 100px;
    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(232, 109, 31, 0.09),
            transparent 28%
        ),
        #f8fafc;
    overflow: hidden;
}

/* Decorative background circle */
.login-page::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(7, 28, 51, 0.035);
    left: -180px;
    bottom: -200px;
}


/* MAIN CONTAINER */

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


/* LEFT SIDE */

.login-intro {
    padding-right: 50px;
}

.login-eyebrow {
    display: inline-block;
    margin-bottom: 18px;

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

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.login-title {
    margin-bottom: 20px;

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

    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
}

.login-title span {
    color: var(--nmuc-orange, #e86d1f);
}

.login-description {
    max-width: 540px;
    margin-bottom: 36px;

    color: #667085;

    font-size: 17px;
    line-height: 1.8;
}


/* LOGIN FEATURES */

.login-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.login-benefit {
    display: flex;
    align-items: center;
    gap: 14px;

    color: #344054;

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

.login-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    border-radius: 13px;

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

    font-size: 19px;
}


/*  LOGIN CARD */

.login-card {
    position: relative;

    max-width: 500px;
    margin-left: auto;

    padding: 42px;

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

    background: #ffffff;

    box-shadow:
        0 25px 70px rgba(7, 28, 51, 0.10);

    overflow: hidden;
}


/* Orange top accent */

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

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #e86d1f,
        #ff8a3d
    );
}


/* Login icon */

.login-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 24px;

    border-radius: 17px;

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

    font-size: 25px;
}


/* Heading */

.login-card h2 {
    margin: 0 0 8px;

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

    font-size: 32px;
    font-weight: 800;
}

.login-card-subtitle {
    margin-bottom: 30px;

    color: #667085;

    font-size: 15px;
}


/* FORM */

.login-form-group {
    margin-bottom: 20px;
}

.login-form-group label {
    display: block;

    margin-bottom: 8px;

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

    font-size: 14px;
    font-weight: 700;
}


/* Input wrapper */

.login-input-wrapper {
    position: relative;
}

.login-input-wrapper > i {
    position: absolute;

    top: 50%;
    left: 17px;

    transform: translateY(-50%);

    color: #98a2b3;

    font-size: 17px;

    pointer-events: none;
}


/* Inputs */

.login-input {
    width: 100%;
    height: 56px;

    padding: 0 48px;

    border: 1px solid #dfe3e8;
    border-radius: 14px;

    background: #f9fafb;

    color: #101828;

    font-size: 15px;

    outline: none;

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

.login-input::placeholder {
    color: #98a2b3;
}

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

    background: #ffffff;

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


/* PASSWORD TOGGLE */

.password-toggle {
    position: absolute;

    top: 50%;
    right: 15px;

    transform: translateY(-50%);

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

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    border-radius: 9px;

    background: transparent;
    color: #667085;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.password-toggle:hover {
    background: #fff1e8;
    color: var(--nmuc-orange, #e86d1f);
}


/* LOGIN BUTTON */

.login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    height: 56px;

    margin-top: 28px;

    border: none;
    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #e86d1f,
        #dc5710
    );

    color: #ffffff;

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

    cursor: pointer;

    box-shadow:
        0 12px 25px rgba(232, 109, 31, 0.25);

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

.login-submit:hover {
    transform: translateY(-2px);

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

.login-submit:active {
    transform: translateY(0);
}


/* ERROR MESSAGE */

.login-error {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;
    padding: 13px 15px;

    border: 1px solid #fecaca;
    border-radius: 12px;

    background: #fef2f2;

    color: #b42318;

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


/* LOGIN FOOT NOTE */

.login-help {
    margin-top: 25px;
    padding-top: 22px;

    border-top: 1px solid #eaecf0;

    text-align: center;

    color: #667085;

    font-size: 13px;
}

.login-help i {
    margin-right: 5px;

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


/* RESPONSIVE */

@media (max-width: 991px) {

    .login-page {
        padding: 60px 0 80px;
    }

    .login-intro {
        padding-right: 0;
        margin-bottom: 45px;
    }

    .login-card {
        max-width: 100%;
        margin: 0;
    }

    .login-title {
        font-size: 48px;
    }
}


@media (max-width: 576px) {

    .login-page {
        padding: 45px 0 60px;
    }

    .login-title {
        font-size: 39px;
        letter-spacing: -1px;
    }

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

    .login-card {
        padding: 30px 22px;

        border-radius: 22px;
    }

    .login-card h2 {
        font-size: 27px;
    }

    .login-input {
        height: 54px;
    }

    .login-submit {
        height: 54px;
    }
}
/* NMUC LIBRARY ADMIN DASHBOARD */

.admin-body {
    margin: 0;
    background: #f5f7fa;
    color: var(--text-dark, #111827);
    font-family:
        Inter,
        Arial,
        Helvetica,
        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: left;

    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;
}