.auth-v2 {
    --auth-accent: #07d7e9;
    --auth-blue: #0b67e9;
    --auth-link: #3167b1;
    --auth-text: #ffffff;
    --auth-muted: #667085;
    --auth-field: #e2e8f0;
    min-height: 100vh;
    background-image: var(--auth-bg-desktop);
    background-size: cover;
    background-position: center;
    font-family: Aptos, "Segoe UI", Tahoma, sans-serif;
    overflow: hidden;
    direction: ltr;
    position: relative;
}

.auth-v2 *,
.auth-v2 *:before,
.auth-v2 *:after {
    box-sizing: border-box;
}

.auth-v2--rtl {
    font-family: "Iranian Sans", Tahoma, "Segoe UI", sans-serif;
}

.auth-v2__stage {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas:
        "hero panel";
    gap: clamp(24px, 4.5vw, 80px);
    align-items: start;
    padding: clamp(34px, 5.2vw, 72px) clamp(64px, 6vw, 112px) 126px;
    direction: ltr;
}

.auth-v2--rtl .auth-v2__stage {
    grid-template-columns: minmax(360px, 480px) minmax(0, 1fr);
    grid-template-areas:
        "panel hero";
}

.auth-v2__hero {
    grid-area: hero;
    color: var(--auth-text);
    align-self: start;
    padding-top: clamp(40px, 7vh, 86px);
}

.auth-v2__wordmark {
    width: fit-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.1vw, 34px);
    margin-bottom: clamp(34px, 6vh, 58px);
}

.auth-v2__wordmark-icon {
    width: clamp(110px, 8vw, 168px);
    height: clamp(110px, 8vw, 168px);
    display: block;
    flex: 0 0 auto;
    background-image: url("/media/login-v2/logo-hero-icon.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.auth-v2__wordmark-text {
    color: #ffffff;
    font-size: clamp(36px, 3.15vw, 66px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: .08em;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(6, 16, 41, .36);
}

.auth-v2__wordmark-text strong {
    color: var(--auth-accent);
    font-weight: 400;
}

.auth-v2__hero-title {
    max-width: 1020px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 2vw, 52px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 2px 8px rgba(6, 16, 41, .45);
}

.auth-v2__hero-title strong {
    color: var(--auth-accent);
    font-weight: 800;
}

.auth-v2__hero-line {
    width: 112px;
    height: 4px;
    margin-top: 42px;
    background: var(--auth-accent);
    border-radius: 999px;
}

.auth-v2__panel {
    grid-area: panel;
    align-self: center;
    /* padding-top: clamp(52px, 7.2vh, 92px); */
}

.auth-v2__access-title {
    color: var(--auth-text);
    font-size: clamp(18px, 1vw, 29px);
    line-height: 1.18;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 0 10px rgba(7, 215, 233, .6);
    margin: 0 0 26px;
}

.auth-v2__card {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 3.2vw, 44px) clamp(30px, 3.3vw, 48px);
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(226, 232, 240, .86);
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .18);
}

.auth-v2__brand {
    text-align: center;
    margin-bottom: 28px;
}

.auth-v2__brand-mark {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 4px 5px rgba(15, 23, 42, .22));
    margin-bottom: 16px;
}

.auth-v2__brand-name {
    width: 190px;
    max-width: 70%;
    display: block;
    margin: 0 auto 8px;
}

.auth-v2__card-logo {
    width: min(220px, 62%);
    display: block;
    margin: 0 auto 12px;
    filter: drop-shadow(0 10px 14px rgba(15, 23, 42, .14));
}

.auth-v2__card-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.auth-v2__card-brand-icon {
    width: 86px;
    height: 86px;
    display: block;
    background-image: url("/media/login-v2/logo-card-icon.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: drop-shadow(0 8px 8px rgba(15, 23, 42, .22));
}

.auth-v2__card-brand-name {
    color: #565b65;
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .04em;
}

.auth-v2__card-brand-name strong {
    color: var(--auth-accent);
    font-weight: 500;
}

.auth-v2__brand-title {
    color: #101828;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 800;
    margin: 0 0 8px;
}

.auth-v2__brand-subtitle {
    color: #667085;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.auth-v2__form,
.auth-v2__card > form {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.auth-v2__card > form + form,
.auth-v2__card > div + form {
    margin-top: 18px;
}

.auth-v2 .form-control {
    height: 48px;
    border: 1px solid var(--auth-field);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .78) !important;
    color: #344054;
    font-size: 15px;
    box-shadow: none;
}

.auth-v2 .form-control:focus {
    border-color: rgba(7, 215, 233, .65);
    box-shadow: 0 0 0 3px rgba(7, 215, 233, .12);
}

.auth-v2__field {
    position: relative;
}

.auth-v2__field-icon {
    position: absolute;
    top: 50%;
    inset-inline-start: 16px;
    transform: translateY(-50%);
    color: #667085;
    z-index: 2;
    pointer-events: none;
}

.auth-v2__field .form-control {
    padding-inline-start: 46px;
}

.auth-v2__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 4px 0 22px;
    color: #475467;
    font-size: 13px;
    font-weight: 700;
}

.auth-v2__forgot {
    color: var(--auth-link);
    font-weight: 800;
    text-decoration: none;
}

.auth-v2__forgot:hover {
    color: var(--auth-blue);
}

.auth-v2 .btn {
    min-height: 48px;
    border-radius: 8px;
    font-weight: 800;
}

.auth-v2 .btn-primary {
    background: #0969ee;
    border-color: #0969ee;
}

.auth-v2 .btn.btn-success {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #48d7c4 !important;
    background: #ffffff !important;
    border: 2px solid #48d7c4 !important;
    box-shadow: none;
}

.auth-v2 .btn.btn-success .indicator-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    color: inherit;
}

