/* ==========================================
   PESECURE USER LOGIN - PREMIUM FINTECH UI
   ========================================== */

:root {
    --fin-primary: #6366f1;
    --fin-primary-dark: #4f46e5;
    --fin-ink: #191b38;
    --fin-muted: #7b8099;
    --fin-border: #e8eaf3;
    --fin-page: #f5f6ff;
}

.fin-login-page,
.fin-login-page * {
    box-sizing: border-box;
}

.fin-login-page {
    margin: 0;
    min-height: 100vh;
    color: var(--fin-ink);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(ellipse at 5% 5%, #e8eaff 0, transparent 33%),
        radial-gradient(ellipse at 95% 95%, #eee8ff 0, transparent 35%),
        var(--fin-page);
}

.fin-login-page a {
    text-decoration: none;
}

.fin-login-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.fin-login-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    width: 100%;
    max-width: 1240px;
    min-height: 750px;
    overflow: hidden;
    border: 1px solid rgba(227, 229, 245, .9);
    border-radius: 27px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(35, 36, 89, .10);
}

/* ==========================================
   LEFT VISUAL PANEL
   ========================================== */

.fin-login-visual {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 38px 42px 27px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse at 15% 15%, rgba(135, 132, 255, .33), transparent 40%),
        radial-gradient(ellipse at 95% 90%, rgba(126, 84, 255, .25), transparent 38%),
        linear-gradient(145deg, #20245d 0%, #302c7b 52%, #4f46a5 100%);
}

.fin-login-orb {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.fin-login-orb-one {
    width: 390px;
    height: 390px;
    top: -200px;
    right: -160px;
    box-shadow:
        0 0 0 40px rgba(255,255,255,.025),
        0 0 0 80px rgba(255,255,255,.018);
}

.fin-login-orb-two {
    width: 280px;
    height: 280px;
    bottom: -170px;
    left: -120px;
    box-shadow: 0 0 0 35px rgba(255,255,255,.02);
}

.fin-login-grid-pattern {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: .14;
    background-image:
        linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom right, #000, transparent 70%);
}

.fin-login-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
    color: #fff;
}

.fin-login-brand:hover {
    color: #fff;
}

.fin-login-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    color: #fff;
    font-size: 23px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.fin-login-brand-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.6px;
}

.fin-login-brand-name small {
    color: rgba(255,255,255,.65);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.fin-login-visual-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 510px;
    margin: auto 0;
    padding: 42px 0 30px;
}

.fin-login-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    color: #e4e5ff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 100px;
    background: rgba(255,255,255,.07);
}

.fin-login-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #86efbd;
    box-shadow: 0 0 12px rgba(134,239,189,.5);
}

.fin-login-visual-content > h2 {
    margin: 24px 0 16px;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.7px;
}

.fin-login-visual-content > h2 span {
    color: #c3c3ff;
}

.fin-login-visual-description {
    max-width: 430px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.9;
}

/* Dashboard illustration */

.fin-login-preview {
    position: relative;
    margin-top: 30px;
    padding: 21px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 19px;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.13),
        rgba(255,255,255,.055)
    );
    box-shadow: 0 18px 45px rgba(10,10,50,.12);
    backdrop-filter: blur(12px);
}

.fin-login-preview-header {
    display: flex;
    align-items: center;
    gap: 11px;
}

.fin-login-preview-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    color: #d7d5ff;
    font-size: 19px;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
}

.fin-login-preview-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fin-login-preview-heading strong {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.fin-login-preview-heading span {
    color: rgba(255,255,255,.62);
    font-size: 10px;
}

.fin-login-preview-menu {
    margin-left: auto;
    color: rgba(255,255,255,.65);
    font-size: 18px;
}

.fin-login-preview-line {
    height: 1px;
    margin: 19px 0;
    background: rgba(255,255,255,.13);
}

.fin-login-preview-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fin-login-preview-info > div:first-child > span {
    color: rgba(255,255,255,.62);
    font-size: 10px;
}

.fin-login-preview-info h3 {
    margin: 7px 0 0;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.5px;
}

.fin-login-preview-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    color: #a5f3cf;
    border: 1px solid rgba(165,243,207,.2);
    border-radius: 11px;
    background: rgba(165,243,207,.1);
}

.fin-login-preview-chart {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 39px;
    margin-top: 17px;
    opacity: .8;
}

