/*=========ADMIN STYLE=========*/

.admin-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: #f3f5f9;
    color: #202b3d;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.admin-header {
    background: linear-gradient(115deg, #17243d, #283956 65%, #7e203c);
    color: #fff;
    box-shadow: 0 4px 20px rgb(20 35 60 / 12%);
}

.admin-brand,
.admin-brand:hover {
    color: #fff;
    text-decoration: none;
}

    .admin-brand img {
        object-fit: contain;
    }

    .admin-brand small {
        color: #d4dceb;
    }

.admin-navigation {
    background: rgb(0 0 0 / 18%);
    border-top: 1px solid rgb(255 255 255 / 12%);
}

    .admin-navigation .navbar-nav {
        width: 100%;
        gap: 0.5rem;
    }

    .admin-navigation .nav-link {
        color: #edf1f8;
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        font-weight: 500;
    }

        .admin-navigation .nav-link:hover,
        .admin-navigation .nav-link:focus-visible,
        .admin-navigation .nav-link.show {
            background: rgb(255 255 255 / 12%);
            color: #fff;
        }

    .admin-navigation .dropdown-menu {
        border: 1px solid #e3e7ee;
        border-radius: 0.75rem;
        padding: 0.5rem;
        box-shadow: 0 12px 30px rgb(20 35 60 / 14%);
    }

    .admin-navigation .dropdown-item {
        padding: 0.65rem 0.85rem;
        border-radius: 0.4rem;
    }

        .admin-navigation .dropdown-item:hover {
            background: #f3e9ed;
            color: #842343;
        }

.admin-footer {
    background: #fff;
    border-top: 1px solid #e3e7ee;
    color: #647084;
    font-size: 0.875rem;
}

/* Styles used by your existing Dashboard view. */
.action-tile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid #e7eaf0;
    border-radius: 0.85rem;
    background: #fff;
    color: #202b3d;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

    .action-tile:hover,
    .action-tile:focus-visible {
        background: #f8f3f5;
        border-color: #b97088;
        color: #842343;
    }

.action-icon,
.avatar-circle {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

    .action-icon.page {
        background: #e8efff;
        color: #345ab0;
    }

    .action-icon.pdf {
        background: #fbe8ee;
        color: #a3254a;
    }

    .action-icon.nav {
        background: #fff1d6;
        color: #8b600d;
    }

    .action-icon.user {
        background: #e1f3ec;
        color: #247657;
    }

.avatar-circle {
    width: 34px;
    height: 34px;
    background: #edf0f6;
    color: #344768;
    border-radius: 50%;
    font-weight: 700;
}

.activity-table th {
    white-space: nowrap;
}

@media (min-width: 992px) {
    .admin-navigation .navbar-nav > .nav-item:last-child {
        margin-left: auto;
    }
}

/*============================*/



/* ═══════════════════════════════════════════════════════════
   AWES — Header & Navbar
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Brand palette — deep, institutional */
    --nav-maroon: #7a1220;
    --nav-maroon-dark: #4d0a14;
    --nav-navy: #0f1e3d;
    --nav-navy-light: #1c3155;
    --nav-gold: #b8922e;
    --nav-gold-light: #d9b45a;
    --nav-line: #e8ebf0;
    --nav-muted: #64748b;
    --nav-ink: #172033;
    --nav-ease: cubic-bezier(.4, 0, .2, 1);
    --nav-ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ═══════════════ TOP BAR (brand) ═══════════════ */
.awes-topbar {
    /*background: #fff;*/
    /*background: linear-gradient(45deg, #5b1e9d, #a64b0b);*/
    background: url(/images/H-img2.jpg);
    border-bottom: 1px solid var(--nav-line);
    position: relative;
    background-size: cover;
}

    .awes-topbar::before {
        content: '';
        display: block;
        height: 3px;
        background: linear-gradient(90deg, var(--nav-maroon) 0%, var(--nav-gold) 50%, var(--nav-maroon) 100%);
        background-size: 200% 100%;
        animation: topbarSheen 8s ease-in-out infinite;
    }

@keyframes topbarSheen {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.awes-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 14px;
    min-height: 88px;
}

.awes-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    min-width: 0;
}

.awes-logo {
    height: 76px;
    width: auto;
    transition: transform .35s var(--nav-ease-out);
}

.awes-brand:hover .awes-logo {
    transform: scale(1.03);
}

.awes-brand-text {
    min-width: 0;
}

.awes-title {
    display: block;
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 800;
    /* font-size: clamp(1.05rem, 1.7vw, 1.5rem); */
    line-height: 1.5;
    letter-spacing: -0.4px;
}

.awes-subtitle {
    display: block;
    color: rgb(230 240 255);
    font-size: 0.9rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

/* ── Top bar actions ── */
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.top-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--nav-maroon);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(122, 18, 32, .05);
    border: 1px solid transparent;
    transition: all .25s var(--nav-ease);
}

    .top-pill i {
        font-size: 0.9rem;
        transition: transform .3s var(--nav-ease-out);
    }

    .top-pill:hover {
        background: #fff;
        border-color: var(--nav-maroon);
        color: var(--nav-maroon-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(122, 18, 32, .12);
    }

        .top-pill:hover i {
            transform: rotate(-8deg) scale(1.1);
        }

.india-flag {
    height: 74px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
    transition: transform .3s var(--nav-ease-out), box-shadow .3s var(--nav-ease-out);
}

    .india-flag:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(15, 23, 42, .15);
    }

