:root {
            --crimson-deep: #6B0F0F;
            --crimson-glass: #8B1A1A;
            --gold-rose: #D4B2B2;
            --glass-bg: rgba(18, 20, 24, 0.85);
            --glass-border: rgba(212, 178, 178, 0.2);
            --accent: #c41e3a;
            --accent-light: #e74c3c;
            --text: #f7fafc;
            --text-secondary: #a0aec0;
            --success: #27ae60;
            --warning: #f39c12;
            --danger: #e74c3c;
            
            
            --form-bg: rgba(0, 0, 0, 0.2);
            --form-border: rgba(212, 178, 178, 0.15);
            --form-focus: var(--gold-rose);
            --form-hover: rgba(212, 178, 178, 0.25);
            --form-placeholder: rgba(255, 255, 255, 0.4);
            
            
            --transition-fast: 0.2s ease;
            --transition-base: 0.3s ease;
            --transition-slow: 0.5s ease;
        }
        

.page-transition {
    animation: pageFadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes pageFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-exit {
    animation: pageFadeOut 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes pageFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}


.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    pointer-events: none;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(212, 178, 178, 0.1);
    border-top: 2px solid var(--gold-rose);
    border-right: 2px solid var(--gold-rose);
    border-radius: 50%;
    animation: spinnerRotate 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

@keyframes spinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.glass-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: cardAppear 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.glass-card:nth-child(1) { animation-delay: 0.1s; }
.glass-card:nth-child(2) { animation-delay: 0.2s; }
.glass-card:nth-child(3) { animation-delay: 0.3s; }


.glass-nav a {
    position: relative;
    overflow: hidden;
}

.glass-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-rose);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.glass-nav a:hover::after {
    width: 70%;
}

.glass-nav a.active::after {
    width: 70%;
}


.stat-number {
    transition: all 0.3s ease;
}

.stat-number.updated {
    animation: numberPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes numberPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); color: var(--gold-rose); }
    100% { transform: scale(1); }
}


.data-table tbody tr {
    animation: rowAppear 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation-fill-mode: both;
}

@keyframes rowAppear {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.data-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.data-table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.data-table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.data-table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.data-table tbody tr:nth-child(5) { animation-delay: 0.25s; }
.data-table tbody tr:nth-child(6) { animation-delay: 0.3s; }
.data-table tbody tr:nth-child(7) { animation-delay: 0.35s; }
.data-table tbody tr:nth-child(8) { animation-delay: 0.4s; }
.data-table tbody tr:nth-child(9) { animation-delay: 0.45s; }
.data-table tbody tr:nth-child(10) { animation-delay: 0.5s; }


.app-btn, .search-btn, .submit-btn, .result-btn {
    position: relative;
    overflow: hidden;
}

.app-btn::after, .search-btn::after, .submit-btn::after, .result-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 178, 178, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.app-btn:active::after, .search-btn:active::after, .submit-btn:active::after, .result-btn:active::after {
    width: 300px;
    height: 300px;
}


.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--crimson-deep), var(--gold-rose), var(--crimson-deep));
    z-index: 10000;
    transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 20px var(--gold-rose);
}


.timeline-item {
    animation: timelineSlide 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation-fill-mode: both;
}

@keyframes timelineSlide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }


.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--crimson-deep), var(--gold-rose), var(--crimson-deep));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 0.5;
    filter: blur(10px);
}


.search-input {
    transition: all 0.3s ease;
}

.search-input:focus {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(212, 178, 178, 0.2);
}


.status-badge {
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}


html {
    scroll-behavior: smooth;
}


