/* ===================== Base & Variables ===================== */
:root {

        --color-primary: #1e5b4f;       /* Verde oficial */
        --color-gold: #a57f2c;          /* Ocre oficial */
        --color-bg-base: #f3f3e7;       /* Variante fondo */
        --color-accent-light: #a2baad;  /* Variante verde claro */
        --color-accent-dark: #778d76;   /* Variante verde medio */
        --color-muted: #aca8a5;         /* Variante gris neutro */
        /* Paleta institucional (Verdes + Arena/Dorado) */
        --brand-primary: var(--color-primary);
        --brand-primary-dark: #1A443A;
        --brand-accent: var(--color-accent-dark);
        --brand-accent-dark: var(--color-accent-light);
        --brand-secondary: var(--color-muted);
        --brand-warning: var(--color-gold);
        --brand-success: #388E3C;
        --brand-gold: var(--color-gold);
        --brand-gradient: var(--color-primary);
        --brand-gradient-light: var(--color-accent-light);
        --brand-gradient-card: var(--color-primary);

        /* Bootstrap overrides */
        --bs-primary: var(--color-primary);
        --bs-primary-rgb: 35, 91, 78;
        --bs-success: #388E3C;
        --bs-success-rgb: 56, 142, 60;
        --bs-warning: var(--color-gold);
        --bs-warning-rgb: 232, 154, 60;
        --bs-info: var(--color-accent-light);
        --bs-info-rgb: 74, 139, 125;
        --bs-secondary: var(--color-muted);
        --bs-secondary-rgb: 221, 201, 163;
        
        /* Dimensiones y efectos */
        --radius-sm: 8px;
        --radius-md: 16px;
        --radius-lg: 24px;
        --shadow-sm: 0 2px 8px rgba(26, 68, 58, 0.10);
        --shadow-md: 0 4px 16px rgba(26, 68, 58, 0.14);
        --shadow-lg: 0 8px 32px rgba(26, 68, 58, 0.18);
        --shadow-hero: 0 12px 48px rgba(35, 91, 78, 0.28);
        --transition-base: .2s cubic-bezier(.4,.0,.2,1);
        --transition-smooth: .26s cubic-bezier(.25,.8,.25,1);
}

body {
        font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif;
        background: var(--color-bg-base);
        min-height: 100vh;
        color: var(--brand-primary-dark);
        -webkit-font-smoothing: antialiased;
        line-height: 1.6;
}

/* ===================== Typography ===================== */
h1,h2,h3,h4,h5 { font-weight:600; letter-spacing:.5px; }
p { line-height:1.5; }

/* ===================== Navbar ===================== */
.navbar-brand { 
        font-weight: 700; 
        letter-spacing: 0.5px; 
        color: var(--brand-primary-dark) !important;
        display: flex;
        align-items: center;
        gap: 0.5rem;
}

.navbar {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(42, 110, 95, 0.2);
        box-shadow: var(--shadow-sm);
}

.navbar-nav .nav-link { 
        position: relative; 
        padding: 12px 16px; 
        transition: var(--transition-base); 
        color: var(--brand-primary-dark) !important;
        font-weight: 500;
}

.navbar-nav .nav-link:hover { 
        text-decoration: none; 
        color: var(--brand-primary) !important; 
        transform: none;
}

.navbar-nav .nav-link::after { 
        content: ''; 
        position: absolute; 
        left: 50%; 
        bottom: 0; 
        width: 0; 
        height: 3px; 
        background: var(--brand-gradient-card); 
        transition: var(--transition-base); 
        border-radius: 2px;
}

.navbar-nav .nav-link:hover::after { 
        width: 80%; 
        left: 10%; 
}

/* ===================== Buttons ===================== */
.btn-primary { 
        background: var(--brand-gradient-card); 
        border: none; 
        box-shadow: var(--shadow-md); 
        border-radius: var(--radius-sm);
        font-weight: 600;
        padding: 0.75rem 1.5rem;
        transition: var(--transition-smooth);
}

.btn-primary:hover { 
        background: var(--color-accent-dark); 
        box-shadow: var(--shadow-lg); 
        transform: translateY(-1px);
}

