/* ── Field — switch toggle ────────────────────────────────────────────────── */

.field--switch {
    padding: 12px 14px;
    cursor: pointer;
}

.field--switch .field__body {
    align-items: center;
}

.field__switch-label {
    font-size: 0.875rem;
    color: var(--field-label-color);
    user-select: none;
}

.field__switch {
    flex-shrink: 0;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    border: none;
    background: var(--field-border);
    position: relative;
    cursor: pointer;
    transition: background 200ms ease;
    padding: 0;
}

.field__switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 200ms ease;
}

.field__switch--active {
    background: var(--field-border-focus);
}

.field__switch--active::after {
    transform: translateX(20px);
}
