/* Settings Page Styles */

.settings-section {
    margin-bottom: 30px;
}

.settings-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.settings-section-title i {
    margin-right: 10px;
    color: #6c757d;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.setting-info {
    flex: 1;
    padding-right: 20px;
}

.setting-label {
    font-weight: 600;
    color: #212529;
    margin-bottom: 5px;
    display: block;
}

.setting-description {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.setting-control {
    flex-shrink: 0;
}

.setting-control .form-control {
    min-width: 250px;
}

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

.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: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #212529;
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 1px #212529;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Card Styling */
.settings-section .card {
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.settings-section .card-body {
    padding: 0 25px;
}

/* Alert Styling */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

/* Button Styling */
.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .setting-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .setting-info {
        padding-right: 0;
        margin-bottom: 15px;
    }
    
    .setting-control {
        width: 100%;
    }
    
    .setting-control .form-control {
        min-width: 100%;
    }
}