/* ═══════════════ NAVBAR ═══════════════ */
.awes-navbar {
    background: linear-gradient(90deg, var(--nav-navy) 0%, var(--nav-maroon-dark) 100%);
    padding: 0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, .12);
    border-bottom: 2px solid var(--nav-gold);
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: saturate(180%) blur(8px);
}

    .awes-navbar .navbar-nav {
        gap: 2px;
    }

    .awes-navbar .nav-link {
        color: rgba(255, 255, 255, .88) !important;
        font-size: 13px;
        font-weight: 500;
        padding: 15px 18px !important;
        position: relative;
        letter-spacing: 0.3px;
        text-transform: uppercase;
        transition: color .25s var(--nav-ease), background .25s var(--nav-ease);
    }

        .awes-navbar .nav-link i {
            color: var(--nav-gold-light);
            transition: transform .3s var(--nav-ease-out);
        }

        .awes-navbar .nav-link:hover i {
            transform: scale(1.15);
        }

        /* Animated gold underline */
        .awes-navbar .nav-link:not(.dropdown-toggle)::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 8px;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--nav-gold-light), var(--nav-gold));
            transform: translateX(-50%);
            transition: width .3s var(--nav-ease-out);
            border-radius: 2px;
            box-shadow: 0 0 8px rgba(184, 146, 46, .6);
        }

        .awes-navbar .nav-link:not(.dropdown-toggle):hover::after {
            width: calc(100% - 28px);
        }

        .awes-navbar .nav-link:hover,
        .awes-navbar .nav-link:focus-visible {
            color: #fff !important;
            background: rgba(255, 255, 255, .06);
        }

    /* Dropdown caret */
    .awes-navbar .dropdown-toggle::after {
        margin-left: 6px;
        border-top-color: currentColor;
        transition: transform .25s var(--nav-ease-out);
    }

    .awes-navbar .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    /* Dropdown menu */
    .awes-navbar .dropdown-menu {
        border: 1px solid var(--nav-line);
        border-radius: 10px;
        padding: 6px;
        box-shadow: 0 24px 48px rgba(15, 23, 42, .16), 0 4px 12px rgba(15, 23, 42, .06);
        min-width: 240px;
        margin-top: 6px;
        animation: navDropdownFade .22s var(--nav-ease-out);
    }

@keyframes navDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.awes-navbar .dropdown-item {
    padding: 10px 14px;
    border-radius: 6px;
    color: var(--nav-ink);
    font-size: 13px;
    font-weight: 500;
    white-space: normal;
    position: relative;
    transition: all .2s var(--nav-ease);
}

    .awes-navbar .dropdown-item:hover,
    .awes-navbar .dropdown-item:focus {
        background: linear-gradient(90deg, rgba(122, 18, 32, .06), rgba(184, 146, 46, .05));
        color: var(--nav-maroon);
        padding-left: 20px;
    }

        .awes-navbar .dropdown-item:hover::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 60%;
            background: var(--nav-gold);
            border-radius: 2px;
        }

    .awes-navbar .dropdown-item.active {
        background: linear-gradient(90deg, var(--nav-maroon), var(--nav-maroon-dark));
        color: #fff;
    }

/* Toggler (mobile) */
.awes-navbar .navbar-toggler {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 6px;
    padding: 6px 12px;
    margin-block: 8px;
    min-height: 42px;
    transition: all .25s var(--nav-ease);
}

    .awes-navbar .navbar-toggler:hover {
        background: rgba(255, 255, 255, .1);
        border-color: var(--nav-gold);
    }

    .awes-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(184, 146, 46, .35);
    }

.awes-menu-label {
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .awes-menu-label i {
        font-size: 1.1rem;
    }

/* ═══════════════ FOOTER ═══════════════ */
.awes-footer {
    background: linear-gradient(120deg, #0a1220 0%, #1a0d12 55%, #0f1e3d 100%);
    color: rgba(255, 255, 255, .82);
    position: relative;
    overflow: hidden;
}

    .awes-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--nav-gold), transparent);
    }

    .awes-footer::after {
        content: '';
        position: absolute;
        bottom: -50px;
        right: -50px;
        width: 220px;
        height: 220px;
        background: radial-gradient(circle, rgba(184, 146, 46, .08) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

.awes-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 28px;
    font-size: 13px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.awes-footer strong {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.awes-footer small {
    color: rgba(255, 255, 255, .55);
}

.awes-footer .go-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nav-gold-light);
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(184, 146, 46, .1);
    border: 1px solid rgba(184, 146, 46, .3);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: all .3s var(--nav-ease-out);
}

    .awes-footer .go-top:hover {
        background: var(--nav-gold);
        color: #0a1220;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(184, 146, 46, .3);
    }

    .awes-footer .go-top i {
        transition: transform .3s var(--nav-ease-out);
    }

    .awes-footer .go-top:hover i {
        transform: translateY(-3px);
    }

/* Skip link */
.awes-site .skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 12px 20px;
    background: #fff;
    color: var(--nav-maroon);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .2);
}

    .awes-site .skip-link:focus {
        top: 12px;
    }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 991.98px) {
    .awes-navbar .navbar-collapse {
        padding: 12px 0 18px;
    }

    .awes-navbar .nav-link {
        padding: 12px 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

        .awes-navbar .nav-link:not(.dropdown-toggle)::after {
            display: none;
        }
}

@media (max-width: 768px) {
    .awes-topbar-inner {
        min-height: 76px;
        padding-block: 12px;
        gap: 12px;
    }

    .awes-logo {
        height: 50px;
    }

    .awes-title {
        font-size: 1rem;
    }

    .awes-subtitle {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .topbar-actions {
        gap: 6px;
    }

    .top-pill {
        padding: 6px 10px;
        font-size: 11.5px;
    }

        .top-pill span {
            display: none;
        }

    .india-flag {
        height: 32px;
    }

    .quality-badge {
        display: none;
    }
}

@media (max-width: 480px) {
    .awes-title {
        font-size: 0.9rem;
    }

    .awes-subtitle {
        display: none;
    }
}



/* ═══════════════════════════════════════════════════════════
   IMPORTANT NOTICE — Horizontal Scrolling Marquee
   ═══════════════════════════════════════════════════════════ */

.notice-bar {
    position: relative;
    border-radius: 26px;
    background: linear-gradient(90deg, #4d0a14 0%, #7a1220 50%, #4d0a14 100%);
    border-bottom: 2px solid var(--nav-gold, #b8922e);
    color: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, .12);
    overflow: hidden;
}

    .notice-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(217, 180, 90, .6), transparent);
    }

.notice-bar-inner {
    display: flex;
    align-items: stretch;
    max-width: 100%;
    height: 44px;
}

/* Left label — fixed, doesn't scroll */
.notice-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    background: yellow;
    color: #ff001f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}

    .notice-label::after {
        content: '';
        position: absolute;
        right: -8px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 22px solid transparent;
        border-bottom: 22px solid transparent;
        border-left: 8px solid #d9b45a;
        z-index: 2;
    }

    .notice-label i {
        font-size: 1rem;
        animation: noticeBell 3s ease-in-out infinite;
    }

@keyframes noticeBell {
    0%, 100% {
        transform: rotate(0deg);
    }

    5% {
        transform: rotate(-12deg);
    }

    10% {
        transform: rotate(12deg);
    }

    15% {
        transform: rotate(-8deg);
    }

    20% {
        transform: rotate(8deg);
    }

    25% {
        transform: rotate(0deg);
    }
}

/* Viewport — clips overflow, holds the track */
.notice-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(77, 10, 20, .95) 0%, rgba(77, 10, 20, 0) 40px), linear-gradient(270deg, rgba(77, 10, 20, .95) 0%, rgba(77, 10, 20, 0) 40px);
    padding-left: 20px;
}

    /* Fade edges — soft mask so text doesn't hard-cut */
    .notice-viewport::before,
    .notice-viewport::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        z-index: 2;
        pointer-events: none;
    }

    .notice-viewport::before {
        left: 0;
        background: linear-gradient(90deg, #7a1220 0%, transparent 100%);
    }

    .notice-viewport::after {
        right: 0;
        background: linear-gradient(270deg, #7a1220 0%, transparent 100%);
    }

/* The scrolling track */
.notice-track {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
    will-change: transform;
    animation: noticeScroll 40s linear infinite;
    padding-left: 100%;
}

/* Pause on hover anywhere in the bar */
.notice-bar:hover .notice-track,
.notice-bar:focus-within .notice-track {
    animation-play-state: paused;
}

@keyframes noticeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.notice-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .95);
    letter-spacing: .2px;
    cursor: default;
    transition: color .25s ease;
}

    .notice-item i {
        color: #d9b45a;
        font-size: 0.7rem;
        flex-shrink: 0;
    }

    .notice-item:hover {
        color: #d9b45a;
    }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .notice-bar-inner {
        height: 40px;
    }

    .notice-label {
        padding: 0 12px;
        font-size: 10.5px;
        letter-spacing: 0.8px;
    }

        .notice-label::after {
            border-top-width: 20px;
            border-bottom-width: 20px;
            border-left-width: 6px;
            right: -6px;
        }

        .notice-label span {
            display: none; /* show only icon on tiny screens */
        }

        .notice-label i {
            font-size: 1.1rem;
        }

    .notice-item {
        font-size: 12px;
    }

    .notice-track {
        gap: 40px;
        animation-duration: 30s;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .notice-track {
        animation: none;
        padding-left: 0;
    }

    .notice-label i {
        animation: none;
    }
}



