/**
 * GACEC White-Label Educational ERP & LMS Platform
 * Ultra-Premium SaaS Design System & Glassmorphism Framework
 * Colors: Kerala Green (#00794E), Navy Blue (#00396F), Kasavu Gold (#C7A45B), Neutral (#F4F6FA)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --brand-primary: #00794E;
    --brand-primary-dark: #005f3d;
    --brand-primary-light: #E8F4EF;
    --brand-secondary: #00396F;
    --brand-secondary-dark: #00264d;
    --brand-secondary-light: #EAF1F8;
    --brand-accent: #C7A45B;
    --brand-accent-light: #FFF9EC;
    --brand-bg: #F8F9FB;
    --brand-card-bg: #FFFFFF;
    --brand-text: #202833;
    --brand-text-muted: #687386;
    --brand-sidebar-width: 260px;
    
    /* GACEC Official Brand Aliases */
    --gacec-primary-green: #00794E;
    --gacec-navy-blue: #00396F;
    --gacec-kasavu-gold: #C7A45B;
    --gacec-bg-neutral: #F8F9FB;
    --gacec-light-green: rgba(0, 121, 78, 0.08);
    --gacec-light-blue: rgba(0, 57, 111, 0.08);
    --gacec-dark: #202833;
    --gacec-text-primary: #202833;
    --gacec-text-muted: #687386;
    
    /* Luxury Glassmorphism & Depth Tokens */
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(255, 255, 255, 0.95);
    --glass-border-subtle: rgba(0, 57, 111, 0.08);
    --glass-shadow: 0 4px 20px -2px rgba(0, 35, 75, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    --glass-shadow-hover: 0 16px 32px -4px rgba(0, 45, 95, 0.10), 0 6px 14px -2px rgba(0, 121, 78, 0.06);
    
    --card-radius: 16px;
    --card-radius-sm: 10px;
    --card-radius-lg: 20px;
}

html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background: radial-gradient(circle at 10% 8%, rgba(0, 121, 78, 0.035) 0%, transparent 40%),
                radial-gradient(circle at 92% 16%, rgba(0, 57, 111, 0.045) 0%, transparent 45%),
                var(--brand-bg);
    color: var(--brand-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .brand-font, .heading-font {
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-secondary);
}

/* ========================================================
   MASTER LAYOUT & RESPONSIVE CONTAINER (DESKTOP FIT)
   ======================================================== */
#wrapper {
    display: flex;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    position: relative;
    overflow-x: clip;
}

#sidebar-wrapper {
    width: var(--brand-sidebar-width);
    min-width: var(--brand-sidebar-width);
    max-width: var(--brand-sidebar-width);
    flex-shrink: 0;
    background: linear-gradient(180deg, #021226 0%, #031c38 45%, #05264c 100%);
    min-height: 100vh;
    transition: margin-left 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    border-right: 1px solid rgba(199, 164, 91, 0.24);
    box-shadow: 4px 0 28px rgba(0, 20, 45, 0.55);
    display: flex;
    flex-direction: column;
}

.page-content-wrapper {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    #sidebar-wrapper.toggled {
        margin-left: calc(-1 * var(--brand-sidebar-width));
    }
}

@media (max-width: 991.98px) {
    #sidebar-wrapper {
        margin-left: calc(-1 * var(--brand-sidebar-width));
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        height: 100vh;
        z-index: 1060;
    }
    #sidebar-wrapper.toggled {
        margin-left: 0;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
    }
    .page-content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ========================================================
   ENHANCED MODERN SIDEBAR STYLING & LUXURY SAAS UI
   ======================================================== */
.sidebar-heading {
    padding: 1.15rem 1.15rem 1rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.sidebar-heading::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(199, 164, 91, 0.45), transparent);
}

.sidebar-brand-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00794E 0%, #005a39 100%);
    border: 1px solid #C7A45B;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 121, 78, 0.4);
}