.btn-accent { 
        background: var(--brand-accent); 
        color: #fff; 
        border: none; 
        box-shadow: var(--shadow-sm); 
        border-radius: var(--radius-sm);
        font-weight: 600;
        transition: var(--transition-smooth);
}

.btn-accent:hover { 
        background: var(--brand-accent-dark); 
        color: #fff; 
        box-shadow: var(--shadow-md); 
        transform: translateY(-0.5px);
}

.btn-outline-accent { 
        border: 2px solid var(--brand-accent); 
        color: var(--brand-accent); 
        background: rgba(42, 110, 95, 0.06);
        font-weight: 600;
        transition: var(--transition-smooth);
}

.btn-outline-accent:hover { 
        background: var(--brand-accent); 
        color: #fff; 
        transform: translateY(-0.5px);
        box-shadow: var(--shadow-md);
}

.btn-custom { 
        background: var(--brand-gradient-card); 
        color: #fff; 
        border-radius: var(--radius-sm); 
        padding: 0.75rem 1.25rem; 
        font-weight: 600; 
        box-shadow: var(--shadow-sm); 
        border: none;
        transition: var(--transition-smooth);
}

.btn-custom:hover { 
        background: var(--brand-primary-dark); 
        color: #fff; 
        transform: translateY(-1px);
        box-shadow: var(--shadow-lg);
}

.btn-json {
        background: var(--brand-accent);
        border-color: var(--brand-accent);
        color: #fff;
        font-weight: 600;
}

.btn-json:hover,
.btn-json:focus,
.btn-json:active,
.btn-json.active,
.show > .btn-json.dropdown-toggle {
        background: var(--brand-primary);
        border-color: var(--color-accent-dark);
        color: #fff;
}

.btn-outline-json {
        color: var(--brand-accent);
        border-color: var(--brand-accent);
        background: rgba(42, 110, 95, 0.06);
        font-weight: 600;
}

.btn-outline-json:hover,
.btn-outline-json:focus,
.btn-outline-json:active,
.btn-outline-json.active,
.show > .btn-outline-json.dropdown-toggle {
        color: #fff;
        background: var(--brand-accent);
        border-color: var(--brand-accent);
}

/* ===================== Bootstrap State Overrides ===================== */
.btn:focus,
.btn:focus-visible {
        box-shadow: 0 0 0 0.2rem rgba(42, 110, 95, 0.25) !important;
}

.btn-primary,
.btn-outline-primary {
        --bs-btn-focus-shadow-rgb: 42, 110, 95;
}

.btn-outline-primary {
        color: var(--brand-primary);
        border-color: var(--color-accent-dark);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.show > .btn-outline-primary.dropdown-toggle {
        color: #fff;
        background-color: var(--color-accent-dark);
        border-color: var(--color-accent-dark);
}

.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
        background: var(--brand-accent-dark) !important;
        border-color: var(--brand-accent-dark) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
        color: var(--brand-primary-dark);
        background-color: rgba(42, 110, 95, 0.10);
}

.dropdown-item:active,
.dropdown-item.active {
        color: #fff;
        background-color: var(--color-accent-dark);
}

.nav-tabs .nav-link {
        color: var(--brand-primary-dark);
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
        border-color: rgba(42, 110, 95, 0.25);
        color: var(--brand-primary);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
        color: var(--brand-primary-dark);
        background-color: rgba(42, 110, 95, 0.10);
        border-color: rgba(42, 110, 95, 0.25) rgba(42, 110, 95, 0.25) #fff;
}

.page-link {
        color: var(--brand-primary);
}

.page-link:hover {
        color: var(--brand-primary-dark);
        background-color: rgba(42, 110, 95, 0.10);
        border-color: rgba(42, 110, 95, 0.25);
}

.page-link:focus {
        box-shadow: 0 0 0 0.2rem rgba(42, 110, 95, 0.25);
}

.page-item.active .page-link {
        background-color: var(--color-accent-dark);
        border-color: var(--color-accent-dark);
}

/* ===================== Cards ===================== */
.card { 
        border-radius: var(--radius-md); 
        transition: var(--transition-smooth); 
        border: 0; 
        box-shadow: var(--shadow-sm); 
        position: relative; 
        overflow: hidden;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
}