/* ═══════════════════════════════════════════════════════════
   AWES PORTAL — Professional institutional theme
   ═══════════════════════════════════════════════════════════ */

:root {
    --awes-bg: #f5f6f9;
    --awes-card: #ffffff;
    --awes-line: #e4e7ee;
    --awes-ink: #172033;
    --awes-body: #475569;
    --awes-muted: #94a3b8;
    --awes-radius: 12px;
    --awes-radius-sm: 8px;
    --awes-shadow: 0 1px 3px rgba(15, 23, 42, .04), 0 4px 14px rgba(15, 23, 42, .04);
    --awes-shadow-md: 0 4px 8px rgba(15, 23, 42, .05), 0 16px 32px rgba(15, 23, 42, .08);
    --ease: cubic-bezier(.4, 0, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    /* Institutional accent palette */
    --accent-navy: #1e3a8a;
    --accent-navy-2: #1e40af;
    --accent-teal: #0f766e;
    --accent-teal-2: #0d9488;
    --accent-amber: #b45309;
    --accent-amber-2: #d97706;
    --accent-slate: #334155;
    --accent-slate-2: #475569;
    --accent-maroon: #7a1220;
    --accent-maroon-2: #9a1828;
    --accent-forest: #166534;
    --accent-forest-2: #15803d;
    --accent-copper: #92400e;
    --accent-copper-2: #b45309;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    background: var(--awes-bg);
    color: var(--awes-body);
    -webkit-font-smoothing: antialiased;
}

.awes-shell {
    padding-left: 28px;
    padding-right: 28px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .awes-shell {
        padding-left: 12px;
        padding-right: 12px;
    }
}




/* ═══════════════════════════════════════════════════════════
   FIXED-HEIGHT CARDS 
   ═══════════════════════════════════════════════════════════ */

/* Card wrapper */
.awes-card-fixed {
    height: 242px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.awes-card-fixed-sm {
    height: 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    /* ── CRITICAL: header must NEVER shrink or change height ── */
    .awes-card-fixed > .awes-card-head,
    .awes-card-fixed-sm > .awes-card-head {
        flex: 0 0 auto; /* no grow, no shrink */
        height: 68px; /* fixed height for ALL headers */
        min-height: 68px;
        max-height: 68px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        overflow: hidden;
    }

        /* Same for the icon so it doesn't push the header taller */
        .awes-card-fixed > .awes-card-head .awes-card-icon,
        .awes-card-fixed-sm > .awes-card-head .awes-card-icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
        }

        /* Ensure the h6/span text doesn't wrap and force the header taller */
        .awes-card-fixed > .awes-card-head h6,
        .awes-card-fixed-sm > .awes-card-head h6 {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
        }

        .awes-card-fixed > .awes-card-head span,
        .awes-card-fixed-sm > .awes-card-head span {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
        }

/* ═══════════════════════════════════════════════════════════
   Auto-scroll track — seamless loop, no snap-back
   ═══════════════════════════════════════════════════════════ */

.awes-scroll-fixed {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding: 4px 12px 12px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* Track: block, no gap, no padding on the track itself */
.awes-scroll-track {
    display: block;
    animation: awesScrollUp 5s linear infinite;
    will-change: transform;
}

/* Each pass — must be identical in every way */
.scroll-pass {
    display: block;
    padding: 0;
    margin: 0;
    /* no border, no background, nothing that could differ */
}

    /* Second pass: not interactive, and we hide it from assistive tech */
    .scroll-pass[data-pass="2"] {
        pointer-events: none;
        user-select: none;
    }

/* Pause on hover */
.awes-card:hover .awes-scroll-track,
.awes-card:focus-within .awes-scroll-track {
    animation-play-state: paused;
}

@keyframes awesScrollUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .awes-scroll-track {
        animation: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   MESSAGE CARDS — Refined professional backgrounds
   ═══════════════════════════════════════════════════════════ */

/* Base msg-card stays the same shape, we override colors */
.msg-card-coas,
.msg-card-md {
    position: relative;
    overflow: hidden;
    border: 1px solid;
    transition: all .35s cubic-bezier(.16, 1, .3, 1);
}

/* ── COAS card — deep navy to indigo, official/formal ── */
.msg-card-coas {
    background: linear-gradient(135deg, #f5f7fc 0%, #eef2fa 100%);
    border-color: #dde4f0;
    color: #1e3a8a;
}

    .msg-card-coas::before {
        background: linear-gradient(180deg, #1e3a8a, #3730a3);
    }

    .msg-card-coas .msg-ico {
        background: linear-gradient(135deg, #1e3a8a, #3730a3);
        color: #fff;
        box-shadow: 0 4px 12px rgba(30, 58, 138, .22);
    }

    .msg-card-coas .msg-title {
        color: #1e3a8a;
    }

    .msg-card-coas .msg-sub {
        color: #64748b;
    }

    .msg-card-coas .msg-arrow {
        color: #94a3b8;
    }

    .msg-card-coas:hover {
        background: linear-gradient(135deg, #eef2fa 0%, #e3eaf7 100%);
        border-color: #c7d2fe;
        box-shadow: 0 8px 24px rgba(30, 58, 138, .12), 0 2px 6px rgba(30, 58, 138, .06);
    }

        .msg-card-coas:hover .msg-arrow {
            color: #1e3a8a;
        }

/* ── MD card — warm cream with maroon/burgundy accents ── */
.msg-card-md {
    background: linear-gradient(135deg, #fdf9f5 0%, #faf3ec 100%);
    border-color: #f0e4d8;
    color: #7a1220;
}

    .msg-card-md::before {
        background: linear-gradient(180deg, #7a1220, #9a1828);
    }

    .msg-card-md .msg-ico {
        background: linear-gradient(135deg, #7a1220, #9a1828);
        color: #fff;
        box-shadow: 0 4px 12px rgba(122, 18, 32, .22);
    }

    .msg-card-md .msg-title {
        color: #7a1220;
    }

    .msg-card-md .msg-sub {
        color: #8a6d5a;
    }

    .msg-card-md .msg-arrow {
        color: #b8997a;
    }

    .msg-card-md:hover {
        background: linear-gradient(135deg, #faf3ec 0%, #f5e9dc 100%);
        border-color: #e8d3bd;
        box-shadow: 0 8px 24px rgba(122, 18, 32, .12), 0 2px 6px rgba(122, 18, 32, .06);
    }

        .msg-card-md:hover .msg-arrow {
            color: #7a1220;
        }

    /* Shared hover motion for both new cards */
    .msg-card-coas:hover,
    .msg-card-md:hover {
        transform: translateX(4px);
    }

        .msg-card-coas:hover .msg-ico,
        .msg-card-md:hover .msg-ico {
            transform: scale(1.08);
        }



/* ══════════════ GENERIC CARD ══════════════ */
.awes-card {
    background: var(--awes-card);
    border-radius: var(--awes-radius);
    overflow: hidden;
    box-shadow: var(--awes-shadow);
    border: 1px solid var(--awes-line);
    transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out), border-color .35s var(--ease-out);
    display: flex;
    flex-direction: column;
    position: relative;
}

    .awes-card::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: var(--awes-radius);
        pointer-events: none;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
    }

    .awes-card:hover {
        box-shadow: var(--awes-shadow-md);
        transform: translateY(-3px);
    }

.awes-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background-blend-mode: multiply;
}

    /* Subtle diagonal sheen — replaces childish bubble */
    .awes-card-head::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 60%;
        height: 200%;
        background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .12) 45%, transparent 70%);
        transform: translateX(-100%);
        transition: transform .8s var(--ease-out);
        pointer-events: none;
    }

.awes-card:hover .awes-card-head::after {
    transform: translateX(100%);
}

.awes-card-head h6 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    letter-spacing: .2px;
}

.awes-card-head span {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .78);
    display: block;
    margin-top: 2px;
    letter-spacing: .2px;
}

.awes-card-head-center {
    justify-content: center;
    text-align: left;
}

.awes-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    flex-shrink: 0;
    backdrop-filter: blur(6px);
    transition: transform .35s var(--ease-out), background .35s var(--ease-out);
}

.awes-card:hover .awes-card-icon {
    transform: scale(1.06);
    background: rgba(255, 255, 255, .22);
}

/* ── Accent head colors — refined, institutional ── */
.awes-card-indigo .awes-card-head {
    background: linear-gradient(45deg, #1e3a8a, #080101);
}

.awes-card-teal .awes-card-head {
    background: linear-gradient(135deg, #086f65 0%, #00100f 100%);
}

.awes-card-amber .awes-card-head {
    background: linear-gradient(135deg, #bd4b06 0%, #341600 100%);
}

.awes-card-blue .awes-card-head {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.awes-card-emerald .awes-card-head {
    background: linear-gradient(135deg, #14532d 0%, #166534 100%);
}

.awes-card-rose .awes-card-head {
    background: linear-gradient(135deg, #bb021b 0%, #3c0109 100%);
}

.awes-card-gold .awes-card-head {
    background: linear-gradient(218deg, #0d1f53 0%, #810011 100%);
}

/* Per-accent hover border — subtle, matches head color */
.awes-card-indigo:hover {
    border-color: #c7d2fe;
}

.awes-card-teal:hover {
    border-color: #99f6e4;
}

.awes-card-amber:hover {
    border-color: #fcd9a8;
}

.awes-card-blue:hover {
    border-color: #bfdbfe;
}

.awes-card-emerald:hover {
    border-color: #a7f3d0;
}

.awes-card-rose:hover {
    border-color: #f4c7cd;
}

.awes-card-gold:hover {
    border-color: #fcd34d;
}

.awes-card-body {
    flex: 1;
    padding: 6px 12px 12px;
}

.awes-scroll {
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

    .awes-scroll::-webkit-scrollbar {
        width: 5px;
    }

    .awes-scroll::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
    }

        .awes-scroll::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

/* ══════════════ NEWS ROWS ══════════════ */
.news-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--awes-ink);
    font-size: 13px;
    line-height: 1.5;
    border-bottom: 1px solid #f1f4f9;
    position: relative;
    transition: background .25s var(--ease), transform .25s var(--ease-out);
}

    .news-row::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 60%;
        background: var(--accent-maroon);
        border-radius: 0 2px 2px 0;
        transition: width .25s var(--ease-out);
    }

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

    .news-row:hover {
        background: #f8fafc;
        transform: translateX(3px);
    }

        .news-row:hover::before {
            width: 3px;
        }

.news-ico {
    font-size: 1rem;
    color: var(--awes-muted);
    flex-shrink: 0;
    margin-top: 2px;
    transition: color .25s var(--ease);
}

.news-row:hover .news-ico {
    color: var(--accent-navy);
}

.news-txt {
    flex: 1;
    min-width: 0;
    font-weight: 500;
}

.news-arrow {
    color: var(--awes-muted);
    font-size: 0.85rem;
    opacity: 0;
    transition: all .25s var(--ease-out);
    margin-top: 3px;
}

.news-row:hover .news-arrow {
    opacity: 1;
    color: var(--accent-navy);
    transform: translateX(3px);
}

.new-chip {
    display: inline-block;
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.6px;
    margin-right: 6px;
    vertical-align: 1px;
    position: relative;
    animation: chipGlow 2.4s ease-in-out infinite;
}

@keyframes chipGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(185, 28, 28, .45);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(185, 28, 28, 0);
    }
}

.empty-msg {
    text-align: center;
    color: var(--awes-muted);
    font-style: italic;
    font-size: 12.5px;
    padding: 26px 12px;
    margin: 0;
}

/* ══════════════ MESSAGE CARDS ══════════════ */
.msg-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border-radius: var(--awes-radius);
    border: 1px solid var(--awes-line);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: var(--awes-shadow);
    transition: all .3s var(--ease-out);
}

    .msg-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        transition: width .3s var(--ease-out);
    }

    .msg-card:hover::before {
        width: 5px;
    }

.msg-card-indigo::before {
    background: linear-gradient(180deg, #1e3a8a, #1e40af);
}

.msg-card-teal::before {
    background: linear-gradient(180deg, #0f766e, #0d9488);
}

.msg-card:hover {
    transform: translateX(4px);
    box-shadow: var(--awes-shadow-md);
    border-color: #d5dae4;
}

.msg-ico {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: transform .35s var(--ease-out), background .35s var(--ease-out);
}

.msg-card-indigo .msg-ico {
    background: #eef2ff;
    color: #1e3a8a;
}

.msg-card-teal .msg-ico {
    background: #ccfbf1;
    color: #0f766e;
}

.msg-card:hover .msg-ico {
    transform: scale(1.08);
}

.msg-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--awes-ink);
    letter-spacing: .1px;
}

.msg-sub {
    font-size: 11.5px;
    color: var(--awes-muted);
    margin-top: 2px;
}

.msg-arrow {
    color: var(--awes-muted);
    transition: transform .3s var(--ease-out), color .3s var(--ease);
}

.msg-card:hover .msg-arrow {
    color: var(--accent-navy);
    transform: translateX(4px);
}

/* ══════════════ CAROUSEL ══════════════ */
.awes-carousel {
    background: #0a1220;
    border-radius: var(--awes-radius);
    overflow: hidden;
    box-shadow: var(--awes-shadow-md);
}

.carousel-slide-wrap {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background: #0a1220;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 8s var(--ease-out);
}

.carousel-item.active .carousel-img {
    transform: scale(1.06);
}

.carousel-caption-awes {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, rgba(10, 18, 32, .88), rgba(30, 58, 138, .72));
    backdrop-filter: blur(14px);
    padding: 16px 20px;
    border-radius: 10px;
    border-left: 3px solid var(--nav-gold);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    animation: captionSlideUp .6s var(--ease-out) both;
}

@keyframes captionSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cap-pill {
    display: inline-block;
    background: linear-gradient(135deg, var(--nav-gold-light), var(--nav-gold));
    color: #1a2233;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.carousel-caption-awes p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #fff;
}

.carousel-control-prev,
.carousel-control-next {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .95);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity .3s var(--ease), background .25s var(--ease), transform .25s var(--ease-out);
    color: var(--awes-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 16px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .22);
}

.awes-carousel:hover .carousel-control-prev,
.awes-carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: linear-gradient(135deg, var(--nav-navy), var(--accent-navy-2));
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.carousel-control-prev i,
.carousel-control-next i {
    font-size: 1.15rem;
    font-weight: 900;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    border: none;
    margin: 0 4px;
    transition: all .3s var(--ease-out);
}

    .carousel-indicators button:hover {
        background: rgba(255, 255, 255, .85);
    }

    .carousel-indicators button.active {
        background: var(--nav-gold);
        width: 26px;
        border-radius: 4px;
        box-shadow: 0 0 12px rgba(184, 146, 46, .6);
    }

/* ══════════════ ROLL OF HONOUR MARQUEE ══════════════ */
.honour-marquee {
    position: relative;
    height: 520px;
    overflow: hidden;
    border-radius: 12px;
    background: #f7f3ec;
    mask-image: linear-gradient(to bottom, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.honour-marquee-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: honourScrollUp var(--marquee-duration, 40s) linear infinite;
    will-change: transform;
}

.honour-marquee:hover .honour-marquee-track,
.honour-marquee:focus-within .honour-marquee-track {
    animation-play-state: paused;
}

@keyframes honourScrollUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

.honour-tile {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    background: #f5efe3;
    border: 1px solid #e5dcc9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .07);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
    flex-shrink: 0;
}

    .honour-tile:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 38px rgba(0, 0, 0, .15);
        border-color: var(--nav-gold);
    }

    .honour-tile img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        background: #f5efe3;
        transition: transform .6s var(--ease-out);
    }

    .honour-tile:hover img {
        transform: scale(1.08);
    }

