/* Custom scrollbar */
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: #27272a; border-radius: 2px; }
    
    body {
        background-color: #020408;
        background-image: linear-gradient(rgba(2, 4, 8, 0.72), rgba(2, 4, 8, 0.72)), url('/site/assets/monolith.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        color: #e2e8f0;
    }

    .ambient-glow {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 1200px;
        height: 600px;
        background: radial-gradient(50% 50% at 50% 0%, rgba(99, 91, 255, 0.08) 0%, transparent 100%);
        pointer-events: none;
        z-index: 0;
    }

    .nav-menu {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
        filter: blur(6px);
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
    }
    .nav-group:hover .nav-menu,
    .nav-group:focus-within .nav-menu {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
        pointer-events: auto;
    }
    .nav-bridge {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 12px;
    }
    .nav-blur-overlay {
        position: fixed;
        inset: 0;
        background: rgba(2, 4, 8, 0.35);
        backdrop-filter: blur(8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 40;
    }
    body.nav-open .nav-blur-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    /* Input aesthetics */
    .custom-input, .custom-select, .custom-textarea {
        transition: all 0.2s ease;
        caret-color: #635BFF;
        background-color: #161618;
        border: 1px solid #27272a;
        color: #ffffff;
    }
    .custom-input:focus, .custom-select:focus, .custom-textarea:focus {
        box-shadow: 0 0 0 1px #635BFF, 0 0 0 4px rgba(99, 91, 255, 0.1);
        border-color: #635BFF;
        outline: none;
    }
    input[type="date"].custom-input,
    select.custom-select {
        color-scheme: dark;
    }
    
    /* Remove default calendar icon in dark mode for date input if possible, or style it */
    ::-webkit-calendar-picker-indicator {
        filter: invert(1) opacity(0.5);
        cursor: pointer;
    }

    /* Custom Select Chevron Reset */
    select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }
