.password-reset-page {
    --reset-navy: #123a55;
    --reset-navy-deep: #0b2d44;
    --reset-teal: #109a99;
    --reset-teal-dark: #087b7b;
    --reset-orange: #f18735;
    --reset-ink: #183247;
    --reset-muted: #668091;
    min-height: 720px;
    padding: 128px 22px 72px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 7% 18%, rgba(16, 154, 153, .1), transparent 23%),
        radial-gradient(circle at 94% 80%, rgba(18, 58, 85, .09), transparent 25%),
        linear-gradient(135deg, #f7fafb 0%, #edf3f5 100%);
    color: var(--reset-ink);
    font-family: "Prompt", "Sarabun", Tahoma, sans-serif;
}

.password-reset-page::before,
.password-reset-page::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(16, 154, 153, .13);
    border-radius: 34px;
    pointer-events: none;
    transform: rotate(24deg);
}

.password-reset-page::before {
    width: 310px;
    height: 310px;
    top: 88px;
    left: -185px;
}

.password-reset-page::after {
    width: 260px;
    height: 260px;
    right: -138px;
    bottom: 56px;
}

.password-reset-shell {
    width: min(100%, 1000px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.password-reset-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    color: #456476 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.password-reset-back:hover,
.password-reset-back:focus {
    color: var(--reset-teal-dark) !important;
}

.password-reset-page .password-reset-card {
    width: 100%;
    display: grid !important;
    grid-template-columns: minmax(310px, .82fr) minmax(430px, 1.18fr);
    grid-template-rows: auto;
    grid-auto-flow: row;
    overflow: hidden;
    float: none !important;
    clear: both;
    direction: ltr;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(18, 58, 85, .1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(18, 58, 85, .14);
}

.password-reset-page .password-reset-card > .password-reset-aside {
    width: auto !important;
    min-height: 590px;
    display: flex;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    padding: 52px 42px 40px;
    overflow: hidden;
    position: relative;
    float: none !important;
    clear: none !important;
    direction: ltr;
    margin: 0 !important;
    background: linear-gradient(150deg, var(--reset-navy) 0%, var(--reset-navy-deep) 100%);
    color: #fff;
}

.password-reset-aside::before,
.password-reset-aside::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.password-reset-aside::before {
    width: 270px;
    height: 270px;
    top: -120px;
    right: -125px;
}

.password-reset-aside::after {
    width: 185px;
    height: 185px;
    top: -77px;
    right: -88px;
}

.password-reset-aside-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    color: #71ddd5;
    font-size: 24px;
}

.password-reset-eyebrow {
    margin-bottom: 10px;
    color: #9ce4df;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
}

.password-reset-aside h1 {
    margin: 0 0 15px;
    color: #fff !important;
    font-family: "Prompt", "Sarabun", sans-serif !important;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.38;
}

.password-reset-aside > p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
    line-height: 1.8;
}

.password-reset-benefits {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.password-reset-benefits li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, .93);
    font-size: 13px;
}

.password-reset-benefits i {
    width: 25px;
    height: 25px;
    display: inline-flex;
    flex: 0 0 25px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(76, 205, 196, .15);
    color: #75ded7;
    font-size: 11px;
}

.password-reset-help {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding: 16px 17px;
    border: 1px solid rgba(241, 135, 53, .52);
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
}

.password-reset-help > i {
    color: #ffc08f;
    font-size: 20px;
}

.password-reset-help small,
.password-reset-help strong {
    display: block;
}

.password-reset-help small {
    margin-bottom: 2px;
    color: #ffd2af;
    font-size: 10px;
}

.password-reset-help strong {
    color: #fff;
    font-size: 14px;
}

.password-reset-page .password-reset-card > .password-reset-content {
    width: auto !important;
    min-height: 590px;
    display: flex;
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    padding: 42px 50px;
    position: relative;
    float: none !important;
    clear: none !important;
    direction: ltr;
    margin: 0 !important;
    background: #fff;
}

.password-reset-mobile-brand {
    display: none;
}

.password-reset-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 30px;
    padding: 0;
    position: relative;
    list-style: none;
}

.password-reset-progress::before {
    content: "";
    height: 2px;
    position: absolute;
    top: 15px;
    right: 16.6%;
    left: 16.6%;
    background: #dbe5ea;
}

.password-reset-progress li {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: #91a3ad;
}

.password-reset-progress span {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 2px solid #dbe5ea;
    border-radius: 50%;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.password-reset-progress small {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 600;
}

.password-reset-progress li.is-active,
.password-reset-progress li.is-complete {
    color: var(--reset-teal-dark);
}

.password-reset-progress li.is-active span {
    border-color: var(--reset-teal);
    box-shadow: 0 0 0 5px rgba(16, 154, 153, .11);
}

.password-reset-progress li.is-complete span {
    border-color: var(--reset-teal);
    background: var(--reset-teal);
    color: #fff;
}

.password-reset-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    padding: 13px 14px;
    border: 1px solid #cfe3eb;
    border-radius: 10px;
    background: #f0f8fb;
    color: #28566c;
    font-size: 12px;
    line-height: 1.65;
}