.honour-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(122, 18, 32, .05) 0%, rgba(77, 10, 20, .8) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.honour-tile:hover .honour-overlay {
    opacity: 1;
}

@media (max-width: 992px) {
    .honour-marquee {
        height: 420px;
    }

    .honour-tile {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 576px) {
    .honour-marquee {
        height: 320px;
    }

    .honour-tile {
        aspect-ratio: 1 / 1;
    }
}

/* ══════════════ QUICK TILES ══════════════ */
.quick-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 12px;
    border-radius: var(--awes-radius);
    background: #fff;
    border: 1px solid var(--awes-line);
    text-decoration: none;
    color: var(--awes-ink);
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    box-shadow: var(--awes-shadow);
    transition: all .35s var(--ease-out);
    position: relative;
    overflow: hidden;
    letter-spacing: .2px;
}

    .quick-tile i {
        font-size: 1.7rem;
        transition: transform .4s var(--ease-out), color .3s var(--ease);
        z-index: 1;
    }

    .quick-tile span {
        z-index: 1;
        position: relative;
    }

/* Refined icon colors */
.quick-tile-blue i {
    color: var(--accent-navy);
}

.quick-tile-teal i {
    color: var(--accent-teal);
}

.quick-tile-rose i {
    color: var(--accent-maroon);
}

