.settings-password {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    box-sizing: border-box;
}

.settings-password .app-input,
.settings-password .app-button {
    width: 400px;
    max-width: 400px;
    margin-bottom: 12px;
}

.settings-page {
    box-sizing: border-box;
    padding: 90px 20px 20px;
    display: flex;
    flex-direction: column;
    display: grid;
    justify-content: center;
}

.settings-page__box {
    width: 700px;
    margin: 0 auto;
}

.settings-page__title {
    text-align: center;
    font-weight: bold;
    margin: 0 0 20px;
}

.settings-page__section {
    margin-bottom: 24px;
}

.settings-page__section-title {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.settings-page__input {
    margin-bottom: 12px;
}

.settings-page__actions {
    display: flex;
    gap: 12px;
}

.reset-confirm-dialog {
    display: none;
}

.reset-confirm-dialog--visible {
    display: block;
}

.reset-confirm-dialog__actions {
    justify-content: flex-end;
}

/* Flexbox gap fallback for Chromium <84: apply the same 12px spacing via margins.
   Guarded by @supports so modern browsers (which already apply gap above) get no extra margin. */
@supports not (gap: 1px) {
    .settings-page__actions > * + * {
        margin-left: 12px;
    }
}

.settings-page__device-info {
    margin-top: 24px;
    color: #555;
    text-align: left;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}

.settings-page__device-info div {
    margin: 0;
}

@media (max-width: 480px) {
    .settings-page {
        padding: 70px 12px 12px;
    }
}