.card:hover { 
        box-shadow: var(--shadow-lg); 
}

/* Excluir animación hover en el área de filtros de búsqueda */
.filters-card:hover {
        transform: none !important;
        box-shadow: var(--shadow-sm) !important;
}

/* Estilos personalizados para tabla de personal */
.table-info-custom {
        --bs-table-bg: rgba(42, 110, 95, 0.10);
        --bs-table-striped-bg: rgba(42, 110, 95, 0.05);
        --bs-table-active-bg: rgba(42, 110, 95, 0.18);
        --bs-table-hover-bg: rgba(42, 110, 95, 0.14);
        border-color: var(--color-accent-dark);
}

.table-info-custom thead th {
        background-color: var(--color-accent-dark);
        color: white;
        border-color: var(--brand-primary-dark);
}

/* Botones DataTables personalizados */
.dt-buttons .btn {
        margin-right: 0.5rem;
        border-radius: var(--radius-sm);
}

.dt-buttons .btn-success {
        background-color: var(--brand-success);
        border-color: var(--brand-success);
}

.dt-buttons .btn-success:hover {
        background-color: #2f7a33;
        border-color: #2f7a33;
}

.card-gradient-header { 
        background: var(--brand-gradient); 
        color: #fff; 
        padding: 1.5rem 1.5rem; 
        position: relative;
        overflow: hidden;
}

.card-gradient-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%);
}

.card-gradient-header h5 { 
        margin: 0; 
        font-size: 1.1rem; 
        letter-spacing: 0.5px; 
        text-transform: uppercase; 
        font-weight: 700;
        position: relative;
        z-index: 1;
}

.card-icon-circle { 
        width: 64px; 
        height: 64px; 
        border-radius: 50%; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        background: rgba(35,91,78,0.10); 
        color: var(--brand-primary); 
        font-size: 1.6rem; 
        margin: 0 auto 1.5rem; 
        box-shadow: 0 4px 20px rgba(35,91,78,0.28);
        border: 3px solid rgba(35,91,78,0.18);
        transition: var(--transition-smooth);
}

.card:hover .card-icon-circle {
        box-shadow: 0 5px 24px rgba(35,91,78,0.30);
}

.card-actions { 
        display: flex; 
        gap: 0.75rem; 
        justify-content: center; 
        margin-top: 1rem; 
}

.card-actions .btn { 
        font-size: 0.8rem; 
        padding: 0.6rem 1rem; 
        border-radius: var(--radius-sm);
}

.card img.card-hero-img { 
        width: 100%; 
        height: 200px; 
        object-fit: cover; 
        filter: saturate(1.1) contrast(1.1); 
}

/* ===================== Hero Section ===================== */
.app-hero { 
        background: var(--brand-gradient); 
        border-radius: var(--radius-lg); 
        padding: 3rem 2.5rem; 
        color: #fff; 
        position: relative; 
        overflow: hidden; 
        box-shadow: var(--shadow-hero);
        margin-bottom: 2rem;
}

.app-hero::before { 
        content: ""; 
        position: absolute; 
        inset: 0; 
        background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.3), transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2), transparent 60%); 
        mix-blend-mode: overlay; 
}

.app-hero::after {
        content: "";
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
        animation: float 12s ease-in-out infinite;
}

@keyframes float {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-6px) rotate(8deg); }
}

.app-hero h2 { 
        font-weight: 800; 
        font-size: 2.2rem; 
        position: relative;
        z-index: 2;
        text-shadow: 0 2px 4px rgba(26,68,58,0.35);
}

.app-hero p {
        position: relative;
        z-index: 2;
        font-size: 1.1rem;
        opacity: 0.95;
}

.role-badge { 
        background: rgba(255,255,255,0.2); 
        backdrop-filter: blur(8px); 
        border: 1px solid rgba(255,255,255,0.3); 
        padding: 0.5rem 1rem; 
        border-radius: var(--radius-lg); 
        font-size: 0.7rem; 
        letter-spacing: 1px; 
        text-transform: uppercase; 
        font-weight: 900;
        box-shadow: 0 2px 8px rgba(26,68,58,0.22);
        transition: var(--transition-base);
}