.quick-tile-purple i {
    color: #5b21b6;
}

.quick-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s var(--ease);
    z-index: 0;
}

/* Deep, institutional gradient backgrounds on hover */
.quick-tile-blue::before {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
}

.quick-tile-teal::before {
    background: linear-gradient(135deg, #0f766e, #0d9488);
}

.quick-tile-rose::before {
    background: linear-gradient(135deg, #7a1220, #9a1828);
}

.quick-tile-purple::before {
    background: linear-gradient(135deg, #4c1d95, #5b21b6);
}

.quick-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--awes-shadow-md);
    color: #fff;
    border-color: transparent;
}

    .quick-tile:hover::before {
        opacity: 1;
    }

    .quick-tile:hover i {
        color: #fff;
        transform: scale(1.18) translateY(-2px);
    }

/* ══════════════ ENTRANCE ANIMATIONS ══════════════ */
@keyframes awesFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.awes-card,
.msg-card,
.quick-tile {
    animation: awesFadeUp .6s var(--ease-out) both;
}

    /* Staggered delays — set via inline style or nth-child */
    .awes-card:nth-child(1), .msg-card:nth-child(1), .quick-tile:nth-child(1) {
        animation-delay: .05s;
    }

    .awes-card:nth-child(2), .msg-card:nth-child(2), .quick-tile:nth-child(2) {
        animation-delay: .12s;
    }

    .awes-card:nth-child(3), .msg-card:nth-child(3), .quick-tile:nth-child(3) {
        animation-delay: .19s;
    }

    .awes-card:nth-child(4), .msg-card:nth-child(4), .quick-tile:nth-child(4) {
        animation-delay: .26s;
    }

    .awes-card:nth-child(5), .msg-card:nth-child(5), .quick-tile:nth-child(5) {
        animation-delay: .33s;
    }

    .awes-card:nth-child(6), .msg-card:nth-child(6), .quick-tile:nth-child(6) {
        animation-delay: .40s;
    }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 768px) {
    .carousel-caption-awes {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 14px;
    }

        .carousel-caption-awes p {
            font-size: 12.5px;
        }

    .awes-card-head {
        padding: 14px 16px;
    }
}










