/* ========================================
   SETTINGS MODAL STYLES
   ======================================== */

/* Settings Tabs */
.settings-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
}

.settings-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    position: relative;
    bottom: -2px;
}

.settings-tab i {
    margin-right: 8px;
}

.settings-tab:hover {
    color: #4A90E2;
}

.settings-tab.active {
    color: #4A90E2;
    border-bottom-color: #4A90E2;
    font-weight: 600;
}

/* Settings Content */
.settings-content {
    display: none;
    padding: 20px 0;
}

.settings-content.active {
    display: block;
}

.settings-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Form Elements in Settings */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group label i.fa-info-circle {
    color: #999;
    font-size: 12px;
    cursor: help;
    margin-left: 5px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-control:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

/* Notification Preferences */
.notification-preference {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #4A90E2;
}

.notification-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.notification-header > i {
    font-size: 24px;
    color: #4A90E2;
    margin-top: 5px;
}

.notification-header h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.notification-header p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.notification-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.checkbox-label:hover {
    border-color: #4A90E2;
    background: #f0f7ff;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: #4A90E2;
    font-weight: 600;
}

.checkbox-label span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.checkbox-label span i {
    font-size: 16px;
}

/* Modal Actions */
.modal-actions {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.modal-actions .btn {
    min-width: 120px;
}

/* Sidebar Footer Buttons */
.sidebar-footer .btn {
    margin-bottom: 10px;
}

.sidebar-footer .btn:last-child {
    margin-bottom: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .settings-tabs {
        gap: 5px;
    }
    
    .settings-tab {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .notification-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .checkbox-label {
        width: 100%;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}

/* Smooth transitions */
* {
    box-sizing: border-box;
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}