/*
 * Provident Metals — Registration 2FA (MFA) Enrollment Overlay Styles
 *
 * Matches the "Secure Your Account" enrollment HiFi screens rendered by
 * includes/mfa-modals.php.
 *
 * Design tokens:
 *   Brand green  : #2A8354  (primary CTA, links, RECOMMENDED badge)
 *   Green hover  : #226a44
 *   Green muted  : #a9ccb9  (disabled primary button)
 *   Teal         : #0d7487  (icon squares, selected card, progress, filled OTP)
 *   Text dark    : #2c2c2c
 *   Text muted   : #6b6b6b
 *   Border       : #e2e2e2
 *   Error red    : #c9302c
 *   Warn amber   : #b45309
 *
 * The overlay reuses the existing .modal / .overlayer stacking system used by
 * the current login/register modals so no new modal infrastructure is added.
 */

/* ------------------------------------------------------------------
 * Modal container
 * ------------------------------------------------------------------ */
.modal.pm-mfa-modal .modal-content.pm-mfa-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 500px;
    max-width: calc(100vw - 32px);
    margin-left: -250px;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.20);
    overflow: hidden;
}

.pm-mfa-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
    border-bottom: 1px solid #e8e8e8;
    background: #ffffff;
}

.pm-mfa-title {
    margin: 0;
    color: #444;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

#pm-mfa-skip .pm-mfa-title {
    font-size: 18px;
    line-height: 24px;
}

.pm-mfa-close {
    background: none;
    border: 0;
    padding: 4px 6px;
    cursor: pointer;
    align-self: stretch;
    color: #000;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
}

.pm-mfa-close:hover,
.pm-mfa-close:focus {
    color: #2c2c2c;
    outline: none;
}

.pm-mfa-body {
    width: 100%;
    box-sizing: border-box;
    padding: 18px 22px 22px;
}

.pm-mfa-body--center {
    text-align: center;
}

/* ------------------------------------------------------------------
 * Progress stepper (Your Info / Secure Account / Create MFA)
 * ------------------------------------------------------------------ */
.pm-mfa-steps {
    display: flex;
    align-items: flex-start;
    padding: 4px 4px 32px;
    margin: 0 0 16px;
}

.pm-mfa-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    text-align: center;
}

.pm-mfa-step__dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 700;
    background: #e4e4e4;
    color: #9a9a9a;
}

.pm-mfa-step.is-done .pm-mfa-step__dot {
    background: #0d7487;
    color: #ffffff;
}

.pm-mfa-step.is-active .pm-mfa-step__dot {
  background: #fff;
  color: #0d7487;
  border: 2px solid #0d7487;
}

/* Number inside a step dot (Figma text frame). color inherits the dot so
   the active "2" is teal and the upcoming "3" stays gray. */
.pm-mfa-step__num {
    display: flex;
    width: 14px;
    height: 14px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: inherit;
    text-align: center;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.pm-mfa-step__label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    color: #9a9a9a;
}

.pm-mfa-steps .pm-mfa-step:first-child .pm-mfa-step__label {
    left: 0;
    transform: none;
}

.pm-mfa-steps .pm-mfa-step:last-child .pm-mfa-step__label {
    left: auto;
    right: 0;
    transform: none;
}

.pm-mfa-step.is-done .pm-mfa-step__label,
.pm-mfa-step.is-active .pm-mfa-step__label {
    color: #444;
}

.pm-mfa-step__bar {
    flex: 1 0 0;
    height: 3px;
    margin: 9px 12px 0;
    background: #E1E1E1;
    border-radius: 2px;
}

.pm-mfa-step__bar.is-filled {
    background: #0d7487;
}

/* ------------------------------------------------------------------
 * Lede title + intro copy
 * ------------------------------------------------------------------ */
.pm-mfa-lede-title {
    align-self: stretch;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    margin: 2px 0 10px;
}

.pm-mfa-intro {
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
    color: #000;
    text-align: center;
    text-transform: none;
    margin: 2px 0 18px;
}

#pm-mfa-passkey .pm-mfa-intro {
    align-self: stretch;
    line-height: normal;
}

#pm-mfa-phone .pm-mfa-intro {
    align-self: stretch;
    line-height: normal;
}

#pm-mfa-skip .pm-mfa-intro {
    align-self: stretch;
    line-height: 20px;
}