/*------------ADMIN DASHBOARD--------------*/
.page-bg-accent {
    position: absolute;
    top: 9px;
    left: 0;
    right: 0;
    height: 94px;
    background: linear-gradient(135deg, #e0e7ff 0%, #fce7f3 100%);
    z-index: -1;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 7px;
}


.action-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

    .action-tile:hover {
        border-color: #cbd5e1;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
        transform: translateX(4px);
    }

        .action-tile:hover .arrow {
            transform: translateX(4px);
            opacity: 1;
        }

    .action-tile .arrow {
        transition: transform 0.25s ease;
        opacity: 0.4;
        color: #64748b;
    }

.action-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: white;
}

    .action-icon.page {
        background: linear-gradient(135deg, #3b82f6, #1e40af);
    }

    .action-icon.pdf {
        background: linear-gradient(135deg, #ef4444, #991b1b);
    }

    .action-icon.nav {
        background: linear-gradient(135deg, #10b981, #047857);
    }

    .action-icon.user {
        background: linear-gradient(135deg, #8b5cf6, #5b21b6);
    }

.activity-table tbody tr {
    transition: background 0.2s;
}

    .activity-table tbody tr:hover {
        background: #f8fafc;
    }

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}






/*------------ADMIN PAGES CREATE--------------*/

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 0.4rem;
}

.form-control, .form-select {
    border-color: #e2e8f0;
}

    .form-control:focus, .form-select:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.1);
    }

.editor-card {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: all 0.2s ease;
}

    .editor-card:hover {
        border-color: #cbd5e1;
    }

    .editor-card .card-header {
        background: transparent;
        border-bottom: 1px solid #f1f5f9;
        padding: 1.25rem;
    }

        .editor-card .card-header h6 {
            font-weight: 700;
            color: #0f172a;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .editor-card .card-header i {
            color: #6366f1;
        }

    .editor-card .card-body {
        padding: 1.25rem;
    }