.fin-login-preview-chart span {
    flex: 1;
    min-width: 0;
    border-radius: 4px 4px 1px 1px;
    background: linear-gradient(180deg, #c8c5ff, #8986f2);
}

.fin-login-preview-footer {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 17px;
    color: rgba(255,255,255,.68);
    font-size: 9px;
}

.fin-login-preview-footer span:first-child {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fin-login-preview-footer i {
    color: #a3f1c8;
}

/* Benefits */

.fin-login-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 23px;
}

.fin-login-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fin-login-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #d4d1ff;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 11px;
    background: rgba(255,255,255,.08);
}

.fin-login-benefit > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fin-login-benefit strong {
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.fin-login-benefit small {
    color: rgba(255,255,255,.6);
    font-size: 9px;
}

.fin-login-visual-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.57);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .45px;
}

.fin-login-visual-footer > i {
    font-size: 13px;
}

.fin-login-footer-dot {
    color: #b9b4ff;
}

/* ==========================================
   RIGHT LOGIN PANEL
   ========================================== */

.fin-login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 48px 50px 24px;
    background: #fff;
}

.fin-login-content {
    width: 100%;
    max-width: 390px;
    margin: auto;
}

.fin-login-mobile-brand {
    display: none;
}

.fin-login-welcome-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    margin-bottom: 23px;
    color: var(--fin-primary);
    font-size: 21px;
    border: 1px solid #e9e8ff;
    border-radius: 15px;
    background: linear-gradient(145deg, #f4f3ff, #eeedff);
}

.fin-login-eyebrow {
    margin-bottom: 10px;
    color: var(--fin-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.fin-login-heading {
    margin: 0;
    color: #191b38;
    font-family: "Inter", sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.7px;
}

.fin-login-heading span {
    color: var(--fin-primary);
}

.fin-login-description {
    margin: 13px 0 0;
    color: var(--fin-muted);
    font-size: 12px;
    line-height: 1.9;
}

.fin-login-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0 25px;
    color: #969aaf;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.fin-login-divider::before {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    content: "";
    background: #edf0f7;
}

.fin-login-divider span {
    position: relative;
    padding: 0 14px;
    background: #fff;
}

/* Form */

.fin-login-form {
    display: block;
    width: 100%;
    margin: 0;
}

.fin-login-field {
    margin-bottom: 21px;
}

.fin-login-field > label,
.fin-login-label-row > label {
    display: block;
    margin: 0 0 9px;
    color: #282b46;
    font-size: 11px;
    font-weight: 700;
}

.fin-login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}

.fin-login-label-row > label {
    margin-bottom: 0;
}

.fin-login-label-row > a {
    color: var(--fin-primary-dark);
    font-size: 10px;
    font-weight: 700;
}

.fin-login-label-row > a:hover,
.fin-login-signup a:hover,
.fin-login-support a:hover {
    text-decoration: underline;
}

.fin-login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 53px;
    border: 1px solid #e5e7f1;
    border-radius: 11px;
    background: #fbfbfe;
    transition: border-color .2s ease, box-shadow .2s ease,
                background .2s ease;
}

.fin-login-input-wrap:focus-within {
    border-color: var(--fin-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99,102,241,.09);
}

.fin-login-input-icon {
    position: absolute;
    left: 15px;
    color: #8d92ab;
    font-size: 16px;
    pointer-events: none;
}

.fin-login-input-wrap input {
    width: 100%;
    min-width: 0;
    height: 51px;
    margin: 0;
    padding: 0 45px;
    color: #262844;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    border: 0;
    outline: none;
    border-radius: inherit;
    background: transparent;
    box-shadow: none;
}

.fin-login-input-wrap input::placeholder {
    color: #a5a9bc;
    opacity: 1;
}

.fin-login-input-wrap input:focus {
    outline: none;
    border: 0;
    box-shadow: none;
}

.fin-login-password-toggle {
    position: absolute;
    top: 50%;
    right: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 33px;
    padding: 0;
    color: #8d92ab;
    border: 0;
    border-radius: 7px;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}

.fin-login-password-toggle:hover {
    color: var(--fin-primary);
    background: #f0efff;
}

.fin-login-password-toggle i {
    font-size: 15px;
}

.fin-login-field-error {
    display: block;
    margin-top: 7px;
    color: #dc3545;
    font-size: 10px;
}

/* Remember checkbox */

.fin-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1px 0 22px;
}

.fin-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #71758c;
    font-size: 10px;
    cursor: pointer;
}

.fin-login-remember input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--fin-primary);
    cursor: pointer;
}

/* Submit button */

.fin-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 53px;
    padding: 13px 18px;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(
        105deg,
        var(--fin-primary),
        var(--fin-primary-dark)
    );
    box-shadow: 0 8px 20px rgba(79,70,229,.22);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.fin-login-submit:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(79,70,229,.3);
}

.fin-login-submit > i {
    font-size: 14px;
    transition: transform .2s ease;
}

.fin-login-submit:hover > i {
    transform: translateX(3px);
}

.fin-login-submit:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.fin-login-submit:focus-visible,
.fin-login-password-toggle:focus-visible {
    outline: 3px solid rgba(99,102,241,.35);
    outline-offset: 3px;
}

/* Security and links */

.fin-login-security-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 17px;
    color: #9296aa;
    font-size: 9px;
    text-align: center;
}

.fin-login-security-note > i {
    color: #1fa878;
    font-size: 13px;
}

.fin-login-signup {
    margin-top: 23px;
    color: #85899f;
    font-size: 10px;
    text-align: center;
}

.fin-login-signup a {
    margin-left: 3px;
    color: var(--fin-primary-dark);
    font-weight: 700;
}

.fin-login-support {
    margin-top: 13px;
    color: #969aaf;
    font-size: 10px;
    text-align: center;
}

.fin-login-support a {
    color: var(--fin-primary-dark);
    font-weight: 600;
}

/* Alerts */

.fin-login-form .alert,
.fin-login-form .auth-alert {
    font-size: 11px;
    line-height: 1.65;
    border-radius: 9px;
}

.fin-login-copyright {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    max-width: 390px;
    margin: auto auto 0;
    padding-top: 28px;
    color: #9a9db0;
    font-size: 9px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1100px) {
    .fin-login-wrapper {
        padding: 20px;
    }

    .fin-login-container {
        grid-template-columns: 1fr 1fr;
        min-height: 700px;
    }

    .fin-login-visual {
        padding: 30px 27px 23px;
    }

    .fin-login-form-panel {
        padding: 38px 28px 22px;
    }

    .fin-login-visual-content > h2 {
        font-size: 32px;
    }

    .fin-login-preview {
        padding: 17px;
    }

    .fin-login-benefits {
        gap: 12px;
    }
}

@media (max-width: 760px) {
    .fin-login-page {
        background: #fff;
    }

    .fin-login-wrapper {
        display: block;
        min-height: 100vh;
        padding: 0;
    }

    .fin-login-container {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .fin-login-visual {
        display: none;
    }

    .fin-login-form-panel {
        flex: 1;
        justify-content: flex-start;
        padding: 24px 25px 20px;
    }

    .fin-login-mobile-brand {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 42px;
        color: var(--fin-ink);
        font-size: 19px;
        font-weight: 800;
        letter-spacing: -.5px;
    }

    .fin-login-mobile-brand .fin-login-brand-icon {
        width: 42px;
        height: 42px;
        color: #fff;
        font-size: 21px;
        border: 0;
        border-radius: 13px;
        background: linear-gradient(
            135deg,
            var(--fin-primary),
            var(--fin-primary-dark)
        );
    }

    .fin-login-content {
        max-width: 440px;
    }

    .fin-login-heading {
        font-size: 34px;
    }

    .fin-login-divider {
        margin: 27px 0 24px;
    }

    .fin-login-copyright {
        max-width: 440px;
        padding-top: 38px;
    }
}

@media (max-width: 380px) {
    .fin-login-form-panel {
        padding-right: 18px;
        padding-left: 18px;
    }

    .fin-login-mobile-brand {
        margin-bottom: 34px;
    }

    .fin-login-heading {
        font-size: 30px;
    }

    .fin-login-description {
        font-size: 11px;
    }

    .fin-login-label-row > a {
        font-size: 9px;
    }

    .fin-login-signup {
        line-height: 1.8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fin-login-page *,
    .fin-login-page *::before,
    .fin-login-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* ==========================================
   SIGNUP PAGE
   ========================================== */

.fin-signup-content {
    width: 100%;
    max-width: 410px;
    margin: auto;
}

.fin-signup-welcome-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    margin-bottom: 18px;
    color: var(--fin-primary);
    font-size: 20px;
    border: 1px solid #e9e8ff;
    border-radius: 14px;
    background: linear-gradient(145deg, #f4f3ff, #eeedff);
}

.fin-signup-form {
    display: block;
    width: 100%;
    margin: 0;
}

.fin-signup-field {
    margin-bottom: 15px;
}

.fin-signup-field > label {
    display: block;
    margin: 0 0 7px;
    color: #282b46;
    font-size: 11px;
    font-weight: 700;
}

.fin-signup-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 49px;
    border: 1px solid #e5e7f1;
    border-radius: 10px;
    background: #fbfbfe;
    transition: border-color .2s ease, box-shadow .2s ease,
                background .2s ease;
}

.fin-signup-input-wrap:focus-within {
    border-color: var(--fin-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99,102,241,.09);
}

.fin-signup-input-wrap > i:first-child {
    position: absolute;
    left: 14px;
    color: #8d92ab;
    font-size: 15px;
    pointer-events: none;
}

.fin-signup-input-wrap input {
    width: 100%;
    min-width: 0;
    height: 47px;
    margin: 0;
    padding: 0 42px;
    color: #262844;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    border: 0;
    outline: none;
    border-radius: inherit;
    background: transparent;
    box-shadow: none;
}

.fin-signup-input-wrap input::placeholder {
    color: #a5a9bc;
    opacity: 1;
}

.fin-signup-input-wrap input:focus {
    outline: none;
    border: 0;
    box-shadow: none;
}

.fin-signup-country-code {
    position: absolute;
    left: 38px;
    z-index: 1;
    color: #535773;
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
}

.fin-signup-input-wrap:has(.fin-signup-country-code) input {
    padding-left: 70px;
}

.fin-signup-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 32px;
    padding: 0;
    color: #8d92ab;
    border: 0;
    border-radius: 7px;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}

.fin-signup-password-toggle:hover {
    color: var(--fin-primary);
    background: #f0efff;
}

.fin-signup-password-toggle i {
    font-size: 14px;
}

.fin-signup-error {
    display: block;
    margin-top: 6px;
    color: #dc3545;
    font-size: 10px;
    line-height: 1.5;
}

.fin-signup-password-hint {
    margin-top: 7px;
    color: #969aaf;
    font-size: 9px;
    line-height: 1.6;
}

.fin-signup-form .fin-login-submit {
    margin-top: 5px;
}

.fin-signup-form .fin-login-security-note {
    margin-top: 14px;
}

.fin-signup-form .fin-login-signup {
    margin-top: 19px;
}

.fin-signup-form .fin-login-support {
    margin-top: 10px;
}

.fin-signup-form .alert,
.fin-signup-form .auth-alert {
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.65;
    border-radius: 9px;
}

.fin-signup-input-wrap:has(input:invalid:focus) {
    border-color: #e5e7f1;
}

.fin-signup-input-wrap input:focus-visible,
.fin-signup-password-toggle:focus-visible {
    outline: 2px solid rgba(99,102,241,.35);
    outline-offset: 2px;
}

@media (max-width: 760px) {
    .fin-signup-content {
        max-width: 440px;
    }

    .fin-signup-welcome-icon {
        margin-bottom: 17px;
    }

    .fin-signup-field {
        margin-bottom: 16px;
    }

    .fin-signup-input-wrap {
        min-height: 51px;
    }

    .fin-signup-input-wrap input {
        height: 49px;
    }
}

@media (max-width: 380px) {
    .fin-signup-field > label {
        font-size: 10px;
    }

    .fin-signup-input-wrap input {
        font-size: 10px;
    }

    .fin-signup-password-hint {
        font-size: 9px;
    }
}
/* ==========================================
   FORGOT PASSWORD PAGE
   ========================================== */

.fin-forgot-content {
    width: 100%;
    max-width: 390px;
    margin: auto;
}

.fin-forgot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    margin-bottom: 23px;
    color: var(--fin-primary);
    font-size: 21px;
    border: 1px solid #e9e8ff;
    border-radius: 15px;
    background: linear-gradient(145deg, #f4f3ff, #eeedff);
}

.fin-forgot-form {
    width: 100%;
    margin: 0;
}

.fin-forgot-field {
    margin-bottom: 22px;
}

.fin-forgot-field > label {
    display: block;
    margin: 0 0 9px;
    color: #282b46;
    font-size: 11px;
    font-weight: 700;
}

.fin-forgot-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 53px;
    border: 1px solid #e5e7f1;
    border-radius: 11px;
    background: #fbfbfe;
    transition: border-color .2s ease, box-shadow .2s ease,
                background .2s ease;
}

.fin-forgot-input-wrap:focus-within {
    border-color: var(--fin-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99,102,241,.09);
}

.fin-forgot-input-wrap > i {
    position: absolute;
    left: 15px;
    color: #8d92ab;
    font-size: 16px;
    pointer-events: none;
}

.fin-forgot-input-wrap input {
    width: 100%;
    min-width: 0;
    height: 51px;
    margin: 0;
    padding: 0 15px 0 44px;
    color: #262844;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    border: 0;
    outline: none;
    border-radius: inherit;
    background: transparent;
    box-shadow: none;
}

.fin-forgot-input-wrap input::placeholder {
    color: #a5a9bc;
    opacity: 1;
}