.glass-footer {
    animation: footerFadeIn 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

@keyframes footerFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}        

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

        body {
            font-family: 'Inter', sans-serif;
            background: #0A0C0F;
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
        }

        
        .liquid-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .liquid-layer {
            position: absolute;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 30% 40%, rgba(107, 15, 15, 0.15) 0%, transparent 45%),
                radial-gradient(circle at 70% 60%, rgba(212, 178, 178, 0.1) 0%, transparent 50%);
            filter: blur(50px);
            animation: liquidMove 25s ease-in-out infinite alternate;
        }

        .liquid-layer-2 {
            position: absolute;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 45% 55%, rgba(139, 26, 26, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 55% 45%, rgba(212, 178, 178, 0.08) 0%, transparent 55%);
            filter: blur(70px);
            animation: liquidMove 30s ease-in-out infinite alternate-reverse;
            opacity: 0.8;
        }

        @keyframes liquidMove {
            0% { transform: scale(1) translate(0, 0); }
            100% { transform: scale(1.2) translate(-2%, -1%); }
        }

        .fog {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 30%, rgba(10, 12, 15, 0.3) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(107, 15, 15, 0.1) 0%, transparent 70%);
            filter: blur(40px);
            pointer-events: none;
            z-index: 5;
            animation: fogMove 20s ease-in-out infinite alternate;
        }

        @keyframes fogMove {
            0% { opacity: 0.5; transform: scale(1); }
            100% { opacity: 0.8; transform: scale(1.1); }
        }

        .drops {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 10;
        }

        .drop {
            position: absolute;
            width: 4px;
            height: 10px;
            background: rgba(212, 178, 178, 0.1);
            border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
            filter: blur(3px);
        }

        .drop1 { top: 15%; left: 5%; }
        .drop2 { top: 45%; left: 90%; width: 3px; height: 8px; }
        .drop3 { top: 75%; left: 15%; width: 6px; height: 14px; }
        .drop4 { top: 25%; left: 70%; }
        .drop5 { top: 60%; left: 45%; }
        .drop6 { top: 80%; left: 80%; width: 3px; height: 9px; }
        .drop7 { top: 35%; left: 30%; }
        .drop8 { top: 55%; left: 60%; }
        .drop9 { top: 12%; left: 50%; width: 3px; height: 8px; }
        .drop10 { top: 68%; left: 20%; width: 6px; height: 15px; }

        
        .glass-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(10, 12, 15, 0.85);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--glass-border);
            padding: 16px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .glass-logo {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .glass-badge {
            background: rgba(107, 15, 15, 0.3);
            padding: 10px 18px;
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 700;
            font-size: 1.2rem;
            color: white;
            letter-spacing: 4px;
            border: 1px solid rgba(212, 178, 178, 0.3);
            border-radius: 12px;
            transform: skewX(-5deg);
        }

        .glass-title {
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: 6px;
            color: white;
            font-family: 'Space Grotesk', sans-serif;
        }

        .glass-title span {
            color: var(--gold-rose);
            margin-left: 10px;
        }

        .glass-nav {
            display: flex;
            gap: 12px;
            background: rgba(0, 0, 0, 0.3);
            padding: 6px;
            border-radius: 100px;
            border: 1px solid rgba(212, 178, 178, 0.15);
        }

        .glass-nav a {
            padding: 12px 32px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            border-radius: 100px;
            transition: all 0.3s ease;
        }

        .glass-nav a:hover {
            color: white;
            background: rgba(107, 15, 15, 0.2);
        }

        .glass-nav a.active {
            background: rgba(107, 15, 15, 0.3);
            color: white;
            border: 1px solid rgba(212, 178, 178, 0.3);
            box-shadow: 0 0 20px rgba(107, 15, 15, 0.3);
        }

        .glass-status {
            border: 1px solid rgba(212, 178, 178, 0.2);
            padding: 10px 28px;
            border-radius: 100px;
            background: rgba(107, 15, 15, 0.15);
            color: var(--gold-rose);
            font-size: 0.8rem;
            letter-spacing: 2px;
        }

        
        .dashboard {
            max-width: 1400px;
            margin: 120px auto 40px;
            padding: 0 30px;
            display: grid;
            grid-template-columns: 1.2fr 0.9fr 1.2fr;
            gap: 24px;
        }

        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
            transition: all 0.3s ease;
        }

        .glass-card:hover {
            border-color: rgba(212, 178, 178, 0.4);
            box-shadow: 0 25px 60px -15px rgba(107, 15, 15, 0.4);
        }

        .card-header {
            padding: 20px 28px;
            border-bottom: 1px solid rgba(212, 178, 178, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 0.8rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.7);
            background: rgba(0, 0, 0, 0.2);
        }

        .card-body {
            padding: 28px;
        }

        
        .director-section {
            text-align: center;
            padding: 30px 20px;
        }

        .director-name {
            font-size: 3.2rem;
            font-weight: 800;
            font-family: 'Space Grotesk', sans-serif;
            letter-spacing: -2px;
            color: white;
            text-shadow: 4px 4px 0 rgba(107, 15, 15, 0.4);
            margin-bottom: 15px;
        }

        .director-title {
            font-size: 0.8rem;
            letter-spacing: 12px;
            color: var(--gold-rose);
            text-transform: uppercase;
            border-top: 1px solid rgba(212, 178, 178, 0.2);
            border-bottom: 1px solid rgba(212, 178, 178, 0.2);
            padding: 16px 0;
            width: 100%;
        }

        .director-id {
            font-family: 'Space Grotesk', sans-serif;
            color: rgba(255,255,255,0.6);
            margin: 20px 0;
            font-size: 0.9rem;
            letter-spacing: 2px;
        }

        .director-badges {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 20px;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 22px;
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 1px;
        }

        .badge-active {
            background: rgba(46, 204, 113, 0.15);
            color: #2ecc71;
            border: 1px solid rgba(46, 204, 113, 0.3);
        }

        .badge-discord {
            background: rgba(212, 178, 178, 0.1);
            color: var(--gold-rose);
            border: 1px solid rgba(212, 178, 178, 0.3);
            text-decoration: none;
        }

        
        .deputy-wrapper {
            padding: 28px;
            border-top: 1px solid rgba(212, 178, 178, 0.1);
        }

        .deputy-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }

        .deputy-title {
            font-family: 'Space Grotesk', sans-serif;
            letter-spacing: 3px;
            color: rgba(255,255,255,0.6);
            font-size: 0.8rem;
        }

        .deputy-count {
            color: var(--gold-rose);
            background: rgba(212,178,178,0.1);
            padding: 5px 15px;
            border-radius: 100px;
            font-size: 0.7rem;
        }

        .deputy-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .deputy-card {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(212, 178, 178, 0.1);
            padding: 22px;
            border-radius: 16px;
            transition: all 0.3s;
        }

        .deputy-card:hover {
            background: rgba(107, 15, 15, 0.15);
            border-color: var(--crimson-deep);
            transform: translateY(-3px);
        }

        .deputy-name {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 8px;
            font-family: 'Space Grotesk', sans-serif;
        }

        .deputy-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 12px;
        }

        .deputy-discord {
            color: var(--gold-rose);
            text-decoration: none;
            font-size: 0.75rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            background: rgba(212, 178, 178, 0.1);
            border-radius: 100px;
        }

        .vacancy-card {
            border: 1px dashed rgba(212,178,178,0.2);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 22px;
        }

        
        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .stat-block {
            background: rgba(0, 0, 0, 0.2);
            padding: 24px;
            border-left: 4px solid var(--crimson-deep);
            border-radius: 12px;
            transition: all 0.3s;
        }

        .stat-block:hover {
            background: rgba(107, 15, 15, 0.15);
            border-left-color: var(--gold-rose);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            font-family: 'Space Grotesk', sans-serif;
            line-height: 1;
            margin-bottom: 8px;
            color: white;
        }

        .stat-label {
            font-size: 0.7rem;
            letter-spacing: 3px;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
        }

        
        .passes-list {
            display: flex;
            flex-direction: column;
        }

        .pass-item {
            display: flex;
            justify-content: space-between;
            padding: 14px 0;
            border-bottom: 1px solid rgba(212, 178, 178, 0.1);
        }

        .pass-id {
            font-family: 'Space Grotesk', sans-serif;
            color: var(--gold-rose);
        }

        .pass-owner {
            color: rgba(255,255,255,0.9);
        }

        .pass-status {
            color: #2ecc71;
        }

        .empty-passes {
            text-align: center;
            padding: 30px 20px;
            color: rgba(255,255,255,0.4);
            font-style: italic;
        }

        
        .step-list {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .step-item {
            display: flex;
            gap: 18px;
            align-items: center;
        }

        .step-marker {
            width: 45px;
            height: 45px;
            background: rgba(107, 15, 15, 0.2);
            border: 1px solid var(--crimson-deep);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            font-weight: 700;
            color: var(--gold-rose);
        }

        
        .registry-container {
            max-width: 1400px;
            margin: 120px auto 40px;
            padding: 0 30px;
        }

        .search-box {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 24px;
        }

        .search-form {
            display: flex;
            gap: 16px;
        }

        .search-input {
            flex: 1;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(212, 178, 178, 0.2);
            border-radius: 12px;
            padding: 16px 20px;
            color: white;
            font-size: 0.95rem;
        }

        .search-btn {
            background: rgba(107, 15, 15, 0.3);
            border: 1px solid rgba(212, 178, 178, 0.3);
            border-radius: 12px;
            padding: 16px 36px;
            color: white;
            font-weight: 600;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .search-btn:hover {
            background: rgba(107, 15, 15, 0.5);
            border-color: var(--gold-rose);
        }

        .table-responsive {
            overflow-x: auto;
            border-radius: 16px;
            background: rgba(0, 0, 0, 0.15);
        }

        .data-table {
            width: 100%;
            border-collapse: collapse;
        }

        .data-table th {
            background: rgba(107, 15, 15, 0.25);
            padding: 18px 16px;
            text-align: left;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            color: var(--gold-rose);
            border-bottom: 2px solid var(--crimson-deep);
        }

        .data-table td {
            padding: 16px;
            border-bottom: 1px solid rgba(212, 178, 178, 0.1);
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.85rem;
        }

        .data-table tr:hover {
            background: rgba(107, 15, 15, 0.1);
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .status-active {
            background: rgba(46, 204, 113, 0.15);
            color: #2ecc71;
            border: 1px solid rgba(46, 204, 113, 0.3);
        }

        .status-warning {
            background: rgba(243, 156, 18, 0.15);
            color: #f39c12;
            border: 1px solid rgba(243, 156, 18, 0.3);
        }

        .status-expired {
            background: rgba(231, 76, 60, 0.15);
            color: #e74c3c;
            border: 1px solid rgba(231, 76, 60, 0.3);
        }

        .status-pending {
            background: rgba(243, 156, 18, 0.15);
            color: #f39c12;
            border: 1px solid rgba(243, 156, 18, 0.3);
        }

        .status-approved {
            background: rgba(46, 204, 113, 0.15);
            color: #2ecc71;
            border: 1px solid rgba(46, 204, 113, 0.3);
        }

        .status-rejected {
            background: rgba(231, 76, 60, 0.15);
            color: #e74c3c;
            border: 1px solid rgba(231, 76, 60, 0.3);
        }

        
        .apps-container {
            max-width: 1200px;
            margin: 120px auto 40px;
            padding: 0 30px;
        }

        .apps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin: 40px 0;
        }

        .app-card {
            background: rgba(0, 0, 0, 0.25);
            border: 1px solid rgba(212, 178, 178, 0.1);
            border-radius: 20px;
            padding: 32px 24px;
            text-align: center;
            transition: all 0.4s;
            cursor: pointer;
        }

        .app-card:hover {
            transform: translateY(-8px);
            border-color: var(--crimson-deep);
            background: rgba(107, 15, 15, 0.15);
            box-shadow: 0 15px 35px rgba(107, 15, 15, 0.2);
        }

        .app-icon {
            font-size: 2.5rem;
            color: var(--gold-rose);
            margin-bottom: 20px;
        }

        .app-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 12px;
            letter-spacing: 2px;
        }

        .app-desc {
            color: rgba(255,255,255,0.6);
            font-size: 0.85rem;
            margin-bottom: 20px;
            min-height: 60px;
        }

        .app-btn {
            background: rgba(107, 15, 15, 0.3);
            color: white;
            border: 1px solid rgba(212, 178, 178, 0.3);
            padding: 12px 24px;
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
        }

        .app-btn:hover {
            background: rgba(107, 15, 15, 0.5);
            border-color: var(--gold-rose);
        }

        
        .tracking-container {
            max-width: 1000px;
            margin: 120px auto 40px;
            padding: 0 30px;
        }

        .track-section {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 32px;
            margin-bottom: 30px;
        }

        .track-timeline {
            position: relative;
            padding: 20px 0;
        }

        .track-timeline:before {
            content: '';
            position: absolute;
            left: 30px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: rgba(212, 178, 178, 0.2);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 30px;
            padding-left: 70px;
        }

        .timeline-marker {
            position: absolute;
            left: 18px;
            top: 0;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            background: var(--crimson-deep);
            color: white;
        }

        .timeline-marker.completed {
            background: var(--success);
        }

        .timeline-marker.active {
            background: var(--accent);
            animation: pulse 2s infinite;
        }

        .timeline-content {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 16px;
            padding: 20px;
            border: 1px solid rgba(212, 178, 178, 0.1);
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(196, 30, 58, 0); }
            100% { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0); }
        }

        
        .glass-footer {
            max-width: 1400px;
            margin: 60px auto 40px;
            padding: 30px;
            border-top: 1px solid rgba(212, 178, 178, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.8rem;
            letter-spacing: 2px;
        }

        .footer-links {
            display: flex;
            gap: 40px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--gold-rose);
        }

        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(15px);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: var(--glass-bg);
            backdrop-filter: blur(30px);
            border: 1px solid rgba(212, 178, 178, 0.3);
            border-radius: 28px;
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            animation: modalSlide 0.4s ease;
        }

        @keyframes modalSlide {
            from { transform: translateY(-40px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .modal-header {
            padding: 24px 28px;
            border-bottom: 1px solid rgba(212, 178, 178, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        .modal-title {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.2rem;
        }

        .modal-title i {
            color: var(--gold-rose);
        }

        .modal-close, .close-modal {
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            font-size: 2rem;
            cursor: pointer;
            transition: all 0.3s;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-close:hover, .close-modal:hover {
            color: var(--crimson-deep);
            transform: rotate(90deg);
        }

        .modal-body {
            padding: 28px;
        }

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

        .form-group--hidden {
            display: none;
        }
        
        .form-group--visible {
            display: block;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            letter-spacing: 1px;
        }

        .form-control {
            width: 100%;
            padding: 14px 18px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(212, 178, 178, 0.2);
            border-radius: 12px;
            color: white;
            font-size: 0.95rem;
            transition: all 0.3s;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--gold-rose);
            background: rgba(0, 0, 0, 0.5);
        }

        .form-control::placeholder {
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.85rem;
        }

        .form-select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D4B2B2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 18px center;
            padding-right: 48px;
        }

        .form-textarea {
            min-height: 100px;
            resize: vertical;
        }

        .submit-btn {
            width: 100%;
            padding: 16px;
            background: rgba(107, 15, 15, 0.4);
            color: white;
            border: 1px solid rgba(212, 178, 178, 0.3);
            border-radius: 12px;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 4px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 20px;
        }

        .submit-btn:hover {
            background: rgba(107, 15, 15, 0.6);
            border-color: var(--gold-rose);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .warning-box {
            background: rgba(107, 15, 15, 0.1);
            border-left: 4px solid var(--crimson-deep);
            padding: 18px;
            border-radius: 12px;
            margin-bottom: 25px;
            display: flex;
            gap: 15px;
            align-items: flex-start;
        }

        .warning-icon {
            color: var(--gold-rose);
            font-size: 1.2rem;
        }

        
        .result-modal {
            text-align: center;
            padding: 30px;
        }
        
        .result-icon {
            font-size: 5rem;
            margin-bottom: 20px;
        }
        
        .success-icon {
            color: #2ecc71;
        }
        
        .error-icon {
            color: #e74c3c;
        }
        
        .result-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }
        
        .result-message {
            color: rgba(255,255,255,0.7);
            margin-bottom: 25px;
        }
        
        .tracking-id {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--gold-rose);
            background: rgba(0,0,0,0.3);
            padding: 15px;
            border-radius: 12px;
            letter-spacing: 3px;
            margin: 20px 0;
            border: 1px solid var(--gold-rose);
        }
        
        .copy-btn {
            background: rgba(212, 178, 178, 0.1);
            border: 1px solid var(--gold-rose);
            color: var(--gold-rose);
            padding: 12px 24px;
            border-radius: 100px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 20px;
        }
        
        .copy-btn:hover {
            background: var(--gold-rose);
            color: var(--crimson-deep);
        }
        
        .result-btn {
            background: rgba(107, 15, 15, 0.4);
            border: 1px solid rgba(212, 178, 178, 0.3);
            color: white;
            padding: 14px 32px;
            border-radius: 100px;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }
        
        .result-btn:hover {
            background: rgba(107, 15, 15, 0.6);
            border-color: var(--gold-rose);
        }
        
        
.badge-active {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.5);
    color: #2ecc71;
}

.badge-inactive {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #e74c3c;
}


.deputy-active {
    border-left: 3px solid #2ecc71;
}

.deputy-inactive {
    border-left: 3px solid #e74c3c;
    opacity: 0.8;
}

.deputy-status {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

        @media (max-width: 1100px) {
            .dashboard {
                grid-template-columns: 1fr;
            }
            
            .glass-header {
                flex-direction: column;
                gap: 20px;
                padding: 20px;
            }
            
            .glass-nav {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }
            
            .track-timeline:before {
                left: 20px;
            }
            
            .timeline-item {
                padding-left: 60px;
            }
            
            .timeline-marker {
                left: 8px;
            }
            
            .glass-footer {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
            
            .footer-links {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
        


@media screen and (max-width: 768px) {
    
    
    .glass-header {
        padding: 10px 15px;
        min-height: 60px;
    }
    
    .glass-logo {
        gap: 8px;
    }
    
    .glass-badge {
        font-size: 0.9rem;
        padding: 6px 10px;
        letter-spacing: 2px;
    }
    
    .glass-title {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .glass-title span {
        font-size: 0.6rem;
        margin-left: 5px;
    }
    
    .glass-status {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    
    .glass-nav {
        display: none; 
    }
    
    
    .mobile-menu-toggle {
        display: block;
        width: 40px;
        height: 40px;
        background: rgba(107, 15, 15, 0.3);
        border: 1px solid var(--glass-border);
        border-radius: 8px;
        color: var(--gold-rose);
        font-size: 1.3rem;
        cursor: pointer;
        margin-left: auto;
    }
    
    
    .dashboard,
    .registry-container,
    .apps-container,
    .tracking-container {
        margin-top: 80px;
        padding: 0 12px;
    }
    
    
    .dashboard {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-block {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    
    
    .director-section {
        padding: 15px;
    }
    
    .director-name {
        font-size: 1.8rem;
        letter-spacing: -1px;
    }
    
    .director-title {
        font-size: 0.65rem;
        letter-spacing: 6px;
        padding: 12px 0;
    }
    
    .director-badges {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .badge {
        width: 100%;
        justify-content: center;
    }
    
   
    .deputy-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .deputy-card {
        padding: 15px;
    }
    
    .deputy-name {
        font-size: 1.2rem;
    }
    
    
    .glass-card .card-body {
        padding: 15px;
    }
    
    
    .glass-card .card-body[style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .step-marker {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 0.9rem;
    }
    
    
    .glass-card a[href*="applications"] {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    
    .search-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-input {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .search-btn {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
    
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -12px;
        padding: 0 12px;
    }
    
    .data-table {
        min-width: 700px; 
    }
    
    .data-table th,
    .data-table td {
        padding: 12px 10px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .app-card {
        padding: 20px 15px;
    }
    
    .app-icon {
        font-size: 2rem;
    }
    
    .app-title {
        font-size: 1.1rem;
    }
    
    .app-desc {
        font-size: 0.8rem;
        min-height: auto;
        margin-bottom: 15px;
    }
    
    .app-btn {
        padding: 10px 20px;
        font-size: 0.7rem;
    }
    
    
    .glass-card form[style*="max-width: 600px"] {
        flex-direction: column;
    }
    
    
    .track-section {
        padding: 20px 15px;
    }
    
    .track-section > div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 10px;
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .timeline-content h4 {
        font-size: 0.9rem;
    }
    
    .timeline-content p {
        font-size: 0.75rem;
    }
    
    
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-title {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .form-label {
        font-size: 0.8rem;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    
    .warning-box {
        padding: 12px;
        font-size: 0.8rem;
    }
    
    
    .tracking-id {
        font-size: 1.2rem;
        padding: 12px;
        word-break: break-all;
    }
    
    
    .glass-footer {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
        text-align: center;
        margin-top: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-links a {
        font-size: 0.7rem;
    }
}


@media screen and (max-width: 380px) {
    .glass-header {
        padding: 8px 10px;
    }
    
    .glass-badge {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .glass-title {
        font-size: 0.85rem;
    }
    
    .glass-status {
        padding: 4px 10px;
        font-size: 0.6rem;
    }
    
    .director-name {
        font-size: 1.4rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
    }
    
    .tracking-id {
        font-size: 1rem;
    }
}


@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.mobile-nav-active {
    animation: slideIn 0.3s ease forwards;
}


@media screen and (max-width: 480px) {
    .dashboard,
    .registry-container,
    .apps-container,
    .tracking-container {
        margin-top: 120px;
    }
    
    .director-name {
        font-size: 1.1rem;
    }
    
    .deputy-name {
        font-size: 0.9rem;
    }
    
    .glass-header {
        padding: 12px 15px;
    }
    
    .glass-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .glass-badge {
        font-size: 0.9rem;
        padding: 4px 8px;
    }
    
    .glass-title {
        font-size: 0.9rem;
    }
    
    .glass-title span {
        font-size: 0.5rem;
    }
}        