/* Image Dropzone */
.image-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 0.75rem;
    background: #f8fafc;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    cursor: pointer;
}

    .image-dropzone:hover {
        border-color: #3b82f6;
        background: #eff6ff;
    }

    .image-dropzone input[type="file"] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
        z-index: 2;
    }

    .image-dropzone .preview-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .image-dropzone.has-image {
        border-style: solid;
        border-color: #e2e8f0;
        min-height: 200px;
    }

        .image-dropzone.has-image:hover {
            border-color: #3b82f6;
        }

        .image-dropzone.has-image .placeholder {
            display: none;
        }

    .image-dropzone .placeholder-icon {
        font-size: 2.5rem;
        color: #94a3b8;
        margin-bottom: 0.5rem;
    }

/* Sticky Header Action Bar */
.page-header-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    margin: -1rem 0rem 1.5rem 0rem;
}

/* SEO Accordion Custom Style */
.seo-accordion .accordion-button {
    background: #fdf4ff;
    color: #86198f;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: none;
    border-radius: 0.75rem !important;
}

    .seo-accordion .accordion-button:not(.collapsed) {
        background: #fae8ff;
        color: #701a75;
    }

.seo-accordion .accordion-item {
    border: 1px solid #f5d0fe;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

/* Custom Toggle Switch */
.form-switch .form-check-input {
    width: 2.5em;
    height: 1.25em;
    cursor: pointer;
}

    .form-switch .form-check-input:checked {
        background-color: #10b981;
        border-color: #10b981;
    }




 /*  ===========================================-*/


.table-clean th {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
}

.table-clean td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
}

.table-clean tbody tr:hover {
    background-color: #f8fafc;
}

.page-link {
    border-radius: 0.5rem !important;
    margin: 0 2px;
    color: #475569;
    border-color: #e2e8f0;
}

.page-item.active .page-link {
    background-color: #2563eb;
    border-color: #2563eb;
    color: white;
}



.fdrc-hero {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #0f172a;
}

.fdrc-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.fdrc-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(30, 58, 138, 0.7));
}

.fdrc-quote-card {
    background: #f8fafc;
    border-left: 5px solid #1d4ed8;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.drop-cap::first-letter {
    float: left;
    font-size: 3.5rem;
    line-height: 0.8;
    padding-right: 0.5rem;
    padding-top: 0.2rem;
    font-weight: 700;
    color: #1e3a8a;
}

.graphic-frame {
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    padding: 1.5rem;
}






/*============================SCHOOLS======================================*/


/* =====================================================
   ARMY PRE PRIMARY SCHOOLS
   Scoped styles — Bootstrap 5
   ===================================================== */