.auth-v2 .btn.btn-success .indicator-progress {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    color: inherit;
}

.auth-v2 .btn.btn-success .indicator-label::before {
    content: "\f3cd";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
}

.auth-v2 .btn.btn-success[data-kt-indicator="on"] .indicator-label {
    display: none;
}

.auth-v2 .btn.btn-success[data-kt-indicator="on"] .indicator-progress {
    display: inline-flex;
}

.auth-v2 .btn.btn-success:hover:not(.btn-active),
.auth-v2 .btn.btn-success:focus:not(.btn-active),
.auth-v2 .btn.btn-success:active:not(.btn-active) {
    color: #48d7c4 !important;
    background: #ffffff !important;
    border-color: #48d7c4 !important;
}

.auth-v2__divider {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #98a2b3;
    font-weight: 800;
    margin: 20px 0;
}

.auth-v2__divider:before,
.auth-v2__divider:after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e4e7ec;
}

.auth-v2__links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 10px;
}

.auth-v2__links + .auth-v2__links {
    margin-top: 18px;
}

.auth-v2__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--auth-link);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.auth-v2__policies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-top: 22px;
    text-shadow: 0 2px 8px rgba(15, 23, 42, .45);
}

.auth-v2__policies a,
.auth-v2__policy-button {
    padding: 0;
    color: #ffffff !important;
    font: inherit;
    line-height: inherit;
    text-decoration: none;
    background: transparent;
    border: 0;
    text-shadow: inherit;
}

.auth-v2__policies a:hover,
.auth-v2__policy-button:hover {
    color: #ffffff !important;
}

.auth-v2__secure {
    grid-area: secure;
    width: min(1360px, 74vw);
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 2px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 16px 42px;
    color: #ffffff;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 999px;
    box-shadow: inset 0 0 18px rgba(255, 255, 255, .18), 0 14px 44px rgba(15, 23, 42, .18);
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(15, 23, 42, .5);
}

.auth-v2--rtl .auth-v2__hero,
.auth-v2--rtl .auth-v2__panel,
.auth-v2--rtl .auth-v2__secure {
    direction: rtl;
}

.auth-v2--rtl .auth-v2__wordmark {
    flex-direction: row;
    margin-inline-end: auto;
}

.auth-v2--rtl .auth-v2__hero-title {
    margin-inline-end: auto;
    text-align: right;
}

.auth-v2--rtl .auth-v2__hero-line {
    margin-inline-end: auto;
}

.auth-v2__secure img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.auth-v2__secure-separator {
    width: 2px;
    height: 48px;
    background: var(--auth-accent);
}

.auth-v2__customer-box {
    background: #f5f8fb;
    padding: 24px;
    margin-inline: -24px;
}

.auth-v2--customer .auth-v2__brand-name {
    width: 230px;
}

.auth-v2 .iti {
    display: block;
    width: 100%;
}

.auth-v2 .iti .form-control {
    width: 100%;
}

@media (min-width: 1200px) and (max-width: 1399.98px), (min-width: 1200px) and (max-height: 820px) {
    .auth-v2__stage {
        padding-top: 34px;
        padding-bottom: 96px;
        gap: 36px;
    }

    .auth-v2__hero {
        padding-top: 30px;
    }

    .auth-v2__wordmark {
        margin-bottom: 34px;
    }

    .auth-v2__wordmark-icon {
        width: 112px;
        height: 112px;
    }

    .auth-v2__wordmark-text {
        font-size: 44px;
    }

    .auth-v2__hero-title {
        font-size: 38px;
    }

    .auth-v2__hero-line {
        margin-top: 30px;
    }

    .auth-v2__panel {
        padding-top: 18px;
    }

    .auth-v2__access-title {
        margin-bottom: 18px;
        font-size: 20px;
    }

    .auth-v2__card {
        padding: 28px 42px;
    }

    .auth-v2__card-brand-icon {
        width: 70px;
        height: 70px;
    }

    .auth-v2__card-brand-name {
        font-size: 24px;
    }

    .auth-v2__brand {
        margin-bottom: 20px;
    }

    .auth-v2 .form-control {
        height: 44px;
    }

    .auth-v2 .btn {
        min-height: 44px;
    }

    .auth-v2__divider {
        margin: 14px 0;
    }

    .auth-v2__links {
        padding-top: 18px;
    }

    .auth-v2__secure {
        bottom: 14px;
        padding: 12px 34px;
    }
}

