:root {
    --auth-forgot-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
    --auth-forgot-border: #e9eaf3;
    --auth-forgot-text: #1f2937;
    --auth-forgot-muted: #7b8092;
    --auth-forgot-surface: rgba(255, 255, 255, 0.96);
}

.auth-forgot-page {
    min-height: 100vh;
}

.auth-forgot-wrap,
.auth-forgot-row {
    min-height: 100vh;
}

.auth-forgot-panel-col {
    padding: 32px 20px;
}

.auth-forgot-card {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    background: var(--auth-forgot-surface);
    border-radius: 36px;
    box-shadow: var(--auth-forgot-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
}

.auth-forgot-card__inner {
    width: 100%;
    padding: 44px 38px;
}

.auth-forgot-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 34px;
    color: var(--auth-forgot-text);
}

.auth-forgot-brand__logo {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(97, 78, 250, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-forgot-brand__name {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-forgot-header {
    margin-bottom: 30px;
}

.auth-forgot-header h1 {
    margin-bottom: 10px;
    color: var(--auth-forgot-text);
    font-size: 2.2rem;
    font-weight: 700;
}

.auth-forgot-header p,
.auth-forgot-otp-head p,
.auth-forgot-otp-note {
    margin-bottom: 0;
    color: var(--auth-forgot-muted) !important;
    font-size: 1rem;
    line-height: 1.9;
}

.auth-forgot-otp-head h2 {
    color: var(--auth-forgot-text);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-forgot-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
}

.auth-forgot-field__icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8f96ab;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.auth-forgot-input {
    height: 58px;
    border-radius: 18px;
    border: 1px solid var(--auth-forgot-border);
    background: #fff;
    color: var(--auth-forgot-text);
    padding: 12px 50px 12px 52px;
    font-size: 0.97rem;
    text-align: right;
    box-shadow: none !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.auth-forgot-input::placeholder {
    color: #9aa1b4;
}

.auth-forgot-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(97, 78, 250, 0.12) !important;
}

.auth-forgot-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--auth-forgot-muted);
    margin-top: 4px;
}

.auth-forgot-signin-hint,
.auth-forgot-signin-hint a,
.auth-forgot-back-btn {
    font-size: 0.95rem;
}

.auth-forgot-signin-hint {
    color: var(--auth-forgot-muted);
}

.auth-forgot-signin-hint a {
    color: var(--primary);
    font-weight: 700;
}

.auth-forgot-signin-hint a:hover,
.auth-forgot-back-btn:hover {
    color: var(--primary);
    text-decoration: none;
}

.auth-forgot-btn {
    width: 100%;
    min-height: 58px;
    border-radius: 18px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.auth-forgot-btn:hover {
    transform: translateY(-1px);
}

.auth-forgot-btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 18px 30px rgba(97, 78, 250, 0.28);
}

.auth-forgot-btn--primary:hover,
.auth-forgot-btn--primary:focus {
    color: #fff;
}

.auth-forgot-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.auth-forgot-otp-section {
    animation: authForgotFade 0.35s ease;
}

.auth-forgot-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    direction: ltr;
    margin: 28px 0 8px;
}

.auth-forgot-otp-digit {
    width: 52px;
    height: 60px;
    border-radius: 18px;
    border: 1px solid var(--auth-forgot-border);
    background: #fff;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--auth-forgot-text);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.auth-forgot-otp-digit:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(97, 78, 250, 0.12);
    transform: translateY(-1px);
}

.auth-forgot-otp-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.auth-forgot-back-btn {
    border: 0;
    background: transparent;
    color: var(--auth-forgot-muted);
    font-weight: 600;
    padding: 6px 0 0;
}

.login-register-bg {
    background-image: url(/html/authentication/photos/login-signup-photo.png);
    filter: grayscale(20%) brightness(90%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes authForgotFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199px) {
    .auth-forgot-card {
        border-radius: 30px;
    }
}

@media (max-width: 991px) {

    .auth-forgot-wrap,
    .auth-forgot-row {
        min-height: auto;
    }

    .auth-forgot-panel-col {
        padding: 22px 16px 30px;
    }

    .auth-forgot-card {
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .auth-forgot-card {
        border-radius: 24px;
    }

    .auth-forgot-card__inner {
        padding: 32px 20px 26px;
    }

    .auth-forgot-brand {
        margin-bottom: 24px;
    }

    .auth-forgot-brand__name {
        font-size: 1.6rem;
    }

    .auth-forgot-otp-inputs {
        gap: 8px;
    }

    .auth-forgot-otp-digit {
        width: 44px;
        height: 54px;
        border-radius: 15px;
        font-size: 1.15rem;
    }
}