.modal-overlay {
    position: fixed;       /* bukan absolute */
    inset: 0;              /* top:0, right:0, bottom:0, left:0 */
    z-index: 9999;         /* harus lebih tinggi dari elemen lain */
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    margin-bottom: 12px;
}

.setting-title {
    font-weight: 600;
    color: #1f2937;
    text-transform: capitalize;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #e5e7eb;
    transition: 0.3s;
    border-radius: 999px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-input:checked + .toggle-slider {
    background-color: #f97316;
}

.toggle-input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.form-card {
    max-width: 600px;
    margin: 0 auto;
}
