:root {
    --main-color: #4e06fe;
    --main-color-opacity: 126, 86, 255;
    --main-gradient: linear-gradient(-20deg, #3178a7 0%, #43376e 100%);
    --heading-color: #1b1c1d;
    --paragraph-color: #707070;
    --dark-theme-color: #252c32;
    --dark-theme-body-color: #000718d9;
    --dark-secondary-color: rgb(30 41 59/1);
    --dark-card-header: rgb(48, 55, 66);
    --theme-color: #29aae1
}

*:fullscreen *:-ms-fullscreen,
*:-webkit-full-screen,
*:-moz-full-screen {
    overflow: auto !important;
}

a {
    text-decoration: none !important;
}

body {
    margin: 0;
    font-family: "Vazirmatn", sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: left;
    background-color: #fff;
    overflow-x: hidden;
}
.container-fluid {
    max-width: 1440px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.over-text2 {
    position: absolute;
    top: 31%;
    left: 49%;
    color: var(--blue-color-normal, #3bb2fb);
    font-family: DM Sans;
    font-size: 80px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition: 0.5s ease-in-out;
}

.loginCard {
    top: 15%;
    flex-shrink: 0;
    border-radius: 40px;
    background: #fff;
    box-shadow: 0px 4px 35px 0px rgba(0, 0, 0, 0.08);
}

.bottom-text {
    color: var(--green-green-08, #678292);
    text-align: center;
    font-family: DM Sans;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 775px;
    margin: 26px 130px;
    bottom: 4%;
    position: absolute;
    text-shadow: 0px 0px 2px rgba(255, 249, 249, 1);
}

.login-section .page-content {
    margin-top: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.login-section .card {
    max-width: 540px;
    border-radius: 30px !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 40px 22px;
}

.login-section .pageTitle {
    color: var(--category-card-text, #284d65);
    font-family: DM Sans;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.login-section input::placeholder {
    font-size: 14px !important;
}

.signin-heading {
    color: #153e58;
    font-family: DM Sans;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.form-control {
    padding: 15px 10px;
    color: var(--bs-body-color);
    background-color: var(--bs-form-control-bg);
    background-clip: padding-box;
    border-radius: 9px;
    border: 1px solid var(--blue-color-normal, #3bb2fb);
    background: #fff;
}

.forgotbox > a {
    color: var(--blue-color-normal-active, #2f8ec9);
    font-family: DM Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: right;
    display: block;
}
.eye {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
}

.loginButton {
    width: 100%;
    height: 54px;
    flex-shrink: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--blue-color-normal, #3bb2fb);
    box-shadow: 0px 4px 19px 0px rgba(119, 147, 65, 0.3);
    font-family: DM Sans;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.loginButton:hover {
    border: 1px solid #3bb2fb;
    /* background: #2d0eb9; */
    color: var(--green-green-13, #153e58);
}

.smallBox {
    width: 20px;
    height: 1px;
    background: #000;
}

.shotbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 20px 0;
}

.btn-primary {
    --bs-btn-bg: #3bb2fb;
    --bs-btn-border-color: #3bb2fb;
    margin-right: 8px;
}

.login-section {
    height: 100vh;
    max-width: 1700px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.loginCard {
    position: absolute;
    padding: 25px 25px;
    border-radius: 40px;
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
    box-shadow: 0px 4px 35px 0px rgba(0, 0, 0, 0.08);
}

.loging-bg {
    width: 595px;
    height: 595px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    left: 10%;
}

.leftSection {
    max-width: 1100px;
    max-height: 634px;
    position: relative;
    overflow: hidden;
}

.hoverContent > .credit-card {
    position: absolute;
    left: -14%;
    top: 20%;
}

.hoverContent > .frame {
    position: absolute;
    left: 20%;
    top: -1%;
    transform: rotate(5deg);
    transition: 0.5s ease-in-out;
}

.hoverContent > .cart {
    position: absolute;
    left: 73%;
    top: 8%;
    transition: 0.5s ease-in-out;
}

.hoverContent > .shoping {
    position: absolute;
    left: 46%;
    bottom: 12%;
    transition: 0.5s ease-in-out;
}

.hoverContent {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 15%;
    transform: translateY(-52%);
    border-radius: 50%;
}

.over-text1 {
    position: absolute;
    top: 26%;
    left: 24%;
    color: #2c86bc;
    font-family: Didact Gothic;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 6px;
}

.hoverContent:hover .cart {
    transform: scale(1.1);
    top: 6%;
}

.hoverContent:hover .frame {
    transform: scale(1.1);
    top: -5%;
}

.hoverContent:hover .shoping {
    transform: scale(1.1);
    bottom: 10%;
}

.hoverContent:hover .over-text2 {
    transform: scale(1.1);
    left: 52%;
}

.common-btn {
    background-color: var();
    --bs-btn-color: #fff;
    --bs-btn-bg: #29aae1;
    --bs-btn-border-color: #29aae1;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #4089f3;
    --bs-btn-hover-border-color: #4089f3;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
    margin-left: 5px;
}

.common-btn {
    background-color: var(--theme-color) !important;
    border: var(--theme-color) !important;
}

@media(min-width: 1024px) {
    .loginCard {
        width: 590px;
    }

    .logo-img > img {
        width: 200px;
    }
}

@media (max-width: 1440px) {
    .bottom-text {
        display: none;
    }
}

@media (max-width: 1024px) {
    .loginCard {
        width: 460px;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hoverContent {
        left: 20%;
    }

    .bottom-text {
        display: none;
    }

    .logo-img > img {
        width: 200px;
    }
}

@media (max-width: 640px) {
    .loginCard {
        position: unset !important;
        transform: none;
        margin: 40px auto;
    }

    .leftSection {
        display: none;
    }

    .login-section {
        background: url("{{ asset('login/assets/images/loginBG.png') }}");
        background-repeat: no-repeat;
        background-position: left center;
    }

    .form-control {
        padding: 10px;
    }

    .login-section .page-content {
        margin-bottom: 20px;
    }
    .signin-heading {
        font-size: 38px;
    }
    .loginButton {
        height: 46px;
    }
}

@media (max-width: 560px) {
    .loginCard {
        width: 360px;
    }

    .logo-img > img {
        width: 200px;
    }
}

@media (max-width: 375px) {
    .loginCard {
        width: 300px;
    }

    .logo-img > img {
        width: 150px;
    }
}

/* ==========================================================================
   Sign In page
   ========================================================================== */

body.signin-page {
    margin: 0;
    min-height: 100vh;
    background: #f4f5fa;
    color: #2b3350;
    overflow-x: hidden;
}

.signin-page .login-section.signin-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    height: auto;
    min-height: 100vh;
    max-width: none;
    background: none;
    margin: 0;
    padding: 0;
}

/* ----- Left visual panel ----- */
.signin-page .auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 4rem clamp(2rem, 5vw, 5rem);
    color: #ffffff;
    background: linear-gradient(160deg, #7183f8 0%, #6472f2 55%, #5b6ef0 100%);
}

.signin-page .auth-visual-content {
    position: relative;
    z-index: 2;
    max-width: 26rem;
    animation: auth-rise 0.6s ease both;
}

.signin-page .auth-visual-title {
    margin: 0 0 1.15rem;
    font-size: clamp(2.3rem, 3.8vw, 3.3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.signin-page .auth-visual-text {
    margin: 0;
    max-width: 22rem;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.signin-page .auth-shape {
    position: absolute;
    pointer-events: none;
}

.signin-page .auth-shape--circle {
    top: -48px;
    inset-inline-start: 26px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: #ffffff;
}

.signin-page .auth-shape--dots-top {
    top: 46px;
    inset-inline-start: 20px;
    width: 116px;
    height: 78px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.55) 2px, transparent 2px);
    background-size: 16px 16px;
}

.signin-page .auth-shape--bars {
    top: -14px;
    inset-inline-start: 150px;
    display: flex;
    gap: 14px;
}

.signin-page .auth-shape--bars span {
    display: block;
    width: 26px;
    height: 124px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
}

.signin-page .auth-shape--bars span:last-child {
    height: 98px;
    background: rgba(255, 255, 255, 0.18);
}

.signin-page .auth-shape--ring {
    top: 28px;
    inset-inline-start: 252px;
    width: 42px;
    height: 42px;
    border: 6px solid #ffffff;
    border-radius: 50%;
}

.signin-page .auth-shape--dot {
    top: 22px;
    inset-inline-start: 306px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4fd1c5;
}

.signin-page .auth-shape--dots-bottom {
    bottom: 48px;
    inset-inline-start: 26px;
    width: 112px;
    height: 86px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.42) 2px, transparent 2px);
    background-size: 16px 16px;
}

.signin-page .auth-shape--blob {
    bottom: 158px;
    inset-inline-start: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg, #86ece3 0%, #3fc7cf 100%);
}

.signin-page .auth-shape--x {
    bottom: 72px;
    inset-inline-start: 172px;
    width: 28px;
    height: 28px;
}

.signin-page .auth-shape--x::before,
.signin-page .auth-shape--x::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 28px;
    height: 5px;
    border-radius: 999px;
    background: #ffffff;
}

.signin-page .auth-shape--x::before {
    transform: rotate(45deg);
}

.signin-page .auth-shape--x::after {
    transform: rotate(-45deg);
}

.signin-page .auth-shape--arc {
    bottom: -110px;
    inset-inline-end: -30px;
    width: 300px;
    height: 300px;
    border: 10px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.signin-page .auth-shape--dome {
    bottom: -96px;
    inset-inline-end: 30px;
    width: 196px;
    height: 196px;
    border-radius: 50%;
    background: linear-gradient(180deg, #8bf0e5 0%, #48c6ef 100%);
}

/* ----- Right form panel ----- */
.signin-page .auth-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: #f4f5fa;
}

.signin-page .auth-version {
    position: absolute;
    top: 1.35rem;
    inset-inline-end: 1.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #a3aac2;
}

.signin-page .auth-form {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: auth-rise 0.6s ease 0.08s both;
}

.signin-page .auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(65, 84, 160, 0.14);
}

.signin-page .auth-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.signin-page .auth-head {
    margin-bottom: 0.5rem;
    text-align: center;
}

.signin-page .auth-title {
    margin: 1.25rem 0 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #2b3350;
}

.signin-page .auth-subtitle {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    color: #8b93ab;
}

.signin-page .auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.signin-page .auth-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: #6b7391;
}

.signin-page .auth-input-wrap {
    position: relative;
}

.signin-page .auth-input-icon {
    position: absolute;
    top: 50%;
    inset-inline-start: 1rem;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: #8a94f0;
    pointer-events: none;
}

.signin-page .auth-input {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 2.9rem;
    border: 1px solid #e6e8f2;
    border-radius: 8px;
    background: #ffffff;
    color: #2b3350;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.signin-page .auth-input::placeholder {
    color: #b3b9cc;
}

.signin-page .auth-input:hover {
    border-color: #d5daea;
}

.signin-page .auth-input:focus {
    outline: none;
    border-color: #5b6ef5;
    box-shadow: 0 0 0 4px rgba(91, 110, 245, 0.12);
}

.signin-page .auth-input.is-invalid {
    border-color: #e02424;
}

.signin-page .auth-toggle {
    position: absolute;
    top: 50%;
    inset-inline-end: 0.55rem;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #98a0bb;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.signin-page .auth-toggle:hover {
    color: #5b6ef5;
    background: rgba(91, 110, 245, 0.08);
}

.signin-page .auth-toggle:focus-visible {
    outline: 2px solid rgba(91, 110, 245, 0.4);
    outline-offset: 2px;
}

.signin-page .auth-error {
    font-size: 0.82rem;
    color: #e02424;
}

.signin-page .auth-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 0.15rem;
}

.signin-page .auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.86rem;
    color: #7b8299;
    cursor: pointer;
}

.signin-page .auth-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.signin-page .auth-check-box {
    width: 1.05rem;
    height: 1.05rem;
    border: 1px solid #d5daea;
    border-radius: 4px;
    background: #ffffff;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.signin-page .auth-check input:checked + .auth-check-box {
    border-color: #5b6ef5;
    background: #5b6ef5;
    box-shadow: 0 0 0 3px rgba(91, 110, 245, 0.14);
}

.signin-page .auth-check input:checked + .auth-check-box::after {
    content: "";
    display: block;
    width: 0.26rem;
    height: 0.54rem;
    margin: 0.1rem 0 0 0.33rem;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.signin-page .auth-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5b6ef5;
}

.signin-page .auth-link:hover {
    color: #4a5cf0;
    opacity: 1;
}

.signin-page .auth-link.is-disabled {
    color: #aab0c5;
    pointer-events: none;
}

.signin-page .auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 48px;
    margin-top: 0.4rem;
    border: 0;
    border-radius: 8px;
    background: #5b6ef5;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.signin-page .auth-submit:hover,
.signin-page .auth-submit:focus {
    color: #ffffff;
    background: #4c5ff0;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(91, 110, 245, 0.28);
}

.signin-page .auth-submit:disabled {
    opacity: 0.85;
    cursor: wait;
    transform: none;
}

.signin-page .auth-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.signin-page .auth-note {
    margin: 0.35rem 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: #a3aac2;
}

@keyframes auth-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .signin-page .login-section.signin-shell {
        grid-template-columns: 1fr;
    }

    .signin-page .auth-visual {
        min-height: 320px;
        padding: 3rem 2rem;
    }
}

@media (max-width: 640px) {
    .signin-page .auth-visual {
        display: none;
    }

    .signin-page .auth-panel {
        padding: 2.5rem 1.25rem;
    }
}

/* ----- Dark mode ----- */
html.dark body.signin-page {
    background: #0f1626;
    color: #e6ecf7;
}

html.dark .signin-page .auth-panel {
    background: #0f1626;
}

html.dark .signin-page .auth-visual {
    background: linear-gradient(160deg, #4356db 0%, #3a49c4 55%, #3040ad 100%);
}

html.dark .signin-page .auth-logo {
    background: #182134;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.5);
}

html.dark .signin-page .auth-title {
    color: #f1f5fb;
}

html.dark .signin-page .auth-subtitle,
html.dark .signin-page .auth-label,
html.dark .signin-page .auth-check,
html.dark .signin-page .auth-note,
html.dark .signin-page .auth-version {
    color: #94a1bd;
}

html.dark .signin-page .auth-input {
    border-color: #27334c;
    background: #182134;
    color: #e6ecf7;
}

html.dark .signin-page .auth-input::placeholder {
    color: #64708c;
}

html.dark .signin-page .auth-input:hover {
    border-color: #354463;
}

html.dark .signin-page .auth-input:focus {
    border-color: #6f81f8;
    box-shadow: 0 0 0 4px rgba(111, 129, 248, 0.18);
}

html.dark .signin-page .auth-check-box {
    border-color: #354463;
    background: #182134;
}

html.dark .signin-page .auth-toggle:hover {
    background: rgba(111, 129, 248, 0.14);
    color: #93a2fb;
}

html.dark .signin-page .auth-link {
    color: #93a2fb;
}

