@font-face {
    font-family: "Vazirmatn";
    src: url("/landing/assets/fonts/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("/landing/assets/fonts/Vazirmatn-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("/landing/assets/fonts/Vazirmatn-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

.auth-page {
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    font-family: "Vazirmatn", sans-serif !important;
    background: #f4f8fc !important;
}

.auth-header {
    position: relative;
    z-index: 20;
    background: #062a55;
    color: #fff;
    box-shadow: 0 4px 18px rgba(5, 33, 68, .15);
}

.auth-header__inner {
    width: min(1380px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 38px;
}

.auth-logo {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.auth-logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.auth-logo span {
    display: flex;
    flex-direction: column;
}

.auth-logo strong {
    direction: ltr;
    font-size: 21px;
}

.auth-logo small {
    margin-top: 2px;
    font-size: 10px;
    opacity: .82;
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.auth-nav a,
.auth-back {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.auth-nav a:hover,
.auth-back:hover {
    color: #ff8a1d;
}

.auth-back {
    margin-right: auto;
    white-space: nowrap;
}

.auth-main {
    position: relative;
    flex: 1;
    min-height: 620px;
    padding: 42px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-main > .card {
    position: relative;
    z-index: 2;
    margin: 0 !important;
}

.auth-footer {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #062a55, #031d3d);
    color: #fff;
}

.auth-footer__inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 32px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
}

.auth-footer h3 {
    margin: 0 0 12px;
    font-size: 15px;
}

.auth-footer p,
.auth-footer a {
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 2;
    text-decoration: none;
}

.auth-footer__links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 2px 24px;
}

.auth-footer__bottom {
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    color: rgba(255,255,255,.68);
    font-size: 12px;
}

@media (min-width: 900px) {
    .auth-main {
        background:
            linear-gradient(rgba(245,249,253,.12), rgba(245,249,253,.12)),
            url("/landing/assets/images/auth-bg.webp")
            center center / cover no-repeat;
    }
}

@media (max-width: 899px) {
    .auth-header__inner {
        min-height: 68px;
    }

    .auth-logo img {
        width: 43px;
        height: 43px;
    }

    .auth-logo strong {
        font-size: 18px;
    }

    .auth-nav,
    .auth-back,
    .auth-logo small {
        display: none;
    }

    .auth-main {
        min-height: auto;
        padding: 24px 16px;
        background: #f4f8fc;
        align-items: flex-start;
    }

    .auth-footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 26px 0;
    }
}


/* AUTH COMPACT FOOTER START */

.auth-main {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

.auth-footer__inner {
    width: min(1280px, calc(100% - 40px));
    padding: 20px 0 16px;
    grid-template-columns: 1.5fr auto auto;
    align-items: start;
    gap: 50px;
}

.auth-footer h3 {
    margin: 0 0 7px;
    font-size: 14px;
}

.auth-footer p,
.auth-footer a {
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
}

.auth-footer__links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.auth-footer__bottom {
    padding: 9px 20px;
    font-size: 11px;
}

@media (max-width: 899px) {
    .auth-main {
        padding: 20px 14px;
    }

    .auth-footer__inner {
        width: calc(100% - 32px);
        padding: 18px 0 14px;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .auth-footer__inner section {
        width: 100%;
    }

    .auth-footer h3 {
        margin-bottom: 5px;
        font-size: 13px;
    }

    .auth-footer p,
    .auth-footer a {
        font-size: 11px;
        line-height: 1.7;
    }

    .auth-footer__links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .auth-footer__bottom {
        padding: 8px 12px;
        font-size: 10px;
    }
}

/* AUTH COMPACT FOOTER END */

/* AUTH MINIMAL SHELL START */

.auth-header__inner {
    min-height: 66px;
}

.auth-logo img {
    width: 46px;
    height: 46px;
}

.auth-logo strong {
    font-size: 19px;
}

.auth-logo small {
    font-size: 9px;
}

.auth-main {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 24px;
}

.auth-footer__compact {
    width: min(1280px, calc(100% - 40px));
    min-height: 62px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.auth-footer__nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.auth-footer__nav a {
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.auth-footer__nav a:hover {
    color: #ff8a1d;
}

.auth-footer__email {
    direction: ltr;
}

.auth-footer__copyright {
    color: rgba(255, 255, 255, .64);
    font-size: 11px;
    white-space: nowrap;
}

@media (max-width: 899px) {
    .auth-header__inner {
        min-height: 58px;
        width: calc(100% - 24px);
    }

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

    .auth-logo strong {
        font-size: 17px;
    }

    .auth-main {
        padding: 16px 12px;
    }

    .auth-footer__compact {
        width: calc(100% - 28px);
        min-height: auto;
        padding: 13px 0 10px;
        flex-direction: column;
        justify-content: center;
        gap: 9px;
    }

    .auth-footer__nav {
        justify-content: center;
        gap: 5px 16px;
    }

    .auth-footer__nav a {
        font-size: 11px;
    }

    .auth-footer__copyright {
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, .10);
        font-size: 10px;
        white-space: normal;
        text-align: center;
    }
}

/* AUTH MINIMAL SHELL END */
