/* ===== Dark Theme for Auth Pages ===== */
.auth-dark-theme {
    min-height: 100vh;
    background: linear-gradient(135deg, #0F2537, #0C1E30);
}

/* Dark Card */
.auth-dark-theme .card.auth-card,
.auth-dark-theme .card.card-primary {
    background: #132a3c !important;
    border: 1px solid #1e3a52 !important;
    border-top: 3px solid #C9A35A !important;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.auth-dark-theme .card-header {
    background: transparent !important;
    border-bottom: 1px solid #1e3a52 !important;
    padding: 20px 24px 0 !important;
}

.auth-dark-theme .card-header h4 {
    color: #E7CD97 !important;
    font-weight: 600;
}

.auth-dark-theme .card-body {
    padding: 24px;
}

/* Form Labels */
.auth-dark-theme label {
    color: #c8d6e5 !important;
    font-weight: 500;
}

.auth-dark-theme .control-label {
    color: #c8d6e5 !important;
}

/* Form Inputs */
.auth-dark-theme .form-control {
    background: #1a3145 !important;
    border: 1.5px solid #2a4a65 !important;
    color: #e8edf2 !important;
    border-radius: 8px;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

.auth-dark-theme .form-control:focus {
    border-color: #C9A35A !important;
    box-shadow: 0 0 0 3px rgba(201, 163, 90, 0.2) !important;
    background: #1e3a52 !important;
}

.auth-dark-theme .form-control::placeholder {
    color: #6b8ba4 !important;
}

/* Gold Gradient Button */
.auth-dark-theme .btn-gold,
.auth-dark-theme .btn-primary.btn-gold,
.auth-dark-theme .btn.btn-gold {
    background: linear-gradient(135deg, #E7CD97, #C9A35A) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 163, 90, 0.3);
}

.auth-dark-theme .btn-gold:hover,
.auth-dark-theme .btn-primary.btn-gold:hover {
    background: linear-gradient(135deg, #f0dbaa, #d4b46e) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 163, 90, 0.4);
}

.auth-dark-theme .btn-gold:active {
    transform: translateY(0);
}

/* Override existing btn-primary */
.auth-dark-theme .btn-primary {
    background: linear-gradient(135deg, #E7CD97, #C9A35A) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 163, 90, 0.3);
}

.auth-dark-theme .btn-primary:hover {
    background: linear-gradient(135deg, #f0dbaa, #d4b46e) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 163, 90, 0.4);
}

/* Links */
.auth-dark-theme a {
    color: #E7CD97 !important;
    transition: color 0.2s ease;
}

.auth-dark-theme a:hover {
    color: #f0dbaa !important;
    text-decoration: underline !important;
}

/* Checkbox */
.auth-dark-theme .custom-control-label {
    color: #c8d6e5 !important;
}

.auth-dark-theme .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #C9A35A !important;
    border-color: #C9A35A !important;
}

/* Footer */
.auth-dark-theme .simple-footer {
    color: #6b8ba4 !important;
    font-size: 13px;
}

/* Flash Messages */
.auth-dark-theme .alert-danger {
    background: rgba(220, 53, 69, 0.15) !important;
    border: 1px solid rgba(220, 53, 69, 0.3) !important;
    color: #f8a5a5 !important;
}

.auth-dark-theme .alert-danger ul {
    color: #f8a5a5 !important;
}

/* Text muted override */
.auth-dark-theme .text-muted {
    color: #8ba4b8 !important;
}

/* Text dark override */
.auth-dark-theme .text-dark {
    color: #e8edf2 !important;
}

/* Login brand logo */
.auth-dark-theme .login-brand {
    margin-bottom: 20px;
}

.auth-dark-theme .login-brand img {
    /* border-radius: 50%; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Forgot password link */
.auth-dark-theme .text-small {
    color: #E7CD97 !important;
}