.password-reset-alert > i {
    margin-top: 3px;
}

.password-reset-alert--danger {
    border-color: #f2c8cb;
    background: #fff2f3;
    color: #a13d45;
}

.password-reset-alert--warning {
    border-color: #f0d9af;
    background: #fff8ea;
    color: #865e19;
}

.password-reset-step {
    margin: auto 0;
}

.password-reset-secure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf7f6;
    color: var(--reset-teal-dark);
    font-size: 10px;
    font-weight: 700;
}

.password-reset-step h2 {
    margin: 0 0 8px;
    color: var(--reset-navy) !important;
    font-family: "Prompt", "Sarabun", sans-serif !important;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
}

.password-reset-intro,
.password-reset-success > p {
    margin: 0 0 25px;
    color: var(--reset-muted);
    font-size: 13px;
    line-height: 1.75;
}

.password-reset-intro strong {
    color: var(--reset-navy);
}

.password-reset-field {
    margin-bottom: 18px;
}

.password-reset-field label {
    display: block;
    margin-bottom: 7px;
    color: #334a5c;
    font-size: 12px;
    font-weight: 600;
}

.password-reset-input-wrap {
    position: relative;
}

.password-reset-input {
    width: 100%;
    height: 48px;
    padding: 10px 44px;
    border: 1px solid #cbd9e0;
    border-radius: 10px;
    background: #fff;
    color: var(--reset-ink);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.password-reset-input:focus {
    border-color: var(--reset-teal);
    box-shadow: 0 0 0 4px rgba(16, 154, 153, .1);
}

.password-reset-input::placeholder {
    color: #9aacb6;
}

.password-reset-input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    color: #8299a7;
    transform: translateY(-50%);
}

.password-reset-otp {
    padding-right: 18px;
    padding-left: 18px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 10px;
}

.password-reset-toggle {
    width: 42px;
    height: 42px;
    position: absolute;
    top: 3px;
    right: 4px;
    border: 0;
    background: transparent;
    color: #718a99;
}

.password-reset-primary {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--reset-teal) 0%, var(--reset-teal-dark) 100%);
    box-shadow: 0 10px 22px rgba(8, 123, 123, .18);
    color: #fff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.password-reset-primary:hover,
.password-reset-primary:focus {
    color: #fff !important;
    box-shadow: 0 13px 25px rgba(8, 123, 123, .25);
    transform: translateY(-1px);
}

.password-reset-primary.is-loading {
    pointer-events: none;
    opacity: .76;
}

.password-reset-privacy,
.password-reset-hint {
    margin: 16px 0 0;
    color: #7d929e;
    font-size: 10px;
    line-height: 1.65;
    text-align: center;
}

.password-reset-privacy i {
    margin-right: 4px;
    color: var(--reset-teal);
}

.password-reset-secondary-actions {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 18px;
}

.password-reset-secondary-actions a {
    color: var(--reset-teal-dark) !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
}

.password-reset-success {
    text-align: center;
}

.password-reset-success-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #eaf7f6;
    box-shadow: 0 0 0 10px rgba(16, 154, 153, .08);
    color: var(--reset-teal);
    font-size: 30px;
}

.password-reset-login-link {
    margin-top: 6px;
}

@media (max-width: 820px) {
    .password-reset-page {
        padding-top: 112px;
    }

    .password-reset-page .password-reset-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        max-width: 570px;
        margin: 0 auto;
    }

    .password-reset-page .password-reset-card > .password-reset-aside {
        min-height: auto;
        grid-column: 1;
        grid-row: 1;
        padding: 30px 34px;
    }

    .password-reset-aside-icon,
    .password-reset-eyebrow,
    .password-reset-aside > p,
    .password-reset-benefits {
        display: none;
    }

    .password-reset-aside h1 {
        margin: 0;
        font-size: 23px;
    }

    .password-reset-help {
        margin-top: 18px;
    }

    .password-reset-page .password-reset-card > .password-reset-content {
        min-height: 520px;
        grid-column: 1;
        grid-row: 2;
        padding: 38px 42px;
    }
}

@media (max-width: 575px) {
    .password-reset-page {
        padding: 92px 10px 42px;
    }

    .password-reset-back {
        margin-left: 4px;
    }

    .password-reset-card {
        border-radius: 16px;
    }

    .password-reset-page .password-reset-card > .password-reset-aside {
        display: none;
    }

    .password-reset-page .password-reset-card > .password-reset-content {
        min-height: 570px;
        grid-row: 1;
        padding: 28px 22px 32px;
    }

    .password-reset-mobile-brand {
        display: block;
        margin-bottom: 22px;
        text-align: center;
    }

    .password-reset-mobile-brand img {
        width: 180px;
        max-width: 70%;
        height: auto;
    }

    .password-reset-progress {
        margin-bottom: 26px;
    }

    .password-reset-step h2 {
        font-size: 23px;
    }

    .password-reset-secondary-actions {
        gap: 15px;
    }
}