@media (max-width: 1199.98px) {
    .auth-v2__stage,
    .auth-v2--rtl .auth-v2__stage {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "hero"
            "panel"
            "secure";
        gap: 30px;
        padding: 60px clamp(24px, 6vw, 72px) 34px;
        overflow-y: auto;
    }

    .auth-v2 {
        min-height: 100dvh;
        background-image: var(--auth-bg-mobile);
        overflow-x: hidden;
        overflow-y: auto;
    }

    .auth-v2__hero {
        padding-top: 0;
    }

    .auth-v2__wordmark {
        gap: 24px;
        margin-bottom: 34px;
    }

    .auth-v2__wordmark-icon {
        width: clamp(96px, 15vw, 150px);
        height: clamp(96px, 15vw, 150px);
    }

    .auth-v2__wordmark-text {
        font-size: clamp(34px, 6vw, 58px);
    }

    .auth-v2__hero-title {
        max-width: 760px;
        font-size: clamp(34px, 7vw, 54px);
    }

    .auth-v2__panel {
        width: min(690px, 100%);
        justify-self: center;
    }

    .auth-v2__card {
        min-height: auto;
        padding: clamp(34px, 7vw, 58px) clamp(28px, 7vw, 54px);
    }

    .auth-v2__secure {
        width: min(920px, 100%);
        position: static;
        transform: none;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        row-gap: 14px;
        border-radius: 28px;
        padding: 18px 28px;
    }

    .auth-v2__secure-separator {
        display: none;
    }

    .auth-v2__secure img {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-self: center;
    }

    .auth-v2__secure-text {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        text-align: center;
        padding-inline: 56px;
    }

    .auth-v2--rtl .auth-v2__secure img {
        grid-column: 1;
        justify-self: end;
    }

    .auth-v2__copyright {
        grid-column: 1 / -1;
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 0;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, .22);
    }
}

@media (max-width: 575.98px) {
    .auth-v2__stage,
    .auth-v2--rtl .auth-v2__stage {
        padding: 38px 18px 24px;
        gap: 24px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .auth-v2__hero {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
        text-align: left;
    }

    .auth-v2__hero-title {
        width: min(100%, 340px);
        max-width: calc(100vw - 36px);
        font-size: clamp(19px, 5.4vw, 30px);
        line-height: 1.18;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        margin-inline: 0 auto !important;
        overflow-wrap: break-word;
    }

    .auth-v2--rtl .auth-v2__hero {
        text-align: right;
    }

    .auth-v2--rtl .auth-v2__hero-title {
        text-align: right !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        margin-inline: auto 0 !important;
    }

    .auth-v2__wordmark {
        width: 100%;
        max-width: calc(100vw - 36px);
        justify-content: flex-start;
        gap: 12px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline: 0 !important;
        margin-bottom: 28px;
    }

    .auth-v2--rtl .auth-v2__wordmark {
        justify-content: flex-end;
    }

    .auth-v2__wordmark-icon {
        width: clamp(74px, 22vw, 90px);
        height: clamp(74px, 22vw, 90px);
    }

    .auth-v2__wordmark-text {
        font-size: clamp(24px, 7.2vw, 30px);
        letter-spacing: .06em;
    }

    .auth-v2__hero-line {
        margin-top: 28px;
        margin-left: 0 !important;
        margin-right: auto !important;
        margin-inline: 0 auto !important;
    }

    .auth-v2--rtl .auth-v2__hero-line {
        margin-left: auto !important;
        margin-right: 0 !important;
        margin-inline: auto 0 !important;
    }

    .auth-v2__access-title {
        display: none;
    }

    .auth-v2__card {
        border-radius: 14px;
        padding: 30px 22px;
    }

    .auth-v2__brand {
        margin-bottom: 28px;
    }

    .auth-v2__brand-mark {
        width: 58px;
        height: 58px;
    }

    .auth-v2__brand-name {
        width: 160px;
    }

    .auth-v2__card-logo {
        width: min(190px, 68%);
    }

    .auth-v2__card-brand-icon {
        width: 76px;
        height: 76px;
    }

    .auth-v2__card-brand-name {
        font-size: 24px;
    }

    .auth-v2__links {
        padding-top: 26px;
    }

    .auth-v2__policies {
        flex-wrap: wrap;
        font-size: 13px;
        gap: 6px;
    }

    .auth-v2__secure {
        font-size: 14px;
        width: 100%;
        max-width: 100%;
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        padding: 16px 18px;
    }

    .auth-v2__secure img {
        width: 38px;
        height: 38px;
    }

    .auth-v2__secure-text {
        padding-inline: 44px;
    }

    .auth-v2__customer-box {
        margin-inline: -12px;
        padding: 18px 12px;
    }
}