#pm-mfa-recovery .pm-mfa-intro {
    align-self: stretch;
    line-height: normal;
}

/* ------------------------------------------------------------------
 * Method option cards (Passkey / SMS)
 * ------------------------------------------------------------------ */
.pm-mfa-options {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.pm-mfa-options li + li {
    margin-top: 12px;
}

.pm-mfa-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    align-self: stretch;
    background: #ffffff;
    border: 1.5px solid #e2e2e2;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.pm-mfa-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pm-mfa-option.is-selected,
.pm-mfa-option:focus-within {
    border: 2px solid #0d7487;
    background: #f8fbff;
}

.pm-mfa-option__icon {
    display: flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    border: 1px solid #0d7487;
    background: #fff;
    color: #0d7487;
}

.pm-mfa-option__glyph {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.pm-mfa-option.is-selected .pm-mfa-option__icon {
    border-color: #0d7487;
    background: #0d7487;
    color: #ffffff;
}

.pm-mfa-option__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-align: left;
}

.pm-mfa-option__title {
    color: #000;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.pm-mfa-option__desc {
    align-self: stretch;
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    text-transform: none;
    letter-spacing: 0;
}

.pm-mfa-badge {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #ffffff;
    background: #2A8354;
    padding: 2px 7px;
    border-radius: 999px;
    line-height: 1.4;
}

.pm-mfa-option__radio {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pm-mfa-option__radio-dot {
    display: none;
}

.pm-mfa-option.is-selected .pm-mfa-option__radio-ring {
    stroke: #0d7487;
}

.pm-mfa-option.is-selected .pm-mfa-option__radio-dot {
    display: inline;
}

/* ------------------------------------------------------------------
 * Passkey hero icon (Create Your Passkey screen)
 * ------------------------------------------------------------------ */
.pm-mfa-hero {
    display: flex;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: #0D7487;
    margin: 6px auto 16px;
}

.pm-mfa-hero.pm-mfa-hero--error {
    background: #c0392b;
}

/* ------------------------------------------------------------------
 * Info boxes (grey callouts + warn variant)
 * ------------------------------------------------------------------ */
.pm-mfa-info {
    background: #f4f5f6;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #5a5a5a;
    text-align: left;
    margin: 0 0 14px;
}

#pm-mfa-passkey .pm-mfa-info {
    flex: 1 0 0;
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#pm-mfa-phone .pm-mfa-info {
    background: #F5F7FA;
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.pm-mfa-info--icon {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.pm-mfa-info__icon {
    flex: 0 0 auto;
    font-size: 14px;
    color: #8a8a8a;
    margin-top: 1px;
}

.pm-mfa-info--warn {
    color: #b45309;
}

.pm-mfa-info--warn .pm-mfa-info__icon {
    color: #b45309;
}

/* ------------------------------------------------------------------
 * Phone field + SMS consent (Where should we text your code?)
 * ------------------------------------------------------------------ */
.pm-mfa-field {
    margin: 0 0 14px;
    text-align: left;
}

.pm-mfa-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #6b6b6b;
    margin-bottom: 6px;
}

.pm-mfa-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #CCC;
    border-radius: 5px;
    background: #FFF;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.10);
    padding: 16px;
    font-size: 15px;
    color: #2c2c2c;
    font-family: inherit;
}

.pm-mfa-input:focus {
    border-color: #0d7487;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 116, 135, .15);
}

.pm-mfa-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    margin: 0 0 14px;
    cursor: pointer;
}

.pm-mfa-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #0d7487;
}

.pm-mfa-consent a {
    color: #0D7487;
    font-weight: 400;
    text-decoration: none;
}

.pm-mfa-consent a:hover,
.pm-mfa-consent a:focus {
    color: #0a5c6b;
    text-decoration: underline;
}

#pm-mfa-recovery .pm-mfa-consent {
    padding: 12px 0 4px;
    margin-bottom: 0;
}

#pm-mfa-recovery .pm-mfa-consent input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid #767676;
    border-radius: 2px;
    background: #FFF;
    cursor: pointer;
}

#pm-mfa-recovery .pm-mfa-consent input[type="checkbox"]:checked {
    border-color: #0D7487;
    background: #0D7487;
}

#pm-mfa-recovery .pm-mfa-consent input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ------------------------------------------------------------------
 * OTP / code entry screen
 * ------------------------------------------------------------------ */
.pm-mfa-sent {
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    margin: 2px 0 16px;
}

