* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    padding: 20px;
    background-color: #f5f7fb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.settings-section {
    margin-bottom: 24px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #edf2f7;
}

.form-group {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px;
}

.form-group:hover {
    background-color: #f8fafc;
}

.form-label {
    color: #4a5568;
    font-weight: 500;
}

.form-label.modified {
    color: #3182ce;
    font-weight: 600;
}

.section-title {
    font-size: 1.2em;
    color: #2d3748;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #edf2f7;
}

.form-input {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-input.modified {
    border-color: #3182ce;
    background-color: #ebf8ff;
}

.radio-group {
    display: flex;
    gap: 16px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.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: #cbd5e0;
    transition: .4s;
    border-radius: 24px;
}

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

input:checked + .toggle-slider {
    background-color: #4299e1;
}

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

.button-container {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save {
    background-color: #4299e1;
    color: white;
    border: none;
}

.btn-save:hover {
    background-color: #3182ce;
}

.btn-cancel {
    background-color: #fff;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.btn-cancel:hover {
    background-color: #f8fafc;
    border-color: #cbd5e0;
}

@media (max-width: 768px) {
    .form-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .container {
        padding: 16px;
    }
}
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.main-content {
    margin-top: 80px; /* Adjust based on header height */
    padding: 20px;
}

.changes-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1001;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.changes-list {
    margin: 16px 0;
}

.change-item {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.change-item:last-child {
    border-bottom: none;
}

.old-value {
    color: #e53e3e;
    text-decoration: line-through;
    margin-right: 8px;
}

.new-value {
    color: #38a169;
}