.sidebar-brand-text {
    line-height: 1.2;
    overflow: hidden;
}

.sidebar-brand-text .brand-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    white-space: normal;
    word-break: break-word;
    letter-spacing: -0.01em;
}

.sidebar-brand-text .brand-subtitle {
    font-size: 0.70rem;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 2px;
}

.status-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.sidebar-nav {
    padding: 0.65rem 0.65rem 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(199, 164, 91, 0.3) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(199, 164, 91, 0.3);
    border-radius: 4px;
}

.sidebar-nav .nav-section {
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: #94a3b8;
    padding: 1.1rem 0.75rem 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-nav .nav-section::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
}

.sidebar-nav .nav-link {
    color: #cbd5e1;
    padding: 0.62rem 0.85rem;
    margin: 0.18rem 0;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
}

.sidebar-nav .nav-link i {
    font-size: 1.15rem;
    margin-right: 0.75rem;
    width: 22px;
    text-align: center;
    transition: transform 0.2s ease;
    opacity: 0.85;
}

.sidebar-nav .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.sidebar-nav .nav-link:hover i {
    transform: scale(1.15);
    opacity: 1;
}

.sidebar-nav .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(0, 121, 78, 0.95) 0%, rgba(0, 95, 61, 0.95) 100%) !important;
    font-weight: 600;
    border-left: 3px solid #C7A45B;
    box-shadow: 0 4px 16px rgba(0, 121, 78, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sidebar-nav .nav-link.active i {
    color: #fef08a !important;
    opacity: 1;
}

/* ========================================================
   SIDEBAR ACCORDION GROUPING
   ======================================================== */
.sidebar-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-accordion-item {
    margin: 0.1rem 0;
}

.sidebar-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    background: transparent;
    border: none;
    border-radius: 10px;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.sidebar-accordion-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.sidebar-accordion-btn:not(.collapsed) {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(0, 121, 78, 0.25) 0%, rgba(0, 57, 111, 0.3) 100%);
    border-left: 3px solid #00794E;
}

.sidebar-accordion-btn .accordion-arrow {
    font-size: 0.75rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.6;
}

.sidebar-accordion-btn:not(.collapsed) .accordion-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: #C7A45B;
}

.sidebar-submenu {
    padding: 0.35rem 0 0.45rem 0.85rem;
    margin-left: 0.85rem;
    border-left: 2px solid rgba(199, 164, 91, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nav-sublink {
    color: #b0c0d8;
    padding: 0.52rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-sublink i {
    font-size: 0.95rem;
    margin-right: 0.65rem;
    width: 18px;
    text-align: center;
    opacity: 0.85;
}

.nav-sublink:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.nav-sublink.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(0, 121, 78, 0.95) 0%, rgba(0, 95, 61, 0.95) 100%) !important;
    font-weight: 600;
    border-left: 3px solid #C7A45B;
    box-shadow: 0 4px 14px rgba(0, 121, 78, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-sublink.active i {
    color: #fef08a !important;
    opacity: 1;
}

/* User Card in Sidebar Footer */
.sidebar-user-footer {
    background: rgba(2, 18, 38, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 1rem;
    margin-top: auto;
}

.sidebar-user-footer .user-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00794E, #00396F);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
    border: 2px solid rgba(199, 164, 91, 0.4);
}

.sidebar-user-footer .user-meta {
    line-height: 1.25;
}

.sidebar-user-footer .user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f8fafc;
}

.sidebar-user-footer .user-role-badge {
    font-size: 0.68rem;
    color: #38bdf8;
    font-weight: 500;
    text-transform: capitalize;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
}

.btn-ghost-light {
    color: #94a3b8;
}
.btn-ghost-light:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost-danger {
    color: #f87171;
}
.btn-ghost-danger:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.14);
}

/* ========================================================
   TOPBAR (GLASSMORPHIC STICKY HEADER)
   ======================================================== */