.fin-forgot-input-wrap input:focus {
    border: 0;
    outline: none;
    box-shadow: none;
}

.fin-forgot-error {
    display: block;
    margin-top: 7px;
    color: #dc3545;
    font-size: 10px;
    line-height: 1.6;
}

.fin-forgot-form .alert,
.fin-forgot-form .auth-alert {
    margin-bottom: 15px;
    font-size: 11px;
    line-height: 1.65;
    border-radius: 9px;
}

.fin-forgot-form .fin-login-submit {
    margin-top: 4px;
}

.fin-forgot-security-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #9296aa;
    font-size: 10px;
    line-height: 1.7;
    text-align: center;
}

.fin-forgot-security-note > i {
    margin-top: 1px;
    color: #1fa878;
    font-size: 14px;
}

.fin-forgot-back {
    display: flex;
    justify-content: center;
    margin-top: 29px;
}

.fin-forgot-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 14px;
    color: #575b78;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #e8e9f4;
    border-radius: 10px;
    background: #fafaff;
    transition: color .2s ease, border-color .2s ease,
                background .2s ease;
}

.fin-forgot-back-link:hover {
    color: var(--fin-primary-dark);
    border-color: #d8d6ff;
    background: #f3f2ff;
}

.fin-forgot-back-link i {
    font-size: 12px;
}

.fin-forgot-support {
    margin-top: 22px;
    color: #969aaf;
    font-size: 10px;
    text-align: center;
}

.fin-forgot-support a {
    color: var(--fin-primary-dark);
    font-weight: 700;
}

.fin-forgot-support a:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .fin-forgot-content {
        max-width: 440px;
    }

    .fin-forgot-icon {
        margin-bottom: 19px;
    }

    .fin-forgot-back {
        margin-top: 25px;
    }
}

/* ================================
   PeSecure OTP Verification
================================ */

.fin-otp-content {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    color: var(--fin-ink, #191b38);
}

.fin-otp-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 19px;
    color: #6366f1;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 1px solid #dfe3ff;
    font-size: 25px;
}

.fin-otp-description {
    margin: 12px 0 18px;
    color: var(--fin-muted, #7b8099);
    font-size: 14px;
    line-height: 1.8;
}

.fin-otp-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #e3e6fb;
    border-radius: 13px;
    background: #f7f8ff;
    color: #393d69;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.fin-otp-email-icon {
    color: #6366f1;
    flex-shrink: 0;
}

.fin-otp-pin-note {
    margin: 14px 0 28px;
    color: var(--fin-muted, #7b8099);
    font-size: 13px;
    line-height: 1.7;
}

.fin-otp-label {
    display: block;
    margin-bottom: 14px;
    color: #30334f;
    font-size: 14px;
    font-weight: 600;
}

.fin-otp-input-group {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}

.fin-otp-input {
    width: 62px;
    height: 66px;
    padding: 0;
    border: 1px solid #dfe2f0;
    border-radius: 14px;
    outline: none;
    background: #fff;
    color: #292b59;
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    transition: border-color .2s ease,
                box-shadow .2s ease,
                background .2s ease;
}

.fin-otp-input:hover {
    border-color: #a5b4fc;
}

.fin-otp-input:focus {
    border-color: #6366f1;
    background: #fafaff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
}

.fin-otp-input.is-filled {
    border-color: #a5b4fc;
    background: #f8f8ff;
}

.fin-otp-alert {
    margin-bottom: 12px;
}

.fin-otp-submit {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: none;
    border-radius: 13px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(79, 70, 229, .20);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.fin-otp-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 25px rgba(79, 70, 229, .28);
}

.fin-otp-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

.fin-otp-resend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 27px;
    color: var(--fin-muted, #7b8099);
    font-size: 13px;
}

.fin-otp-resend-link {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
}

.fin-otp-resend-link:hover {
    color: #3730a3;
    text-decoration: underline;
}

.fin-otp-security {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 28px;
    padding-top: 19px;
    border-top: 1px solid #eceef6;
    color: #8589a0;
    font-size: 12px;
}

.fin-otp-security i {
    color: #16a34a;
}

@media (max-width: 480px) {
    .fin-otp-content {
        max-width: 100%;
    }

    .fin-otp-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 20px;
        border-radius: 16px;
        font-size: 22px;
    }

    .fin-otp-input-group {
        gap: 10px;
    }

    .fin-otp-input {
        width: min(17vw, 58px);
        height: 58px;
        border-radius: 12px;
        font-size: 23px;
    }

    .fin-otp-resend {
        line-height: 1.8;
    }
}