/* ==========================================
   SETTINGS PAGE
========================================== */

.settings-page {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.settings-page__eyebrow {
    display: block;
    color: #16A34A;
    font-size: 10px;
    font-weight: 700;
}

.settings-page__header h1 {
    margin: 2px 0 0;
    color: #0F172A;
    font-size: 21px;
    font-weight: 800;
}

.settings-page__header p {
    margin: 3px 0 0;
    color: #64748B;
    font-size: 10px;
}


/* ==========================================
   SECTION
========================================== */

.settings-section {
    overflow: hidden;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #fff;
}

.settings-section__heading {
    padding: 13px 14px;
}

    .settings-section__heading h2 {
        margin: 0;
        color: #334155;
        font-size: 11px;
        font-weight: 700;
    }

    .settings-section__heading p {
        margin: 3px 0 0;
        color: #94A3B8;
        font-size: 8px;
    }


/* ==========================================
   LIST
========================================== */

.settings-list {
    border-top: 1px solid #EEF2F7;
}

.settings-item {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 0;
    background: #fff;
    color: inherit;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

    .settings-item +
    .settings-item {
        border-top: 1px solid #F1F5F9;
    }

.settings-item__icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #F0FDF4;
    color: #15803D;
}

    .settings-item__icon svg {
        width: 16px;
        height: 16px;
    }

.settings-item__content {
    min-width: 0;
}

    .settings-item__content strong {
        display: block;
        color: #334155;
        font-size: 9px;
        font-weight: 700;
    }

    .settings-item__content small {
        display: block;
        margin-top: 3px;
        color: #94A3B8;
        font-size: 8px;
        line-height: 1.4;
    }

.settings-item__value {
    color: #64748B;
    font-size: 8px;
    font-weight: 700;
}

.settings-item__arrow {
    color: #CBD5E1;
    font-size: 17px;
}

.settings-item--danger
.settings-item__content strong {
    color: #DC2626;
}


/* ==========================================
   SWITCH
========================================== */

.settings-switch {
    position: relative;
    width: 38px;
    height: 22px;
    flex-shrink: 0;
}

    .settings-switch input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .settings-switch > span {
        position: absolute;
        inset: 0;
        border-radius: 999px;
        background: #CBD5E1;
        transition: background .2s ease;
    }

        .settings-switch > span::after {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 1px 4px rgba(15,23,42,.2);
            transition: transform .2s ease;
        }

    .settings-switch input:checked + span {
        background: #22C55E;
    }

        .settings-switch input:checked + span::after {
            transform: translateX(16px);
        }