.topbar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 57, 111, 0.08);
    padding: 0.85rem 1.6rem;
    box-shadow: 0 4px 20px rgba(0, 35, 75, 0.03);
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* ========================================================
   BENTO GRID & LUXURY GLASSMORPHIC CARDS
   ======================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.bento-card, .card-stat {
    border: 1px solid var(--glass-border-subtle);
    border-top: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: var(--card-radius);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--glass-shadow);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.28s ease;
    position: relative;
    overflow: hidden;
}

.bento-card::before, .card-stat::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(0, 121, 78, 0.05) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bento-card:hover, .card-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(0, 121, 78, 0.22);
}

.bento-card:hover::before, .card-stat:hover::before {
    opacity: 1;
}

/* Accent Card Borders & Ambient Lighting */
.bento-accent-green::before {
    background: radial-gradient(circle, rgba(0, 121, 78, 0.12) 0%, transparent 70%);
}
.bento-accent-navy::before {
    background: radial-gradient(circle, rgba(0, 57, 111, 0.12) 0%, transparent 70%);
}
.bento-accent-gold::before {
    background: radial-gradient(circle, rgba(199, 164, 91, 0.14) 0%, transparent 70%);
}
.bento-accent-rose::before {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, transparent 70%);
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.card-stat:hover .stat-icon-wrapper {
    transform: scale(1.08);
}

/* Stat trend chips */
.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}
.stat-trend.positive {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}
.stat-trend.neutral {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}
.stat-trend.alert {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

/* Action Buttons & Badges */
.btn-brand-primary, .btn-primary {
    background: linear-gradient(135deg, #00794E 0%, #005f3d 100%) !important;
    border: 1px solid rgba(0, 121, 78, 0.9) !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.52rem 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 121, 78, 0.28);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-brand-primary:hover, .btn-primary:hover {
    background: linear-gradient(135deg, #008f5d 0%, #006b45 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 121, 78, 0.36);
    color: #ffffff !important;
}

.btn-brand-gold, .btn-warning {
    background: linear-gradient(135deg, #C7A45B 0%, #b89345 100%) !important;
    border: 1px solid #C7A45B !important;
    color: #00264d !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.52rem 1.15rem;
    box-shadow: 0 4px 14px rgba(199, 164, 91, 0.3);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-brand-gold:hover, .btn-warning:hover {
    background: linear-gradient(135deg, #d4b46c 0%, #c49d4d 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(199, 164, 91, 0.42);
    color: #001f3f !important;
}

.badge-tag {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    font-weight: 600;
    border-radius: 6px;
}

/* Responsive Table Card */
.table-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--card-radius);
    border: 1px solid var(--glass-border-subtle);
    border-top: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.table th {
    font-size: 0.80rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 700;
    background-color: rgba(248, 250, 252, 0.8);
    border-bottom: 1px solid #e2e8f0;
    padding: 0.95rem 1.15rem;
}

.table td {
    padding: 0.92rem 1.15rem;
    vertical-align: middle;
    font-size: 0.92rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

.table tbody tr:hover td {
    background-color: rgba(0, 121, 78, 0.025);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
#sidebar-wrapper ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
#sidebar-wrapper ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

/* ========================================================
   GLOBAL GACEC REUSABLE DESIGN SYSTEM UTILITIES
   ======================================================== */
.page-header {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border-subtle);
    border-radius: var(--card-radius);
    padding: 1.15rem 1.6rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin-bottom: 0.15rem;
    letter-spacing: -0.015em;
    font-family: 'Outfit', sans-serif;
}

.page-header-subtitle {
    font-size: 0.85rem;
    color: var(--brand-text-muted);
    margin-bottom: 0;
}

.gold-accent {
    color: var(--brand-accent) !important;
}

.border-gold-accent {
    border-color: var(--brand-accent) !important;
}

.bg-gold-subtle {
    background: rgba(199, 164, 91, 0.12) !important;
    color: #855d14 !important;
}

.gradient-surface {
    background: linear-gradient(135deg, rgba(0, 57, 111, 0.04) 0%, rgba(0, 121, 78, 0.04) 100%);
    border: 1px solid rgba(0, 57, 111, 0.08);
}

.glass-card {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border-subtle);
    border-radius: var(--card-radius);
    box-shadow: var(--glass-shadow);
    transition: all 0.25s ease;
}

.glass-card:hover {
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(0, 121, 78, 0.22);
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border-subtle);
    border-radius: var(--card-radius);
    padding: 1.35rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(0, 121, 78, 0.25);
}

.form-control-premium, .form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #d0d7e2;
    padding: 0.55rem 0.95rem;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
}

.form-control:focus, .form-select:focus, .form-control-premium:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(0, 121, 78, 0.15);
    outline: none;
}

.form-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--brand-secondary);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32em 0.75em;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.status-badge-success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-badge-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-badge-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.status-badge-info {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.modal-content {
    border-radius: var(--card-radius);
    border: 1px solid var(--glass-border-subtle);
    box-shadow: 0 24px 48px -12px rgba(0, 35, 75, 0.25);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, rgba(0, 57, 111, 0.04) 0%, rgba(0, 121, 78, 0.04) 100%);
    border-bottom: 1px solid #eef2f6;
    padding: 1.15rem 1.5rem;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--brand-secondary);
    font-size: 1.15rem;
}

