/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #cbd5e1; }
.dark ::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #1e40af; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #fbbf24; }

body { 
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Image Protection: Prevent dragging and selection */
img {
    pointer-events: none; -webkit-user-drag: none; user-select: none; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none;
}

/* Glassmorphism Utilities */
.glass { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(0, 0, 0, 0.05); }
.dark .glass { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }

.glass-nav { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.dark .glass-nav { background: rgba(15, 23, 42, 0.8); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

.glass-card { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); border: 1px solid rgba(0, 0, 0, 0.05); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.dark .glass-card { background: rgba(30, 41, 59, 0.6); border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); }
.glass-card:hover { transform: translateY(-5px); box-shadow: 0 0 20px rgba(56, 189, 248, 0.3); }

/* Neumorphism Inputs (FIXED VISIBILITY FOR TEXT, PASSWORDS & SELECTS) */
.neu-input { 
    background: #ffffff !important; 
    border: 1px solid #cbd5e1 !important; 
    color: #000000 !important; 
    font-family: inherit;
}
.neu-input::placeholder { color: #64748b !important; }

.dark .neu-input { 
    background: #0f172a !important; 
    border: 1px solid #475569 !important; 
    color: #ffffff !important; 
}
.dark .neu-input::placeholder { color: #94a3b8 !important; }

/* Fix Select Dropdown Options Visibility */
.neu-input option { background: #ffffff; color: #000000; }
.dark .neu-input option { background: #0f172a; color: #ffffff; }

.neu-input:focus { outline: none; border-color: #38bdf8 !important; }
.dark .neu-input:focus { box-shadow: inset 1px 1px 2px #0f172a, inset -1px -1px 2px #2d3e56, 0 0 5px #38bdf8 !important; }

/* Navigation Glow Effect */
.nav-glow { position: relative; transition: all 0.3s ease; }
.nav-glow:hover { color: #fbbf24; text-shadow: 0 0 8px rgba(251, 191, 36, 0.6); background: rgba(255, 255, 255, 0.05); box-shadow: 0 0 15px rgba(251, 191, 36, 0.1); }
.nav-glow::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; background-color: #fbbf24; transition: all 0.3s ease; box-shadow: 0 0 10px #fbbf24; }
.nav-glow:hover::after { width: 80%; left: 10%; }