.role-badge:hover {
        background: rgba(255,255,255,0.3);
        transform: translateY(-0.5px);
}

/* ===================== DataTables Custom ===================== */
table.dataTable thead th { 
        background: #ffffff; 
        border-bottom: 3px solid var(--brand-primary); 
        font-size: 0.8rem; 
        letter-spacing: 0.5px; 
        text-transform: uppercase; 
        color: var(--brand-primary-dark);
        font-weight: 700;
        padding: 1rem 0.75rem;
}

table.dataTable tbody tr:hover { 
        background: rgba(42,110,95,0.08); 
        transition: var(--transition-base);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current { 
        background: var(--brand-gradient-card) !important; 
        color: #fff !important; 
        border-radius: var(--radius-sm); 
        border: none !important;
}

.dataTables_wrapper .dataTables_filter input { 
        border-radius: var(--radius-sm); 
        border: 2px solid rgba(42,110,95,0.28); 
        padding: 0.5rem 0.75rem; 
        transition: var(--transition-base);
}

.dataTables_wrapper .dataTables_filter input:focus {
        border-color: var(--color-accent-dark);
        box-shadow: 0 0 0 3px rgba(42,110,95,0.20);
}

/* ===================== Forms ===================== */
.form-control, input[type=text], input[type=password], select, textarea { 
        border-radius: var(--radius-sm) !important; 
        border: 2px solid rgba(42,110,95,0.28);
        padding: 0.75rem;
        transition: var(--transition-base);
}

.form-control:focus { 
        box-shadow: 0 0 0 4px rgba(42,110,95,0.22); 
        border-color: var(--color-accent-dark); 
        outline: none;
}

/* ===================== Footer ===================== */
.app-footer { 
        margin-top: 5rem; 
        padding: 3rem 0; 
        font-size: 0.85rem; 
        color: var(--brand-primary-dark); 
        background: rgba(255,255,255,0.8);
        backdrop-filter: blur(10px);
}

/* ===================== Utility Classes ===================== */
.text-accent { 
        color: var(--brand-accent) !important; 
}

.gradient-text { 
        display: inline-block;
        color: var(--brand-primary); 
        font-weight: 800;
        letter-spacing: 0.02em;
        line-height: 1.15;
        text-wrap: balance;
        overflow-wrap: anywhere;
        text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}

.navbar-brand .gradient-text {
        font-size: clamp(1rem, 1.2vw + 0.65rem, 1.8rem);
        max-width: min(64vw, 780px);
        white-space: normal;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
        .gradient-text {
                color: var(--brand-primary-dark);
        }
}

/* ===================== Animations ===================== */
@keyframes pulse-glow {
        0%, 100% { box-shadow: 0 0 4px rgba(35,91,78,0.32); }
        50% { box-shadow: 0 0 10px rgba(35,91,78,0.46), 0 0 14px rgba(74,139,125,0.28); }
}

.pulse-glow {
        animation: pulse-glow 3s infinite;
}

/* ===================== Responsive ===================== */
@media (max-width: 991px) {
        .navbar-brand .gradient-text {
                font-size: clamp(0.95rem, 2.2vw + 0.5rem, 1.35rem);
                max-width: 62vw;
        }

        .card-icon-circle { 
                margin: 0 0 1.5rem 0; 
                width: 56px;
                height: 56px;
                font-size: 1.4rem;
        }
        
        .app-hero { 
                padding: 2rem 1.5rem; 
        }
        
        .app-hero h2 {
                font-size: 1.8rem;
        }
        
        /* Removed card hover transform for mobile */
        
        /* Excluir animación hover en filtros también en responsive */
        .filters-card:hover {
                transform: none !important;
        }
}

@media (max-width: 576px) {
        .navbar-brand .gradient-text {
                font-size: clamp(0.85rem, 2.8vw + 0.45rem, 1.1rem);
                max-width: 56vw;
                line-height: 1.2;
        }

        .app-hero {
                padding: 1.5rem 1rem;
        }
        
        .app-hero h2 {
                font-size: 1.5rem;
        }
        
        .role-badge {
                font-size: 0.6rem;
                padding: 0.4rem 0.8rem;
        }
}

/* ===================== UX Improvements for Required Fields ===================== */
.required-field-info {
        background: #f3ead8;
        border-left: 4px solid var(--brand-primary);
        animation: slideInDown 0.35s ease-out;
}

.required-field-info .fas {
        animation: pulse 2s infinite;
}

.form-label.fw-bold.text-primary {
        color: var(--brand-primary-dark) !important;
        text-shadow: 0 1px 2px rgba(26, 68, 58, 0.12);
}

.form-label .fas {
        margin-right: 0.5rem;
        opacity: 0.8;
}

.form-text .fas {
        font-size: 0.85em;
        margin-right: 0.25rem;
}

.form-select.is-invalid,
.form-control.is-invalid {
        border-color: var(--brand-warning);
        box-shadow: 0 0 0 0.2rem rgba(232, 154, 60, 0.25);
        animation: shake 0.32s ease-in-out;
}

.form-select.is-valid,
.form-control.is-valid {
        border-color: var(--brand-success);
        box-shadow: 0 0 0 0.2rem rgba(56, 142, 60, 0.22);
}

.alert-success .d-flex {
        align-items: flex-start;
}

.alert-success .fas {
        font-size: 1.2em;
        margin-top: 0.1rem;
}

/* Animations */
@keyframes slideInDown {
        from {
                transform: translateY(-10px);
                opacity: 0;
        }
        to {
                transform: translateY(0);
                opacity: 1;
        }
}

@keyframes pulse {
        0%, 100% {
                opacity: 1;
        }
        50% {
                opacity: 0.7;
        }
}

@keyframes shake {
        0%, 100% {
                transform: translateX(0);
        }
        25% {
                transform: translateX(-2px);
        }
        75% {
                transform: translateX(2px);
        }
}

/* ===================== Dashboard Moderno ===================== */

/* Stat Cards */
.stat-card {
        border-radius: var(--radius-md);
        border: none;
        background: var(--bs-primary);
        color: white;
        padding: 1.5rem;
        position: relative;
        overflow: hidden;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-md);
}

.stat-card:hover {
        box-shadow: var(--shadow-lg);
}

.stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        transform: translate(30px, -30px);
}

.stat-card.bg-primary { background: var(--color-primary) !important; }
.stat-card.bg-success { background: #388E3C !important; }
.stat-card.bg-warning { background: var(--color-gold) !important; }
.stat-card.bg-info { background: var(--color-accent-light) !important; }

.stat-content {
        display: flex;
        align-items: center;
        gap: 1rem;
        position: relative;
        z-index: 2;
}

.stat-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.2);
        font-size: 1.5rem;
        backdrop-filter: blur(10px);
}

.stat-content h3 {
        font-size: 2rem;
        font-weight: 700;
        margin: 0;
        color: white;
}

.stat-content p {
        margin: 0;
        opacity: 0.9;
        font-size: 0.9rem;
        font-weight: 500;
}

/* Main Action Card */
.main-action-card {
        border: none;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        transition: var(--transition-smooth);
        background: #ffffff;
        border: 1px solid rgba(42, 110, 95, 0.14);
}

.main-action-card:hover {
        box-shadow: var(--shadow-lg);
        border-color: rgba(42, 110, 95, 0.26);
}

.action-icon {
        width: 80px;
        height: 80px;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: white;
        position: relative;
        overflow: hidden;
}

.action-icon.bg-primary {
        background: var(--brand-primary);
}

.action-icon::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
        transform: translateX(-100%);
        transition: transform 0.6s;
}

.main-action-card:hover .action-icon::before {
        transform: translateX(100%);
}

/* Quick Action Cards */
.quick-action-card {
        border: none;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        transition: var(--transition-base);
        border: 1px solid rgba(0,0,0,0.05);
}

.quick-action-card:hover {
        box-shadow: var(--shadow-md);
        border-color: rgba(42, 110, 95, 0.24);
}

.quick-icon {
        width: 50px;
        height: 50px;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: white;
        flex-shrink: 0;
}

