/**
 * Forexchi — فقط رفع باگ‌های صفحه login/otp (بدون ریدیزاین).
 */
.login-section-shell.banner-two.section {
    display: flex;
    align-items: center;
    padding-bottom: 80px;
}

.login-section-shell .container {
    width: 100%;
}

.login-section-shell .login__form-wrap {
    max-width: 440px;
    padding: 26px 28px 30px;
    margin-inline: auto;
}

.login-section-shell .login__form-wrap .header-one__logo {
    display: block !important;
    margin-inline: auto !important;
    margin-bottom: 0.75rem !important;
}

.login-section-shell .login__form-wrap .header-one__logo img {
    display: block;
    margin-inline: auto;
    max-width: 132px;
    width: 100%;
    height: auto;
}

.login-section-shell .login__form-wrap .common-form-box .form-title {
    margin-bottom: 18px !important;
    padding-bottom: 18px !important;
}

.login-section-shell .login__form-wrap .common-form-box > p.mb-4 {
    margin-bottom: 1.25rem !important;
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .login-section-shell .login__form-wrap {
        max-width: calc(100% - 24px);
        padding: 22px 20px 26px;
    }

    .login-section-shell .login__form-wrap .header-one__logo img {
        max-width: 118px;
    }
}

.login-section-shell .banner-two__wrapper {
    position: relative;
}

.login-section-shell .row,
.login-section-shell .login__form-wrap {
    position: relative;
    z-index: 4;
}

.login-section-shell .banner-graph,
.login-section-shell .toots-shape {
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 1200px) {
    .login-section-shell .banner-graph-1 {
        left: calc((100% - 440px) / 2 - 270px) !important;
        bottom: 38% !important;
        width: 230px;
        height: auto;
    }

    .login-section-shell .banner-graph-2 {
        left: calc((100% - 440px) / 2 - 250px) !important;
        bottom: 18% !important;
        width: 260px;
        height: auto;
    }
}

@media (max-width: 1199.98px) {
    .login-section-shell .banner-graph {
        opacity: 0 !important;
        visibility: hidden;
    }
}

.login-section-shell .login__form-wrap .input-group {
    direction: rtl;
    text-align: right;
}

.login-section-shell .login__form-wrap .input-group label {
    display: block;
    width: 100%;
    text-align: right;
}

.login-section-shell .login__form-wrap .input-group input[type="tel"],
.login-section-shell .login__form-wrap .input-group input[type="text"] {
    direction: ltr;
    text-align: left;
    background: #f0f2f1 !important;
    color: #062a1b !important;
    border: 1px solid rgba(5, 122, 73, 0.18) !important;
}

.login-section-shell .login__form-wrap .input-group input::placeholder {
    color: rgba(6, 42, 27, 0.45) !important;
}

.login-section-shell .login__form-wrap .input-group input:focus {
    background: #fff !important;
    border-color: var(--primary-color, #057a49) !important;
}

.login-section-shell .login__form-wrap .form-info-wrap .saaslyn-1-btn {
    width: 100%;
    background: #057a49 !important;
    background-image: none !important;
    color: #fff !important;
    opacity: 1 !important;
    transform: none !important;
    border-radius: 19px;
}

.login-section-shell .login__form-wrap .form-info-wrap .saaslyn-1-btn::before {
    display: none !important;
}

.login-section-shell .login__form-wrap .form-info-wrap .saaslyn-1-btn:hover {
    background: #04432a !important;
    transform: none !important;
    color: #fff !important;
}

.login-section-shell .login__form-wrap .fx-login-terms,
.login-section-shell .login__form-wrap .form-info-wrap .fx-login-terms {
    text-align: center;
    font-size: 0.8125rem;
    line-height: 1.75;
    margin-top: 1rem !important;
    margin-bottom: 0.75rem !important;
}

.login-section-shell .login__form-wrap .fx-login-terms a,
.login-section-shell .login__form-wrap .form-info-wrap .fx-login-terms a {
    font-size: inherit;
}

.login-section-shell .fx-login-tabs {
    display: flex;
    gap: 6px;
    padding: 5px;
    margin: 0 auto 18px;
    max-width: 100%;
    border-radius: 14px;
    background: #eef3f0;
    border: 1px solid rgba(5, 122, 73, 0.12);
}

.login-section-shell .fx-login-tabs__btn {
    flex: 1;
    border: none;
    background: transparent;
    color: #4a5c52;
    font-family: "Yekan Bakh VF", sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 10px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.login-section-shell .fx-login-tabs__btn.is-active {
    background: #fff;
    color: #04432a;
    box-shadow: 0 4px 14px -8px rgba(4, 67, 42, 0.45);
}

.login-section-shell .fx-login-panel {
    display: none;
    text-align: center;
}

.login-section-shell .fx-login-panel.is-active {
    display: block;
}

.login-section-shell .fx-login-panel__lead {
    font-size: 0.9rem;
    color: #5c6b63;
    line-height: 1.75;
}

.login-section-shell .login__form-wrap .input-group input[type="password"],
.login-section-shell .login__form-wrap .input-group input[name="username"] {
    direction: ltr;
    text-align: left;
    background: #f0f2f1 !important;
    color: #062a1b !important;
    border: 1px solid rgba(5, 122, 73, 0.18) !important;
}

/* OTP page — only the 6 boxes visible */
.login-section-shell .otp-hidden-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    background: transparent !important;
}

.login-section-shell .otp-grid {
    position: relative;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 100%;
    margin-inline: auto;
}

.login-section-shell .otp-grid .otp-input {
    width: 46px;
    height: 52px;
    margin: 0;
    flex: 0 0 46px;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    direction: ltr;
    color: #062a1b;
    background: #fff !important;
    border: 1px solid #c5d4cb !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-section-shell .otp-grid .otp-input:focus {
    border-color: #057a49 !important;
    box-shadow: 0 0 0 3px rgba(5, 122, 73, 0.14) !important;
    outline: none !important;
}

@media (max-width: 400px) {
    .login-section-shell .otp-grid .otp-input {
        width: 40px;
        height: 48px;
        flex-basis: 40px;
        font-size: 1.2rem;
    }

    .login-section-shell .otp-grid {
        gap: 6px;
    }
}
