.recoveryCard {
    position: relative;
    width: min(100% - 28px, 440px);
    padding: 34px;
    border: 1px solid #e1e4ea;
    box-shadow: 0 14px 36px rgba(22, 19, 46, .11);
}

.recoveryCard[hidden] {
    display: none !important;
}

.recoveryStep {
    display: block;
    width: max-content;
    margin: 0 auto 14px;
    padding: 6px 10px;
    border: 1px solid #e6d681;
    border-radius: 999px;
    color: #5b4810;
    background: #fff9dc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.recoveryCard h1 {
    margin-bottom: 24px;
    font-size: clamp(1.55rem, 4vw, 2rem);
    line-height: 1.15;
}

.recoveryCard .inputField {
    min-height: 48px;
    border-color: #cfd4dc;
    background: #fbfcfd;
}

.recoveryCard .inputField:focus {
    border-color: rgb(22, 19, 46);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22, 19, 46, .09);
}

.recoveryCodeInput {
    min-height: 62px !important;
    padding: 12px 10px !important;
    border-width: 2px !important;
    color: rgb(22, 19, 46);
    background: #fffdf2 !important;
    font-family: "Courier New", monospace !important;
    font-size: clamp(1.45rem, 7vw, 2rem) !important;
    font-weight: 800;
    letter-spacing: .22em;
    line-height: 1;
    text-align: center;
}

.recoveryCodeInput::placeholder {
    color: #b8ac72;
    opacity: .62;
}

.recoveryFieldHint {
    display: block;
    margin-top: 8px;
    color: #646b75;
    font-size: 12px;
    line-height: 1.45;
}

.recoveryActions {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.recoveryActions .submitButton,
.recoverySecondaryButton {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

.recoverySecondaryButton {
    border: 1px solid #d8dde5 !important;
    color: rgb(22, 19, 46) !important;
    background: #f1f3f6 !important;
}

.recoverySecondaryButton:hover,
.recoverySecondaryButton:focus-visible {
    border-color: #c5cbd5 !important;
    background: #e6e9ee !important;
}

@media (max-width: 560px) {
    .loginContainer {
        align-items: flex-start;
        min-height: 0;
        padding: 28px 0 36px;
    }

    .recoveryCard {
        width: min(100% - 24px, 420px);
        padding: 26px 20px;
    }

    .recoveryCard h1 {
        margin-bottom: 21px;
    }

    .recoveryCodeInput {
        letter-spacing: .16em;
    }
}

@media (min-width: 1200px) {
    .recoveryCard {
        width: 460px;
        padding: 38px;
    }
}