.quick-icon.bg-success { background: #388E3C; }
.quick-icon.bg-warning { background: var(--color-gold); }
.quick-icon.bg-danger { background: #1A443A; }
.quick-icon.bg-info { background: var(--color-accent-light); }

.quick-action-body {
        padding: 1rem 1.1rem;
}

.quick-action-title {
        margin-bottom: 0.25rem;
        font-weight: 600;
}

.quick-action-text {
        margin-bottom: 0.65rem;
        font-size: 0.82rem;
        color: #6c757d;
        line-height: 1.35;
}

.quick-action-btn {
        min-width: 108px;
        text-align: center;
}

.stats-layout-preview {
        display: grid;
        gap: 0.65rem;
}

.stats-preview-item {
        border: 1px solid rgba(74, 139, 125, 0.2);
        border-radius: var(--radius-sm);
        background: rgba(74, 139, 125, 0.09);
        padding: 0.75rem 0.85rem;
}

.stats-preview-item strong {
        color: var(--brand-primary-dark);
        font-size: 0.95rem;
}

/* Timeline */
.timeline {
        position: relative;
        padding-left: 2rem;
}

.timeline::before {
        content: '';
        position: absolute;
        left: 12px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--brand-primary);
        border-radius: 1px;
}

.timeline-item {
        position: relative;
        padding-bottom: 2rem;
}

.timeline-item:last-child {
        padding-bottom: 0;
}

.timeline-marker {
        position: absolute;
        left: -1.5rem;
        top: 0.25rem;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 3px solid white;
        box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.timeline-content h6 {
        color: var(--brand-primary-dark);
        margin-bottom: 0.25rem;
}

.timeline-content p {
        font-size: 0.9rem;
        line-height: 1.4;
}

.timeline-content small {
        font-size: 0.8rem;
}

/* Status Items */
.status-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
        border-radius: var(--radius-sm);
        background: rgba(42, 110, 95, 0.06);
        border: 1px solid rgba(42, 110, 95, 0.14);
}

.status-indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        flex-shrink: 0;
        position: relative;
}

.status-indicator::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
        opacity: 0.3;
        animation: pulse 3s infinite;
}

.status-indicator.bg-success {
        background: #388E3C;
}

.status-indicator.bg-warning {
        background: var(--color-gold);
}

.status-indicator.bg-info {
        background: var(--color-accent-light);
}

@keyframes pulse {
        0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.25;
        }
        50% {
                transform: translate(-50%, -50%) scale(1.2);
                opacity: 0.12;
        }
        100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.25;
        }
}

/* Feature Graphic */
.feature-graphic {
        padding: 2rem;
        position: relative;
}

.feature-graphic i {
        position: relative;
        z-index: 1;
}

.feature-graphic::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 120px;
        height: 120px;
        background: radial-gradient(circle, rgba(42, 110, 95, 0.12) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 5s ease-in-out infinite;
}

@keyframes float {
        0%, 100% {
                transform: translate(-50%, -50%) translateY(0px);
        }
        50% {
                transform: translate(-50%, -50%) translateY(-4px);
        }
}

/* Responsive adjustments */
@media (max-width: 768px) {
        .stat-card {
                padding: 1rem;
        }
        
        .stat-content {
                gap: 0.75rem;
        }
        
        .stat-icon {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
        }
        
        .stat-content h3 {
                font-size: 1.5rem;
        }
        
        .action-icon {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
        }
        
        .main-action-card .row {
                text-align: center;
        }
        
        .feature-graphic {
                padding: 1rem;
        }
}

/* Timeline Component */
.timeline {
    position: relative;
    padding-left: 0;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 35px;
    width: 2px;
    height: calc(100% + 10px);
    background: var(--bs-border-color);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 1;
}

.timeline-content h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Enhanced card borders */
.card.border-primary {
    border-width: 2px !important;
}

/* Table enhancements */
.table th {
    font-weight: 600;
    font-size: 0.875rem;
}

.table td {
    font-size: 0.875rem;
    vertical-align: middle;
}

.table td code.badge {
    font-size: 0.75rem;
}


.signature-mark {
    margin: 18px 0 0;
    text-align: center;
    color: #5b6b69;
    font-size: 0.86rem;
    letter-spacing: 0.22em;
    font-weight: 700;
    user-select: none;
}

.signature-mark .fa-brands {
    margin-left: 6px;
    font-size: 0.95em;
}



