/* ============================================
   ADMIN SETTINGS PAGE - ADDITIVE STYLES ONLY
   Add this file AFTER admin-dashboard.css
   ============================================ */

/* Card Structure for Settings */
.card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.card-header {
    background: rgba(51, 65, 85, 0.4);
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    padding: 1.5rem 2rem;
}

.card-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #EBD1A1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-body {
    padding: 2rem;
}

/* Settings Section */
.settings-section {
    margin-bottom: 2rem;
}

.settings-section:last-child {
    margin-bottom: 0;
}

.settings-section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.settings-section-header h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Settings Row */
.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(71, 85, 105, 0.2);
}

.settings-row:last-child {
    border-bottom: none;
}

/* Settings Label */
.settings-label {
    flex: 1;
    max-width: 60%;
}

.settings-label-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #F1F5F9;
    margin-bottom: 0.25rem;
}

.settings-label-desc {
    font-size: 0.85rem;
    color: #94A3B8;
    line-height: 1.4;
}

/* Settings Control */
.settings-control {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Form Input */
.form-input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: #F1F5F9;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #6B8DD6;
    box-shadow: 0 0 0 3px rgba(107, 141, 214, 0.1);
}

.form-input::placeholder {
    color: #64748B;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(71, 85, 105, 0.5);
    transition: 0.3s;
    border-radius: 26px;
    border: 1px solid rgba(71, 85, 105, 0.3);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: #94A3B8;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #6B8DD6;
    border-color: #6B8DD6;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
    background-color: white;
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(107, 141, 214, 0.2);
}

/* Button Styles (if not already defined) */
.btn-secondary {
    background: rgba(71, 85, 105, 0.4);
    border: 1px solid rgba(71, 85, 105, 0.5);
    color: #F1F5F9;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(71, 85, 105, 0.6);
    border-color: rgba(71, 85, 105, 0.7);
}

/* Alert Info */
.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: #93C5FD;
}

.alert-info strong {
    color: #DBEAFE;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .settings-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .settings-label {
        max-width: 100%;
    }
    
    .settings-control {
        width: 100%;
        justify-content: flex-start;
    }
    
    .form-input {
        width: 100% !important;
        max-width: 100%;
    }
    
    .card-header {
        padding: 1rem 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}