.pm-mfa-sent strong {
    color: #14253B;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.pm-mfa-otp {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 2px 0 6px;
}

.pm-mfa-otp input {
    width: 46px;
    height: 54px;
    border: 1.5px solid #cfcfcf;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #2c2c2c;
    padding: 0;
}

.pm-mfa-otp input:focus {
    border-color: #0d7487;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 116, 135, .15);
}

/* Filled digit boxes pick up the teal accent (matches HiFi). */
.pm-mfa-otp input:not(:placeholder-shown) {
    border-color: #0d7487;
}

/* Error state must win over the filled/focus states — keep it last. */
.pm-mfa-otp.is-error input {
    border-color: #c9302c;
    color: #c9302c;
    background: #fff8f8;
}

.pm-mfa-error {
    font-size: 14px;
    font-weight: 600;
    color: #c0392b;
    line-height: 18px;
    text-align: center;
    margin: 8px 0 4px;
    display: none;
}

.pm-mfa-error.is-visible {
    display: block;
}

.pm-mfa-resend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #6b6b6b;
    padding: 10px 0 2px;
    margin: 8px 0 0;
}

.pm-mfa-resend__prompt {
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.pm-mfa-resend__timer {
    color: #9a9a9a;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.pm-mfa-note {
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    margin: 12px 0 0;
}

/* ------------------------------------------------------------------
 * Completion screen (Welcome aboard) — next-step highlights
 * ------------------------------------------------------------------ */
.pm-mfa-features {
    list-style: none;
    padding: 0;
    margin: 4px 0 4px;
}

.pm-mfa-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    padding: 10px 0;
}

.pm-mfa-feature__icon {
    display: flex;
    width: 38px;
    height: 38px;
    padding: 8px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #E6E6E6;
    background: #F6F6F6;
    color: #333;
}

.pm-mfa-feature__glyph {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: #333;
}

.pm-mfa-feature__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pm-mfa-feature__title {
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.pm-mfa-feature__desc {
    align-self: stretch;
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* ------------------------------------------------------------------
 * Footer + buttons + links
 * ------------------------------------------------------------------ */
.pm-mfa-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.pm-mfa-footer .pm-mfa-btn {
    margin-left: auto;
}

.pm-mfa-footer--stack {
    display: block;
}

.pm-mfa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    min-height: 42px;
    transition: background-color .15s ease, border-color .15s ease;
}

.pm-mfa-btn--primary {
    display: flex;
    width: fit-content;
    min-width: 220px;
    padding: 13px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 5px;
    background: #2A8354;
    border-color: #2A8354;
    box-shadow: 1px 2px 2px 0 rgba(0, 0, 0, 0.2);
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    white-space: nowrap;
}

.pm-mfa-btn--primary:hover:not([disabled]),
.pm-mfa-btn--primary:focus:not([disabled]) {
    background: #226a44;
    border-color: #226a44;
    outline: none;
}

.pm-mfa-btn--block {
    display: flex;
    width: 100%;
    margin-left: 0;
}

.pm-mfa-btn[disabled],
.pm-mfa-btn.is-loading {
    background: #a9ccb9;
    border-color: #a9ccb9;
    cursor: not-allowed;
}

.pm-mfa-link {
    background: none;
    border: 0;
    flex: 1 0 0;
    color: #008000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    padding: 8px 4px;
}

.pm-mfa-link:hover,
.pm-mfa-link:focus {
    color: #226a44;
    outline: none;
}

.pm-mfa-link--inline {
    padding: 0;
    text-align:right;
}

.btn-black {
    background-color:#2E2E4E;
}

/* ------------------------------------------------------------------
 * Backup / recovery codes screen
 * ------------------------------------------------------------------ */
.pm-mfa-recovery-note {
    align-self: stretch;
    padding: 12px 16px;
    border-radius: 8px;
    background: #F5F7FA;
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.pm-mfa-recovery-note strong {
    display: block;
    margin-bottom: 4px;
    color: #000;
    font-weight: 700;
}

.pm-mfa-recovery-codes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 4px 4px;
    margin: 16px 0;
    border: 1px solid #D5D5D5;
    border-radius: 8px;
    background: #F7F7F6;
}

.pm-mfa-recovery-code {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 4px;
    border-bottom: 1px solid #E8E8E5;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 0.84px;
    color: #1C2A3A;
}

.pm-mfa-recovery-code:nth-last-child(-n+2) {
    border-bottom: none;
}

.pm-mfa-recovery-code__num {
    color: #8C9199;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: normal;
}

.pm-mfa-recovery-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.pm-mfa-btn--outline {
    background: #ffffff;
    color: #0D7487;
    border: 1px solid #0D7487;
    text-align: center;
    font-family: Montserrat;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.26px;
}

.pm-mfa-btn--outline:hover {
    background: #f4f5f6;
}

.pm-mfa-recovery-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
    font-size: 13px;
    color: #6b6b6b;
}

