.settings-shell {
    max-width: 840px;
    margin: 0 auto;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--bg-border);
}

.setting-row:first-of-type {
    border-top: none;
}

.setting-title {
    color: var(--text-bright);
    font-weight: 600;
    margin-bottom: 4px;
}

.setting-desc {
    color: #8f8f8f;
    font-size: 0.9rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #464646;
    transition: 0.2s;
    border-radius: 999px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    top: 3px;
    background-color: #fff;
    transition: 0.2s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-green);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.settings-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
}

#btnResetDefaults {
    max-width: 180px;
}

#btnSaveSettings {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
}

#settingsStatus {
    color: #8f8f8f;
    font-size: 0.9rem;
    margin-right: auto;
}

.future-note {
    margin-top: 18px;
    border-top: 1px dashed #4a4a4a;
    padding-top: 14px;
    color: #8f8f8f;
    font-size: 0.88rem;
}

@media (max-width: 700px) {
    .setting-row {
        align-items: flex-start;
    }

    .settings-actions {
        flex-wrap: wrap;
    }

    .settings-actions .select-btn,
    .settings-actions .cta-btn-nav {
        width: 100%;
        max-width: none;
    }
}
