:root {
    --rmfp-ink: #241b14;
    --rmfp-muted: #817263;
    --rmfp-soft: #fffaf3;
    --rmfp-card: rgba(255, 252, 248, 0.94);
    --rmfp-line: #eadfce;
    --rmfp-gold: #b47b38;
    --rmfp-gold-dark: #8f5d26;
    --rmfp-success: #1f6f43;
    --rmfp-info: #2f6f9f;
    --rmfp-warning: #b7791f;
    --rmfp-error: #b94747;
    --rmfp-font: "Montserrat", Arial, sans-serif;
    --rmfp-shadow: 0 28px 78px rgba(48, 34, 21, 0.16);
}

.rmfp-page,
.rmfp-page * {
    box-sizing: border-box;
}

.rmfp-page {
    min-height: calc(100vh - 1px);
    color: var(--rmfp-ink);
    font-family: var(--rmfp-font);
    background: #fffaf3;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.rmfp-auth {
    position: relative;
    min-height: calc(100vh - 88px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 0.92fr);
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.rmfp-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(255, 250, 243, 0.06) 0%, rgba(255, 250, 243, 0.08) 43%, rgba(255, 250, 243, 0.72) 62%, rgba(255, 250, 243, 0.97) 100%),
        url('../images/auth_ring.png');
    background-size: cover;
    background-position: left center;
    transform: scale(1.01);
}

.rmfp-auth::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 21% 44%, transparent 0 25%, rgba(255, 250, 243, 0.09) 46%, rgba(255, 250, 243, 0.52) 100%),
        linear-gradient(180deg, rgba(255,255,255,.02), rgba(221,191,151,.12));
    pointer-events: none;
}

.rmfp-shell {
    position: relative;
    z-index: 2;
    grid-column: 2;
    justify-self: center;
    width: min(760px, calc(100% - 70px));
    padding: 42px 0;
}