.pm-mfa-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #d9d9d9;
    border-top-color: #0d7487;
    border-radius: 50%;
    animation: pm-mfa-spin 0.8s linear infinite;
}

@keyframes pm-mfa-spin {
    to { transform: rotate(360deg); }
}

.pm-mfa-recovery-actions .pm-mfa-btn {
    flex: 1 0 0;
    padding: 8px 12px;
    gap: 8px;
}

#pm-mfa-recovery.modal {
    padding-top:10px !important;
}

.pm-mfa-recovery-actions .pm-mfa-btn i {
    padding-right:5px;
}

#pm-mfa-recovery .pm-mfa-intro {
    margin: 2px 0 14px;
}

#pm-mfa-recovery .pm-mfa-footer {
    margin-top: 14px;
}

/* ------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------ */
@media screen and (max-width: 480px) {
    .modal.pm-mfa-modal {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        z-index: 2147483647;
    }

    .overlayer.modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 2147483646;
    }

    .modal.pm-mfa-modal .modal-content.pm-mfa-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100vw - 24px);
        max-width: none;
        margin: 0;
        max-height: calc(100vh - 32px);
        overflow-y: auto;
    }

    .pm-mfa-body {
        padding: 16px 20px 20px;
    }

    .pm-mfa-body > .pm-mfa-steps:first-child {
        margin: -16px -20px 16px;
        padding: 12px 20px 32px;
        border-bottom: 1px solid #e8e8e8;
        box-sizing: border-box;
    }

    .pm-mfa-title {
        font-size: 16px;
    }

    #pm-mfa-skip .pm-mfa-title {
        color: #14253B;
        font-size: 16px;
        line-height: normal;
        text-align: center;
    }

    .pm-mfa-option__title {
        color: #14253B;
        font-size: 14px;
    }

    .pm-mfa-field {
        position: relative;
        margin-top: 20px;
    }

    .pm-mfa-label {
        position: absolute;
        top: 0;
        left: 12px;
        transform: translateY(-50%);
        margin: 0;
        padding: 0 6px;
        background: #fff;
        color: #444;
        font-family: Montserrat;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: 0;
    }

    .pm-mfa-input {
        font-size: 16px;
    }

    #pm-mfa-recovery .pm-mfa-consent {
        color: #444;
        font-family: Montserrat;
        font-size: 14px;
        font-weight: 400;
        line-height: 18px;
    }

    #pm-mfa-recovery .pm-mfa-consent span {
        text-transform: lowercase;
    }

    #pm-mfa-recovery .pm-mfa-consent span::first-letter {
        text-transform: uppercase;
    }

    .pm-mfa-recovery-actions {
        flex-wrap: nowrap;
    }

    .pm-mfa-recovery-actions .pm-mfa-btn--outline {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        flex: 1 0 0;
        min-height: 0;
        padding: 6px 10px;
        border-radius: 5px;
        border: 1px solid #0D7487;
        background: #FFF;
        color: #0D7487;
        text-align: center;
        font-family: Montserrat;
        font-size: 12px;
        font-weight: 600;
        line-height: 20px;
        letter-spacing: -0.24px;
        white-space: nowrap;
    }

    .pm-mfa-step__label {
        color: #444;
        font-size: 12px;
        font-weight: 600;
        line-height: 20px;
        text-transform: uppercase;
    }

    .pm-mfa-otp input {
        width: 42px;
        height: 50px;
        color: #000;
        font-family: Montserrat;
        font-size: 24px;
        font-weight: 600;
        line-height: normal;
    }

    .pm-mfa-footer {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 12px;
    }

    .pm-mfa-footer .pm-mfa-btn {
        width:100%;
    }

    .pm-mfa-footer .pm-mfa-link {
        text-align: center;
        align-self: center;
        width: auto;
    }
}