.apps-page {
    --apps-navy: #182b46;
    --apps-crimson: #971e39;
    --apps-gold: #d5aa50;
    --apps-teal: #08786f;
    --apps-ink: #243348;
    --apps-muted: #617083;
    --apps-line: #e3e8ee;
    background: #f5f7fa;
    color: var(--apps-ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

    .apps-page *,
    .apps-page *::before,
    .apps-page *::after {
        box-sizing: border-box;
    }

    .apps-page .apps-eyebrow {
        display: block;
        color: var(--apps-crimson);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.5;
        letter-spacing: 1.5px;
    }

    /* Heading */

    .apps-page .apps-heading {
        position: relative;
        padding: 26px 28px;
        overflow: hidden;
        border: 1px solid var(--apps-line);
        border-left: 5px solid var(--apps-crimson);
        border-radius: 14px;
        background: #fff;
    }

        .apps-page .apps-heading::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            width: 160px;
            height: 4px;
            background: var(--apps-gold);
        }

        .apps-page .apps-heading h1 {
            color: var(--apps-navy);
            font-size: clamp(26px, 2.5vw, 40px);
            font-weight: 750;
            line-height: 1.2;
            letter-spacing: -.9px;
        }

        .apps-page .apps-heading p {
            color: var(--apps-muted);
            font-size: 15px;
            line-height: 1.7;
        }

    .apps-page .apps-abbreviation {
        display: inline-block;
        padding: 5px 9px;
        border: 1px solid #eed9df;
        border-radius: 7px;
        background: #fcf0f3;
        color: var(--apps-crimson);
        font-size: 14px;
        font-weight: 800;
        letter-spacing: .5px;
        vertical-align: middle;
    }

    .apps-page .apps-heading-note {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px;
        border: 1px solid #eadfc6;
        border-radius: 10px;
        background: #fffbf2;
    }

    .apps-page .apps-note-icon {
        flex-shrink: 0;
        color: #9b701e;
        font-size: 32px;
    }

    .apps-page .apps-heading-note strong {
        display: block;
        color: var(--apps-navy);
        font-size: 14px;
    }

    .apps-page .apps-heading-note div > span {
        display: block;
        margin-top: 3px;
        color: #71634b;
        font-size: 12px;
        line-height: 1.5;
    }

    /* Gallery */

    .apps-page .apps-gallery {
        padding: 21px;
        border: 1px solid var(--apps-line);
        border-radius: 14px;
        background: #fff;
    }

    .apps-page .apps-section-title {
        color: var(--apps-navy);
        font-size: 19px;
        font-weight: 700;
    }

    .apps-page .apps-section-caption {
        color: var(--apps-muted);
        font-size: 12px;
        font-weight: 600;
    }

    .apps-page .apps-photo {
        height: 100%;
        overflow: hidden;
        border: 1px solid var(--apps-line);
        border-radius: 10px;
        background: #fff;
    }

        .apps-page .apps-photo img {
            display: block;
            width: 100%;
            height: auto;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            background: #edf1f5;
            transition: filter .25s ease;
        }

        .apps-page .apps-photo:hover img {
            filter: brightness(1.06);
        }

        .apps-page .apps-photo figcaption {
            display: flex;
            align-items: center;
            gap: 8px;
            min-height: 49px;
            padding: 10px;
            color: var(--apps-navy);
            font-size: 12px;
            font-weight: 600;
            line-height: 1.4;
        }

    .apps-page .apps-photo-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 25px;
        height: 25px;
        border-radius: 6px;
        background: #fcf0f3;
        color: var(--apps-crimson);
        font-size: 10px;
        font-weight: 800;
    }

    /* Main article */

    .apps-page .apps-content-card {
        padding: 28px;
        border: 1px solid var(--apps-line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 5px 20px rgba(24, 43, 70, .035);
    }

    .apps-page .apps-card-heading {
        display: flex;
        align-items: center;
        gap: 13px;
        margin-bottom: 22px;
        padding-bottom: 19px;
        border-bottom: 1px solid var(--apps-line);
    }

    .apps-page .apps-section-marker {
        flex: 0 0 5px;
        height: 44px;
        border-radius: 5px;
        background: linear-gradient( to bottom, var(--apps-crimson) 65%, var(--apps-gold) 65% );
    }

    .apps-page .apps-card-heading h2 {
        margin-top: 4px;
        color: var(--apps-navy);
        font-size: 25px;
        font-weight: 700;
        letter-spacing: -.5px;
    }

    .apps-page .apps-history p {
        margin-bottom: 18px;
        color: #4b596c;
        font-size: 15px;
        line-height: 1.85;
    }

    .apps-page .apps-history .apps-lead {
        color: var(--apps-navy);
        font-size: 18px;
        font-weight: 600;
        line-height: 1.7;
    }

    .apps-page .apps-history strong {
        color: var(--apps-navy);
        font-weight: 700;
    }

    .apps-page .apps-highlight {
        margin: 23px 0;
        padding: 19px 21px;
        border-left: 4px solid var(--apps-gold);
        border-radius: 0 10px 10px 0;
        background: #fffbf1;
    }

    .apps-page .apps-highlight-label {
        display: block;
        margin-bottom: 7px;
        color: #805b18;
        font-size: 14px;
        font-weight: 750;
    }

    .apps-page .apps-highlight p {
        color: #625841;
        font-size: 14px;
    }

    /* Milestones */

    .apps-page .apps-milestones {
        padding: 28px;
        border: 1px solid #263e5d;
        border-radius: 14px;
        background: linear-gradient(145deg, #182b46, #243d5b);
        color: #fff;
    }

        .apps-page .apps-milestones > .apps-eyebrow {
            color: #edca7e;
        }

        .apps-page .apps-milestones h2 {
            color: #fff;
            font-size: 25px;
            font-weight: 700;
            letter-spacing: -.5px;
        }

    .apps-page .apps-timeline {
        margin-left: 7px;
        border-left: 1px solid rgba(255, 255, 255, .22);
    }

        .apps-page .apps-timeline li {
            position: relative;
            padding: 0 0 27px 25px;
        }

            .apps-page .apps-timeline li:last-child {
                padding-bottom: 0;
            }

    .apps-page .apps-timeline-dot {
        position: absolute;
        top: 5px;
        left: -6px;
        width: 11px;
        height: 11px;
        border: 2px solid #edca7e;
        border-radius: 50%;
        background: #203753;
        box-shadow: 0 0 0 5px rgba(237, 202, 126, .08);
    }

    .apps-page .apps-year {
        display: block;
        margin-bottom: 7px;
        color: #edca7e;
        font-size: 12px;
        font-weight: 750;
        letter-spacing: .5px;
    }

    .apps-page .apps-timeline h3 {
        margin-bottom: 7px;
        color: #fff;
        font-size: 17px;
        font-weight: 650;
    }

    .apps-page .apps-timeline p {
        margin: 0;
        color: #cbd6e4;
        font-size: 13px;
        line-height: 1.8;
    }

    .apps-page .apps-age-note {
        margin-top: 26px;
        padding: 17px;
        border: 1px solid rgba(237, 202, 126, .25);
        border-radius: 10px;
        background: rgba(255, 255, 255, .05);
    }

        .apps-page .apps-age-note strong {
            display: block;
            color: #f1d493;
            font-size: 14px;
        }

        .apps-page .apps-age-note span {
            display: block;
            margin-top: 5px;
            color: #d4dce7;
            font-size: 12px;
            line-height: 1.7;
        }

    /* Learning approach */

    .apps-page .apps-today {
        padding: 28px;
        border: 1px solid var(--apps-line);
        border-radius: 14px;
        background: #fff;
    }

        .apps-page .apps-today h2 {
            color: var(--apps-navy);
            font-size: clamp(24px, 2vw, 31px);
            font-weight: 750;
            line-height: 1.3;
            letter-spacing: -.6px;
        }

        .apps-page .apps-today > .row > div > p {
            max-width: 480px;
            color: var(--apps-muted);
            font-size: 14px;
            line-height: 1.8;
        }

    .apps-page .apps-focus-card {
        height: 100%;
        padding: 20px 16px;
        border: 1px solid var(--apps-line);
        border-top: 3px solid var(--focus-accent);
        border-radius: 10px;
        background: var(--focus-bg);
    }

    .apps-page .apps-focus-crimson {
        --focus-accent: #971e39;
        --focus-bg: #fcf2f5;
    }

    .apps-page .apps-focus-teal {
        --focus-accent: #08786f;
        --focus-bg: #eef8f5;
    }

    .apps-page .apps-focus-gold {
        --focus-accent: #996b18;
        --focus-bg: #fffaed;
    }

    .apps-page .apps-focus-symbol {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        margin-bottom: 15px;
        border-radius: 9px;
        background: #fff;
        color: var(--focus-accent);
        font-size: 24px;
    }

    .apps-page .apps-focus-card h3 {
        margin-bottom: 8px;
        color: var(--apps-navy);
        font-size: 15px;
        font-weight: 750;
    }

    .apps-page .apps-focus-card p {
        margin: 0;
        color: #5c6878;
        font-size: 12px;
        line-height: 1.8;
    }

/* Responsive adjustments */

@media (max-width: 767.98px) {
    .apps-page .apps-heading,
    .apps-page .apps-content-card,
    .apps-page .apps-milestones,
    .apps-page .apps-today {
        padding: 20px;
    }

    .apps-page .apps-gallery {
        padding: 15px;
    }

    .apps-page .apps-heading h1 {
        letter-spacing: -.5px;
    }

    .apps-page .apps-history p {
        font-size: 15px;
        line-height: 1.8;
    }

    .apps-page .apps-history .apps-lead {
        font-size: 17px;
    }

    .apps-page .apps-photo figcaption {
        align-items: flex-start;
        font-size: 11px;
    }

    .apps-page .apps-card-heading h2 {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .apps-page .apps-photo img {
        transition: none;
    }
}
