/* ===== ENHANCED DARK THEME WITH NAVY BLUE GRADIENTS ===== */

.dark-theme {
    /* Enhanced Navy Blue Gradient Background */
    background: linear-gradient(135deg, #0f172a 0%, #1a365d 25%, #2d3748 75%, #1e293b 100%);
    background-attachment: fixed;
    color: #e2e8f0;
    min-height: 100vh;
}

/* Header Enhancements */
.dark-theme .main-header {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(45, 55, 72, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 179, 237, 0.2);
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.3);
}

.dark-theme .site-title a {
    background: linear-gradient(135deg, #e2e8f0 0%, #63b3ed 50%, #3182ce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-theme .nav-link {
    color: #cbd5e1;
    position: relative;
}

.dark-theme .nav-link::after {
    background: linear-gradient(90deg, #63b3ed, #3182ce);
}

.dark-theme .nav-link:hover,
.dark-theme .nav-link.active {
    color: #63b3ed;
    background: rgba(99, 179, 237, 0.1);
}

/* Enhanced Theme Toggle */
.dark-theme .theme-toggle {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(45, 55, 72, 0.8) 100%);
    border: 1px solid rgba(99, 179, 237, 0.3);
    color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
}

.dark-theme .theme-toggle:hover {
    border-color: #63b3ed;
    background: linear-gradient(135deg, rgba(99, 179, 237, 0.2) 0%, rgba(49, 130, 206, 0.2) 100%);
    box-shadow: 0 0 25px rgba(99, 179, 237, 0.4);
}

/* Enhanced Cards */
.dark-theme .card {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.7) 0%, rgba(45, 55, 72, 0.7) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(99, 179, 237, 0.2);
    box-shadow: 0 8px 32px rgba(26, 54, 93, 0.3);
}

.dark-theme .card:hover {
    border-color: rgba(99, 179, 237, 0.4);
    box-shadow: 0 12px 40px rgba(26, 54, 93, 0.4), 0 0 30px rgba(99, 179, 237, 0.1);
}

.dark-theme .card::before {
    background: linear-gradient(90deg, transparent, rgba(99, 179, 237, 0.3), transparent);
}

/* Enhanced Form Elements */
.dark-theme .form-control {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.9) 0%, rgba(26, 54, 93, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 179, 237, 0.2);
    color: #e2e8f0;
    box-shadow: inset 0 2px 8px rgba(26, 54, 93, 0.2);
}

.dark-theme .form-control:focus {
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.2), inset 0 2px 8px rgba(26, 54, 93, 0.2);
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 54, 93, 0.95) 100%);
}

.dark-theme .form-control::placeholder {
    color: rgba(203, 213, 225, 0.6);
}

/* Enhanced Buttons */
.dark-theme .btn-primary {
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 50%, #1a365d 100%);
    border: 1px solid rgba(99, 179, 237, 0.3);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
}

.dark-theme .btn-primary:hover {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 50%, #1a202c 100%);
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.4), 0 0 25px rgba(99, 179, 237, 0.2);
}

.dark-theme .btn-secondary {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(45, 55, 72, 0.8) 100%);
    border: 1px solid rgba(99, 179, 237, 0.3);
    color: #e2e8f0;
}

.dark-theme .btn-secondary:hover {
    background: linear-gradient(135deg, rgba(99, 179, 237, 0.2) 0%, rgba(49, 130, 206, 0.2) 100%);
    border-color: #63b3ed;
}

.dark-theme .btn-outline {
    border-color: rgba(99, 179, 237, 0.5);
    color: #63b3ed;
}

.dark-theme .btn-outline:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    border-color: #3182ce;
}

/* Enhanced Footer */
.dark-theme .main-footer {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(26, 54, 93, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(99, 179, 237, 0.2);
    box-shadow: 0 -4px 20px rgba(26, 54, 93, 0.3);
}

.dark-theme .footer-links a:hover {
    color: #63b3ed;
}

.dark-theme .social-link {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(45, 55, 72, 0.8) 100%);
    border-color: rgba(99, 179, 237, 0.3);
}

.dark-theme .social-link:hover {
    background: linear-gradient(135deg, rgba(99, 179, 237, 0.2) 0%, rgba(49, 130, 206, 0.2) 100%);
    border-color: #63b3ed;
    box-shadow: 0 4px 15px rgba(99, 179, 237, 0.3);
}

/* Enhanced Scrollbar */
.dark-theme ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.dark-theme ::-webkit-scrollbar-track {
    background: rgba(26, 54, 93, 0.3);
    border-radius: 4px;
}

.dark-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    border-radius: 4px;
    border: 1px solid rgba(99, 179, 237, 0.2);
}

.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
}

/* Enhanced Selection */
.dark-theme ::selection {
    background: rgba(99, 179, 237, 0.3);
    color: #e2e8f0;
}

/* Enhanced Focus Styles */
.dark-theme :focus {
    outline: 2px solid #63b3ed;
    outline-offset: 2px;
}

/* Enhanced Loading States */
.dark-theme .loading-shimmer {
    background: linear-gradient(90deg, 
        rgba(26, 54, 93, 0.6) 25%, 
        rgba(99, 179, 237, 0.2) 50%, 
        rgba(26, 54, 93, 0.6) 75%);
    background-size: 200px 100%;
}

/* Enhanced Status Colors for Dark Theme */
.dark-theme .text-success { color: #68d391; }
.dark-theme .text-warning { color: #fbb040; }
.dark-theme .text-error { color: #fc8181; }
.dark-theme .text-info { color: #63b3ed; }