.rmfp-card {
    width: 100%;
    padding: 42px 48px;
    border-radius: 24px;
    background: var(--rmfp-card);
    border: 1px solid rgba(234, 223, 206, .96);
    box-shadow: var(--rmfp-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.rmfp-head {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 22px;
    align-items: start;
    margin-bottom: 28px;
}

.rmfp-logo {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-decoration: none;
}

.rmfp-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rmfp-title {
    text-align: right;
    min-width: 0;
}

.rmfp-title h1 {
    margin: 0;
    color: var(--rmfp-ink);
    font-family: var(--rmfp-font);
    font-size: clamp(40px, 3.8vw, 54px);
    line-height: .96;
    font-weight: 900;
    letter-spacing: -.045em;
}

.rmfp-title p {
    margin: 10px 0 10px;
    color: var(--rmfp-muted);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.rmfp-title strong {
    display: block;
    margin-bottom: 13px;
    color: #6f563d;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rmfp-title > span {
    position: relative;
    display: inline-block;
    width: min(230px, 100%);
    height: 1px;
    background: linear-gradient(to right, transparent, #dbc6ad 18%, #c79b65 50%, #dbc6ad 82%, transparent);
}

.rmfp-title > span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border: 1px solid #c79b65;
    background: #fffaf3;
    transform: translate(-50%, -50%) rotate(45deg);
}

.rmfp-progress {
    display: grid;
    grid-template-columns: 36px 1fr 36px 1fr 36px;
    align-items: center;
    gap: 10px;
    margin: 4px 0 24px;
}

.rmfp-progress span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0d1bf;
    background: rgba(255,255,255,.72);
    color: #9b8b7c;
    font-size: 13px;
    font-weight: 900;
}

.rmfp-progress i {
    height: 1px;
    background: linear-gradient(to right, #e8d8c4, #c99b62, #e8d8c4);
}

.rmfp-progress .rmfp-progress-done,
.rmfp-progress .rmfp-progress-active {
    border-color: rgba(180,123,56,.46);
    color: #fff;
    background: linear-gradient(135deg, #c28b48 0%, #a56c2f 100%);
    box-shadow: 0 10px 24px rgba(169,107,47,.18);
}

.rmfp-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rmfp-step-card,
.rmfp-found-box {
    padding: 15px 18px;
    border-radius: 14px;
    border: 1px solid rgba(234, 223, 206, .96);
    background: rgba(255, 248, 238, .66);
    color: #756554;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 800;
}

.rmfp-step-card strong {
    display: block;
    margin-bottom: 2px;
    color: #a46e31;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.rmfp-step-card p,
.rmfp-found-box p {
    margin: 0;
}

.rmfp-found-box strong {
    color: var(--rmfp-gold-dark);
    font-weight: 900;
}

.rmfp-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.rmfp-control {
    position: relative;
    min-height: 64px;
    display: flex;
    align-items: center;
    border-radius: 14px;
    background: rgba(255,255,255,.74);
    border: 1px solid var(--rmfp-line);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
    transition: border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.rmfp-control:focus-within {
    background: #fff;
    border-color: rgba(180,123,56,.55);
    box-shadow: 0 0 0 4px rgba(180,123,56,.09), inset 0 1px 0 rgba(255,255,255,.92);
}

.rmfp-icon {
    width: 46px;
    height: 46px;
    margin-left: 9px;
    border-radius: 12px;
    color: #8f6f46;
    background: #f7efe6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
}

.rmfp-icon svg,
.rmfp-eye svg,
.rmfp-toast-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rmfp-control input {
    width: 100%;
    min-width: 0;
    height: 62px;
    padding: 0 58px 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--rmfp-ink);
    font-family: var(--rmfp-font);
    font-size: 16px;
    font-weight: 800;
}

.rmfp-control input::placeholder {
    color: #a89a8c;
    font-weight: 700;
}

.rmfp-country {
    padding: 0 16px 0 6px;
    color: #8d765f;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.rmfp-phone input {
    padding-right: 8px;
}

.rmfp-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #77736f;
    transform: translateY(-50%);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rmfp-eye:hover {
    color: var(--rmfp-gold-dark);
    background: #f8f0e7;
}

.rmfp-eye .rmfp-eye-close,
.rmfp-eye.rmfp-showing .rmfp-eye-open {
    display: none;
}

.rmfp-eye.rmfp-showing .rmfp-eye-close {
    display: block;
}

.rmfp-error {
    display: block;
    min-height: 17px;
    margin-top: 7px;
    color: var(--rmfp-error);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
}

.rmfp-field.rmfp-field-ok .rmfp-control {
    border-color: rgba(31,111,67,.36);
    box-shadow: 0 0 0 3px rgba(31,111,67,.06);
}

.rmfp-field.rmfp-field-ok .rmfp-icon {
    color: var(--rmfp-success);
    background: #f0fbf3;
}

.rmfp-field.rmfp-field-error .rmfp-control {
    border-color: rgba(185,71,71,.52);
    box-shadow: 0 0 0 3px rgba(185,71,71,.07);
}

.rmfp-field.rmfp-field-error .rmfp-icon {
    color: var(--rmfp-error);
    background: #fff0ef;
}

.rmfp-rules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.rmfp-rule {
    min-height: 52px;
    padding: 12px 13px;
    border-radius: 13px;
    border: 1px solid #e9ddcc;
    background: rgba(255,255,255,.56);
    color: #6f6255;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.rmfp-rule span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #d9c8b3;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex: 0 0 20px;
}

.rmfp-rule.rmfp-rule-ok {
    background: #f0fbf3;
    border-color: rgba(31,111,67,.18);
    color: var(--rmfp-success);
}

.rmfp-rule.rmfp-rule-ok span {
    color: var(--rmfp-success);
    border-color: rgba(31,111,67,.26);
}

.rmfp-submit,
.rmfp-anchor-btn {
    width: 100%;
    min-height: 64px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #c28b48 0%, #a56c2f 100%);
    box-shadow: 0 18px 38px rgba(169,107,47,.28);
    font-family: var(--rmfp-font);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, opacity .22s ease;
}

.rmfp-submit:hover,
.rmfp-anchor-btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.04);
    box-shadow: 0 22px 44px rgba(169,107,47,.34);
}

.rmfp-submit:disabled,
.rmfp-anchor-btn:disabled {
    opacity: .72;
    cursor: not-allowed;
    transform: none;
}

.rmfp-submit i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.48);
    border-top-color: #fff;
    display: none;
    animation: rmfpSpin .75s linear infinite;
}

.rmfp-submit.rmfp-loading i {
    display: inline-block;
}

.rmfp-submit-light {
    color: var(--rmfp-gold-dark);
    background: linear-gradient(180deg, #fffdf9 0%, #f7efe3 100%);
    border: 1px solid #ead8bf;
    box-shadow: none;
}

.rmfp-actions-row {
    display: grid;
    grid-template-columns: minmax(130px, .45fr) 1fr;
    gap: 12px;
}

.rmfp-divider {
    position: relative;
    margin: 8px 0 0;
    text-align: center;
    color: #938578;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.rmfp-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e1d3c1 15%, #e1d3c1 85%, transparent);
}

.rmfp-divider span {
    position: relative;
    padding: 0 26px;
    background: rgba(255,252,248,.96);
}

.rmfp-link-text {
    margin: 0;
    text-align: center;
    color: #827466;
    font-size: 15px;
    font-weight: 800;
}

.rmfp-link-text a {
    color: var(--rmfp-gold-dark);
    font-weight: 900;
    text-decoration: none;
}

.rmfp-link-text a:hover {
    text-decoration: underline;
}

.rmfp-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.rmfp-modal.rmfp-modal-open {
    display: flex;
}

.rmfp-modal[hidden] {
    display: none !important;
}

.rmfp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(49, 35, 22, .48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.rmfp-otp-card {
    position: relative;
    z-index: 2;
    width: min(530px, 100%);
    padding: 34px 38px 30px;
    border-radius: 24px;
    background: rgba(255,252,248,.98);
    border: 1px solid rgba(234,223,206,.96);
    box-shadow: 0 30px 74px rgba(45,31,20,.24);
    animation: rmfpModalIn .25s ease both;
    text-align: center;
}

.rmfp-otp-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f1e9dd;
    color: #786c62;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.rmfp-otp-close:hover {
    background: #eadfce;
}

.rmfp-otp-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 18px;
}

.rmfp-otp-brand {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 17px;
    background: #050505;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
    text-decoration: none;
}

.rmfp-otp-brand img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.rmfp-otp-step-badge {
    margin-top: 12px;
    min-height: 32px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid #e3c89b;
    background: #fff8ef;
    color: #a46e31;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

.rmfp-otp-card h2 {
    margin: 14px 0 10px;
    color: var(--rmfp-ink);
    font-family: var(--rmfp-font);
    font-size: clamp(36px, 5vw, 50px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -.045em;
}

.rmfp-otp-card p {
    margin: 0 auto;
    max-width: 360px;
    color: var(--rmfp-muted);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}

.rmfp-otp-card p strong {
    color: var(--rmfp-ink);
    font-weight: 900;
}

.rmfp-dev-otp {
    margin: 0 0 18px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px dashed #e3c089;
    background: #f9f0df;
    color: #9d6a2e;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 900;
    text-align: center;
}

.rmfp-otp-digits {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.rmfp-otp-digit {
    width: 100%;
    height: 62px;
    border-radius: 14px;
    border: 1px solid #e3d5c3;
    background: rgba(255,255,255,.74);
    text-align: center;
    color: var(--rmfp-ink);
    font-family: var(--rmfp-font);
    font-size: 25px;
    font-weight: 900;
    outline: 0;
}

.rmfp-otp-digit:focus {
    border-color: rgba(180,123,56,.7);
    box-shadow: 0 0 0 4px rgba(180,123,56,.1);
    background: #fff;
}

.rmfp-otp-meta {
    margin: 18px 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #8c7a68;
    font-size: 14px;
    font-weight: 800;
}

.rmfp-otp-meta strong {
    color: #6d5238;
}

.rmfp-otp-error {
    text-align: center;
    margin-top: 8px;
}

.rmfp-otp-submit {
    min-height: 56px;
    margin-top: 4px;
}

.rmfp-resend {
    margin-top: 12px;
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid #ead8bf;
    background: linear-gradient(180deg, #fffdf9 0%, #f7efe3 100%);
    color: var(--rmfp-gold-dark);
    font-family: var(--rmfp-font);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
}

.rmfp-resend:disabled {
    opacity: .58;
    cursor: not-allowed;
}

.rmfp-toast-wrap {
    position: fixed;
    left: 38px;
    bottom: 34px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(420px, calc(100vw - 28px));
    pointer-events: none;
}

.rmfp-toast {
    pointer-events: auto;
    position: relative;
    min-height: 82px;
    display: grid;
    grid-template-columns: 54px 1fr 28px;
    gap: 14px;
    align-items: center;
    padding: 14px 14px 14px 16px;
    border-radius: 14px;
    background: rgba(255,253,249,.96);
    border: 1px solid var(--rmfp-line);
    box-shadow: 0 18px 42px rgba(47,35,24,.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: rmfpToastIn .26s ease both;
    overflow: hidden;
}

.rmfp-toast::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--rmfp-info);
}

.rmfp-toast-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rmfp-info);
    background: #eef7ff;
    border: 1px solid rgba(47,111,159,.18);
}

.rmfp-toast-title {
    margin: 0 0 5px;
    color: var(--rmfp-ink);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1.05;
}

.rmfp-toast-message {
    margin: 0;
    color: #746555;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.005em;
}

.rmfp-toast-close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8c7b69;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.rmfp-toast-success::before { background: var(--rmfp-success); }
.rmfp-toast-success .rmfp-toast-icon { color: var(--rmfp-success); background: #f0fbf3; border-color: rgba(31,111,67,.22); }
.rmfp-toast-error::before { background: var(--rmfp-error); }
.rmfp-toast-error .rmfp-toast-icon { color: var(--rmfp-error); background: #fff2f1; border-color: rgba(185,71,71,.22); }
.rmfp-toast-warning::before { background: var(--rmfp-warning); }
.rmfp-toast-warning .rmfp-toast-icon { color: var(--rmfp-warning); background: #fff7e8; border-color: rgba(183,121,31,.22); }
.rmfp-toast-info::before { background: var(--rmfp-info); }
.rmfp-toast-info .rmfp-toast-icon { color: var(--rmfp-info); background: #eef7ff; border-color: rgba(47,111,159,.22); }

@keyframes rmfpSpin {
    to { transform: rotate(360deg); }
}

@keyframes rmfpToastIn {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes rmfpModalIn {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1100px) {
    .rmfp-auth {
        grid-template-columns: 1fr;
    }

    .rmfp-bg {
        background-image:
            linear-gradient(180deg, rgba(255,250,243,.44) 0%, rgba(255,250,243,.86) 54%, rgba(255,250,243,.98) 100%),
            url('../images/auth_ring.png');
        background-position: center;
    }

    .rmfp-shell {
        grid-column: 1;
        width: min(720px, calc(100% - 32px));
        padding: 54px 0;
    }
}

@media (max-width: 720px) {
    .rmfp-auth {
        min-height: calc(100vh - 76px);
    }

    .rmfp-shell {
        width: min(560px, calc(100% - 22px));
        padding: 38px 0;
    }

    .rmfp-card {
        padding: 30px 20px 28px;
        border-radius: 20px;
    }

    .rmfp-head {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rmfp-title {
        text-align: left;
    }

    .rmfp-title h1 {
        font-size: 40px;
    }

    .rmfp-control {
        min-height: 58px;
    }

    .rmfp-control input {
        height: 56px;
        font-size: 15px;
    }

    .rmfp-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .rmfp-submit {
        min-height: 58px;
        font-size: 15px;
    }

    .rmfp-rules {
        grid-template-columns: 1fr;
    }

    .rmfp-actions-row {
        grid-template-columns: 1fr;
    }

    .rmfp-toast-wrap {
        left: 12px;
        right: 12px;
        bottom: 16px;
        width: auto;
    }

    .rmfp-otp-card {
        padding: 28px 18px 22px;
        border-radius: 22px;
    }

    .rmfp-otp-card h2 {
        font-size: clamp(30px, 9vw, 44px);
    }

    .rmfp-otp-digits {
        gap: 8px;
    }

    .rmfp-otp-digit {
        height: 56px;
        border-radius: 13px;
        font-size: 22px;
    }

    .rmfp-otp-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 430px) {
    .rmfp-title h1 {
        font-size: 34px;
    }

    .rmfp-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .rmfp-control input {
        padding-left: 12px;
    }
}

/* Reset page uses the same visual system and proportions as the sign-in page. */
.rmfp-page {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .005em;
    text-rendering: geometricPrecision;
}

.rmfp-auth {
    grid-template-columns: minmax(0, 1fr) minmax(500px, .9fr);
}

.rmfp-bg {
    background-image:
        linear-gradient(90deg, rgb(255 149 0 / 6%) 0%, rgb(255 155 15 / 8%) 44%, rgba(255, 250, 243, .72) 61%, rgba(255, 250, 243, .97) 100%),
        url('../images/auth_ring.png');
}

.rmfp-auth::after {
    background:
        radial-gradient(circle at 22% 46%, transparent 0 25%, rgba(255, 250, 243, .09) 45%, rgba(255, 250, 243, .55) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(221, 191, 151, .12));
}

.rmfp-shell {
    width: min(760px, calc(100% - 70px));
    padding: 42px 0;
}

.rmfp-card {
    padding: 50px 58px 46px;
}

.rmfp-head {
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 22px;
    margin-bottom: 30px;
}

.rmfp-brand-stack {
    width: 126px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.rmfp-logo {
    width: 122px;
    height: 122px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.rmfp-logo img {
    object-fit: contain;
}

.rmfp-domain-link {
    color: var(--rmfp-gold-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
}

.rmfp-domain-link:hover {
    color: var(--rmfp-ink);
    text-decoration: underline;
}

.rmfp-title h1 {
    font-size: clamp(42px, 4vw, 58px);
}

.rmfp-title p {
    letter-spacing: .01em;
    line-height: 1.4;
}

.rmfp-title strong {
    letter-spacing: .09em;
}

.rmfp-progress {
    margin: 4px 0 24px;
}

.rmfp-form {
    gap: 18px;
}

.rmfp-step-card,
.rmfp-found-box {
    border-radius: 14px;
}

.rmfp-control {
    min-height: 68px;
}

.rmfp-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
}

.rmfp-icon svg,
.rmfp-eye svg,
.rmfp-toast-icon svg {
    width: 23px;
    height: 23px;
}

.rmfp-control input {
    height: 66px;
    letter-spacing: .01em;
}

.rmfp-submit,
.rmfp-anchor-btn {
    min-height: 66px;
    font-size: 17px;
    letter-spacing: .03em;
}

.rmfp-divider {
    margin: 12px 0 0;
    letter-spacing: .12em;
}

.rmfp-link-text {
    letter-spacing: .01em;
}

.rmfp-otp-brand {
    width: 82px;
    height: 82px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.rmfp-otp-brand img {
    object-fit: contain;
}

@media (max-width: 1100px) {
    .rmfp-auth {
        grid-template-columns: 1fr;
    }

    .rmfp-bg {
        background-image:
            linear-gradient(90deg, rgb(255 149 0 / 6%) 0%, rgb(255 155 15 / 8%) 44%, rgba(255, 250, 243, .72) 61%, rgba(255, 250, 243, .97) 100%),
            url('../images/auth_ring.png');
        background-position: center;
    }

    .rmfp-shell {
        grid-column: 1;
        width: min(720px, calc(100% - 32px));
        padding: 54px 0;
    }
}

@media (max-width: 720px) {
    .rmfp-shell {
        width: min(560px, calc(100% - 22px));
        padding: 38px 0;
    }

    .rmfp-card {
        padding: 30px 20px 28px;
        border-radius: 20px;
    }

    .rmfp-head {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rmfp-brand-stack {
        width: 112px;
        align-items: flex-start;
    }

    .rmfp-logo {
        width: 108px;
        height: 108px;
    }

    .rmfp-title {
        text-align: left;
    }

    .rmfp-title h1 {
        font-size: 40px;
    }

    .rmfp-control {
        min-height: 58px;
    }

    .rmfp-control input {
        height: 56px;
        font-size: 15px;
    }

    .rmfp-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .rmfp-submit,
    .rmfp-anchor-btn {
        min-height: 58px;
        font-size: 16px;
    }
}

@media (max-width: 430px) {
    .rmfp-title h1 {
        font-size: 34px;
    }

    .rmfp-card {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ========================================================================== 
   2026-09 Imitation jewellery auth refresh v7
   Reset Password now follows the same visual language as Sign In / Sign Up.
   Visual overrides only; password reset steps and JS hooks are unchanged.
   ========================================================================== */

.rmfp-page {
    --rmfp-ink: #35101f;
    --rmfp-muted: #78636c;
    --rmfp-soft: #fff8fa;
    --rmfp-card: rgba(255, 253, 251, .96);
    --rmfp-line: rgba(91, 31, 55, .14);
    --rmfp-gold: #c89a62;
    --rmfp-gold-dark: #6d1f40;
    --rmfp-shadow: 0 32px 90px rgba(63, 16, 38, .14);
    background:
        radial-gradient(circle at 7% 14%, rgba(200,154,98,.15), transparent 22%),
        radial-gradient(circle at 91% 84%, rgba(155,63,99,.12), transparent 27%),
        linear-gradient(135deg, #fbf1f4 0%, #fffdfb 48%, #f7e9ee 100%);
}

.rmfp-auth {
    background: transparent;
}

.rmfp-bg {
    background-image:
        linear-gradient(90deg, rgba(53,16,31,.08) 0%, rgba(109,31,64,.08) 38%, rgba(255,253,251,.70) 61%, rgba(255,253,251,.97) 100%),
        url('../images/auth_ring.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    filter: none;
    transform: scale(1.01);
}

.rmfp-auth::before {
    content: "";
    position: absolute;
    left: clamp(36px, 6vw, 110px);
    top: 50%;
    width: clamp(210px, 29vw, 470px);
    aspect-ratio: 1;
    z-index: -1;
    border: 1px solid rgba(241,223,198,.20);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow:
        0 0 0 32px rgba(241,223,198,.035),
        0 0 0 66px rgba(255,255,255,.018),
        inset 0 0 80px rgba(255,255,255,.035);
    pointer-events: none;
}

.rmfp-auth::after {
    background:
        radial-gradient(circle at 22% 50%, transparent 0 19%, rgba(255,255,255,.025) 20% 21%, transparent 22% 30%, rgba(241,223,198,.055) 31% 31.4%, transparent 32%),
        linear-gradient(90deg, transparent 0 48%, rgba(255,253,251,.18) 55%, rgba(255,253,251,.76) 67%, rgba(255,253,251,.98) 100%);
}

.rmfp-shell {
    width: min(790px, calc(100% - 72px));
}

.rmfp-card {
    position: relative;
    overflow: hidden;
    padding: 50px 58px 46px;
    border: 1px solid rgba(109,31,64,.13);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(255,249,250,.95));
    box-shadow: 0 34px 90px rgba(53,16,31,.15), inset 0 1px 0 rgba(255,255,255,.95);
    backdrop-filter: blur(22px) saturate(1.06);
    -webkit-backdrop-filter: blur(22px) saturate(1.06);
}

.rmfp-card::before {
    content: none;
    display: none;
}

.rmfp-card::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -90px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 1px solid rgba(200,154,98,.13);
    box-shadow: 0 0 0 24px rgba(200,154,98,.035), 0 0 0 50px rgba(109,31,64,.02);
    pointer-events: none;
}

.rmfp-head,
.rmfp-progress,
.rmfp-form {
    position: relative;
    z-index: 1;
}

.rmfp-head {
    grid-template-columns: 158px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.rmfp-brand-stack {
    width: 158px;
    min-width: 158px;
    align-items: center;
}


.rmfp-logo img {
    object-fit: contain;
}

.rmfp-domain-link {
    width: max-content;
    max-width: none;
    color: #6d1f40;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .035em;
    text-decoration: none;
    white-space: nowrap;
}

.rmfp-domain-link:hover {
    color: #35101f;
    text-decoration: none;
}

.rmfp-title {
    text-align: left;
}

.rmfp-title h1,
.rmfp-otp-card h2 {
    color: #35101f;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: .92;
}

.rmfp-title h1 {
    font-size: clamp(46px, 4.8vw, 66px);
}

.rmfp-title p,
.rmfp-otp-card p {
    color: #7b6670;
    font-weight: 600;
    letter-spacing: 0;
}

.rmfp-title strong,
.rmfp-otp-step-badge {
    color: #6d1f40;
    border-color: rgba(109,31,64,.16);
    background: linear-gradient(135deg, #fff8f6, #f8e9ee);
    letter-spacing: .14em;
}

.rmfp-title strong {
    display: inline-flex;
    width: fit-content;
    margin: 2px 0 14px;
    padding: 7px 12px;
    border: 1px solid rgba(109,31,64,.16);
    border-radius: 999px;
}

.rmfp-title > span {
    width: 190px;
    background: linear-gradient(90deg, #6d1f40, #c89a62, transparent);
}

.rmfp-title > span::after {
    left: 0;
    width: 8px;
    height: 8px;
    background: #f1dfc6;
    border-color: #c89a62;
}

.rmfp-progress span {
    border-radius: 11px;
    border-color: rgba(109,31,64,.16);
    background: rgba(255,255,255,.86);
    color: #8e7881;
}

.rmfp-progress i {
    background: linear-gradient(90deg, rgba(109,31,64,.12), rgba(200,154,98,.72), rgba(109,31,64,.12));
}

.rmfp-progress .rmfp-progress-done,
.rmfp-progress .rmfp-progress-active {
    border-color: #6d1f40;
    background: linear-gradient(135deg, #35101f, #6d1f40 58%, #8f3155);
    box-shadow: 0 10px 24px rgba(83,22,48,.18);
}

.rmfp-step-card,
.rmfp-found-box,
.rmfp-rules {
    border-color: rgba(109,31,64,.10);
    background: linear-gradient(145deg, rgba(255,255,255,.85), rgba(250,239,243,.72));
    color: #725d66;
    box-shadow: 0 8px 22px rgba(63,16,38,.035);
}

.rmfp-step-card strong,
.rmfp-found-box strong {
    color: #6d1f40;
}

.rmfp-control {
    min-height: 66px;
    border: 1px solid rgba(84,34,52,.13);
    border-radius: 18px;
    background: rgba(255,255,255,.91);
    box-shadow: 0 9px 25px rgba(63,16,38,.035), inset 0 1px 0 rgba(255,255,255,.9);
}

.rmfp-control::before,
.rmfp-control:focus-within::before {
    content: none;
    display: none;
}

.rmfp-control:focus-within {
    border-color: rgba(109,31,64,.38);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(109,31,64,.065), 0 13px 28px rgba(63,16,38,.06);
}

.rmfp-icon {
    border: 1px solid rgba(109,31,64,.08);
    border-radius: 13px;
    color: #6d1f40;
    background: linear-gradient(145deg, #f9edf1, #fff7f2);
}

.rmfp-control input {
    color: #35101f;
    font-weight: 650;
}

.rmfp-control input::placeholder {
    color: #a39198;
}

.rmfp-country,
.rmfp-eye {
    color: #846d76;
}

.rmfp-eye:hover {
    color: #6d1f40;
    background: #fbf0f4;
}

.rmfp-rule {
    border-color: rgba(109,31,64,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.76);
    color: #75616a;
}

.rmfp-rule span {
    border-color: rgba(109,31,64,.20);
}

.rmfp-submit,
.rmfp-anchor-btn {
    min-height: 62px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(115deg, #35101f, #6d1f40 54%, #8f3155 100%);
    box-shadow: 0 17px 34px rgba(83,22,48,.23);
    letter-spacing: .035em;
}

.rmfp-submit:hover,
.rmfp-anchor-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(83,22,48,.29);
}

.rmfp-submit-light {
    color: #6d1f40;
    border: 1px solid rgba(109,31,64,.14);
    background: linear-gradient(180deg, #fff, #fbf1f4);
    box-shadow: none;
}

.rmfp-divider::before {
    background: linear-gradient(90deg, transparent, rgba(109,31,64,.14), transparent);
}

.rmfp-divider span {
    color: #927b84;
    background: #fffaf9;
}

.rmfp-link-text {
    color: #806c74;
}

.rmfp-link-text a,
.rmfp-resend {
    color: #6d1f40;
}

.rmfp-modal-backdrop {
    background: rgba(43,10,27,.52);
}

.rmfp-otp-card {
    border: 1px solid rgba(109,31,64,.13);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(255,248,250,.98));
    box-shadow: 0 32px 82px rgba(53,16,31,.24);
}

.rmfp-otp-brand {
    padding: 5px;
    border: 1px solid rgba(200,154,98,.24);
    border-radius: 20px;
    background: linear-gradient(145deg, #fff, #f8ebdf);
    box-shadow: 0 14px 30px rgba(70,23,40,.10);
}

.rmfp-otp-digit {
    border-color: rgba(84,34,52,.14);
    border-radius: 14px;
    background: #fff;
    color: #35101f;
}

.rmfp-otp-digit:focus {
    border-color: rgba(109,31,64,.45);
    box-shadow: 0 0 0 4px rgba(109,31,64,.07);
}

.rmfp-resend {
    border-color: rgba(109,31,64,.13);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #fbf1f4);
}

.rmfp-toast {
    border-color: rgba(109,31,64,.12);
    border-radius: 18px;
    background: rgba(255,253,251,.97);
    box-shadow: 0 18px 46px rgba(53,16,31,.13);
}

@media (max-width: 1100px) {
    .rmfp-bg {
        background-image:
            linear-gradient(90deg, rgba(255,253,251,.12) 0%, rgba(255,253,251,.48) 42%, rgba(255,253,251,.91) 75%, rgba(255,253,251,.98) 100%),
            url('../images/auth_ring.png');
        background-size: cover;
        background-position: 35% center;
        background-repeat: no-repeat;
    }

    .rmfp-auth::before {
        display: none;
    }

    .rmfp-auth::after {
        background: transparent;
    }

    .rmfp-card {
        border-radius: 28px;
    }
}

@media (max-width: 720px) {
    .rmfp-shell {
        width: min(100% - 24px, 620px);
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .rmfp-card {
        padding: 30px 22px 28px;
        border-radius: 24px;
    }

    .rmfp-head {
        grid-template-columns: 128px minmax(0,1fr);
        gap: 16px;
        align-items: center;
    }

    .rmfp-brand-stack {
        width: 128px;
        min-width: 128px;
        align-items: center;
    }

    .rmfp-logo {
        width: 84px;
        height: 84px;
    }

    .rmfp-domain-link {
        font-size: 12px;
        text-align: center;
    }

    .rmfp-title h1 {
        font-size: clamp(38px, 10vw, 50px);
    }

    .rmfp-control {
        min-height: 60px;
        border-radius: 16px;
    }

    .rmfp-submit,
    .rmfp-anchor-btn {
        min-height: 58px;
        border-radius: 16px;
    }

    .rmfp-progress span {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .rmfp-progress {
        grid-template-columns: 32px 1fr 32px 1fr 32px;
    }
}

@media (max-width: 480px) {
    .rmfp-head {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rmfp-brand-stack {
        width: max-content;
        min-width: 0;
        margin-inline: auto;
        align-items: center;
    }

    .rmfp-title {
        text-align: left;
    }

    .rmfp-logo {
        width: 68px;
        height: 68px;
    }
}

/* Update 9: reset-page logo refinement (remove outer box, keep only rounded-square image, slightly smaller) */
.rmfp-brand-stack {
    width: 136px;
    min-width: 136px;
    align-items: center;
}

.rmfp-head {
    grid-template-columns: 136px minmax(0, 1fr);
}

.rmfp-logo {
    width: 104px;
    height: 104px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.rmfp-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 18px;
}

.rmfp-domain-link {
    font-size: 14px;
    line-height: 1.1;
    text-align: center;
}

@media (max-width: 991px) {
    .rmfp-brand-stack {
        width: 116px;
        min-width: 116px;
    }

    .rmfp-head {
        grid-template-columns: 116px minmax(0, 1fr);
    }

    .rmfp-logo {
        width: 82px;
        height: 82px;
    }

    .rmfp-logo img {
        border-radius: 16px;
    }

    .rmfp-domain-link {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .rmfp-brand-stack {
        width: max-content;
        min-width: 0;
        margin-inline: auto;
        align-items: center;
    }

    .rmfp-head {
        grid-template-columns: 1fr;
    }

    .rmfp-logo {
        width: 64px;
        height: 64px;
    }

    .rmfp-logo img {
        border-radius: 14px;
    }
}