.modal-footer {
    border-top: 1px solid #eef2f6;
    padding: 0.95rem 1.5rem;
    background: #fafbfc;
}

.btn-gacec-primary {
    background: linear-gradient(135deg, #00794E 0%, #005f3d 100%) !important;
    color: #ffffff !important;
    font-weight: 600;
    border: 1px solid rgba(0, 121, 78, 0.9) !important;
    border-radius: 10px;
    padding: 0.52rem 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 121, 78, 0.28);
    transition: all 0.2s ease;
}

.btn-gacec-primary:hover {
    background: linear-gradient(135deg, #008f5d 0%, #006b45 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 121, 78, 0.36);
}

.btn-gacec-gold {
    background: linear-gradient(135deg, #C7A45B 0%, #b89345 100%) !important;
    color: #00264d !important;
    font-weight: 700;
    border: 1px solid #C7A45B !important;
    border-radius: 10px;
    padding: 0.52rem 1.15rem;
    box-shadow: 0 4px 14px rgba(199, 164, 91, 0.3);
    transition: all 0.2s ease;
}

.btn-gacec-gold:hover {
    background: linear-gradient(135deg, #d4b46c 0%, #c49d4d 100%) !important;
    color: #001f3f !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(199, 164, 91, 0.42);
}

.btn-gacec-navy {
    background: linear-gradient(135deg, #00396F 0%, #00264d 100%) !important;
    color: #ffffff !important;
    font-weight: 600;
    border: 1px solid #00396F !important;
    border-radius: 10px;
    padding: 0.52rem 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 57, 111, 0.28);
    transition: all 0.2s ease;
}

.btn-gacec-navy:hover {
    background: linear-gradient(135deg, #004d94 0%, #003366 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 57, 111, 0.36);
}

.btn-gacec-outline {
    background: transparent !important;
    border: 1px solid rgba(0, 57, 111, 0.25) !important;
    color: var(--brand-secondary) !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.52rem 1.15rem;
    transition: all 0.2s ease;
}

.btn-gacec-outline:hover {
    background: rgba(0, 57, 111, 0.05) !important;
    border-color: var(--brand-secondary) !important;
    color: var(--brand-secondary) !important;
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 121, 78, 0.35);
}

.pagination .page-link {
    color: var(--brand-secondary);
    border-radius: 8px;
    margin: 0 2px;
    border: 1px solid #e2e8f0;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
