@media screen and (max-width: 768px) {
    .hide-div-auth {
        visibility: hidden;
        display: none;
    }
    .show-div-auth {
        visibility: visible;
        display: block;
    }
}
@media screen and (min-width: 768px) {
    .show-div-auth {
        visibility: hidden;
        display: none;
    }
}

.bg-one-auth {
    background-color: #f7f7f7;
}
.h-one-auth {
    font-size: 50px;
    margin-top: 30px;
}
.h-two-auth {
    font-size: 20px;
}
.div-one-auth {
    border-inline-end: 2px solid rgb(85, 84, 84);
}
.h-three-auth {
    font-size: 50px;
    margin-top: 30px;
}
.h-four-auth {
    font-size: 20px;
}

.software_version {
    z-index: 9;
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
}
.auth-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.auth-wrapper * {
    font-family: roboto, sans-serif;
}
.auth-wrapper-right {
    width: 100%;
    max-width: 660px;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}
.auth-wrapper-right .auth-wrapper-form {
    max-width: 452px;
    width: 100%;
    margin: 0 auto;
}
@media (min-width: 1550px) {
    .auth-wrapper-right .auth-wrapper-form {
        transform: translateX(-30px);
    }
}
.auth-wrapper-right .auth-header {
    font-size: 22px;
    line-height: 1.4;
    color: #a0a0a0;
    margin-bottom: 60px;
    font-weight: 300;
}
.auth-wrapper-right .auth-header a {
    font-weight: 700;
    text-decoration: underline;
    color: #161853;
}
.auth-wrapper-right .auth-header .title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}
.auth-wrapper-right .auth-header .badge {
    font-weight: 400;
    font-size: 14px;
    color: #161853;
    background-color: rgba(3, 157, 85, 0.1);
    border-radius: 15px;
    padding: 7px 13px 6px;
}
.auth-wrapper-right .auto-fill-data-copy {
    padding-top: 26px;
}
.auth-wrapper-right .auto-fill-data-copy .action-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.auth-wrapper-right .btn--primary {
    background: #161853;
    font-weight: 500;
}
.auth-wrapper-right .btn-block {
    height: 45px !important;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 10px;
}
@media (min-width: 1550px) {
    .auth-wrapper-right {
        max-width: 718px;
    }
    .auth-wrapper-right .input-label {
        margin-bottom: 12px;
    }
    .auth-wrapper-right .form-group {
        margin-bottom: 20px;
    }
    .auth-wrapper-right .auto-fill-data-copy {
        color: #9b9b9b;
        font-size: 18px;
    }
    .auth-wrapper-right .btn-block,
    .auth-wrapper-right .form-control {
        height: 45px !important;
        border-radius: 5px;
    }
    .auth-wrapper-right .btn-block:not(.btn-white) {
        font-size: 20px;
    }
    .auth-wrapper-right .auto-fill-data-copy .action-btn {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }
    .auth-wrapper-right .auto-fill-data-copy .action-btn i {
        font-size: 24px;
    }
}
.auth-wrapper-left {
    width: 0;
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.auth-wrapper-left .auth-left-cont {
    -webkit-margin-start: auto;
    margin-inline-start: auto;
    -webkit-margin-end: auto;
    margin-inline-end: auto;
}
.auth-wrapper-left .auth-left-cont img {
    max-width: 420px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: left center;
    object-position: left center;
}
.auth-wrapper-left .auth-left-cont .title {
    font-size: 70px;
    line-height: 1.3;
    font-weight: 300;
}
.auth-wrapper-left .auth-left-cont .title strong {
    font-weight: 700;
}
@media (max-width: 1549px) {
    .auth-wrapper-left .auth-left-cont .title {
        font-size: 55px;
    }
    .auth-wrapper-right .auth-header {
        font-size: 16px;
        margin-bottom: 35px;
    }
    .auth-wrapper-right .auth-header .title {
        font-size: 36px;
        margin-bottom: 0;
    }
    .auth-wrapper-right .auth-header .badge {
        margin-top: 10px;
    }
    .auth-wrapper .mt-xxl-3 {
        margin-top: 0 !important;
    }
    .auth-wrapper-right .btn--primary {
        height: 38px;
    }
}
@media (max-width: 1300px) {
    .auth-wrapper-left .auth-left-cont img {
        max-width: 300px;
    }
    .auth-wrapper-left .auth-left-cont .title {
        font-size: 45px;
    }
    .auth-wrapper-right {
        max-width: 560px;
    }
    .auth-wrapper-right .auth-header {
        font-size: 14px;
        margin-bottom: 1rem;
    }
    .auth-wrapper-right .auth-header .title {
        font-size: 28px;
    }
    .auth-wrapper-right .auth-header .badge {
        font-size: 11px;
    }
    .auth-wrapper-right .form-group {
        margin-bottom: 1rem;
    }
    .auth-wrapper-right .form-control {
        height: 38px;
        font-size: 12px;
    }
    .auth-wrapper-right .btn-block {
        height: 38px !important;
    }
    .auth-wrapper-right .custom-control-label {
        font-size: 12px;
    }
    .auth-wrapper-right .auto-fill-data-copy {
        padding-top: 10px;
    }
    .auth-wrapper-right .auto-fill-data-copy .action-btn {
        width: 35px;
        height: 35px;
    }
}
@media (max-width: 1199px) {
    .auth-wrapper-right {
        max-width: 450px;
        padding: 20px 24px;
    }
}
@media (max-width: 991px) {
    .auth-wrapper-left {
        display: none;
    }
    .auth-wrapper-right {
        padding: 25px 24px;
        max-width: 100%;
    }
}
@media (max-width: 767px) {
    .auth-wrapper-right {
        padding: 15px;
        max-width: 100%;
    }
}
.text--039D55 {
    color: #161853 !important;
}
@media (min-width: 1650px) {
    .vendor-login .auth-wrapper-right .auth-header {
        font-size: 20px;
    }
    .vendor-login .auth-wrapper-right .auth-header .title {
        font-size: 36px;
    }
}
.toggle-login {
    text-align: center;
    margin-top: 15px;
}
.toggle-login .toggle-login-btn {
    cursor: pointer;
    color: #161853;
}
a:hover .text--title {
    color: var(--primary-clr) !important;
}
.object-cover {
    -o-object-fit: cover;
    object-fit: cover;
}
.min-h-90px {
    min-height: 100px !important;
}
.__login-badge {
    position: absolute;
    inset-inline-end: 25px;
    top: 25px;
}

.color-EC255A {
    color: #EC255A !important;
}

/* Scoped SaaS login refresh */
.saas-auth .auth-wrapper {
    min-height: 100vh;
    background:
        radial-gradient(60% 70% at 10% 20%, rgba(200, 169, 106, 0.08), transparent 70%),
        radial-gradient(45% 55% at 85% 80%, rgba(255, 255, 255, 0.05), transparent 75%),
        linear-gradient(130deg, #0b1f3a 0%, #1a2e52 100%);
    display: flex;
    flex-wrap: nowrap;
}

.saas-auth * {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.saas-auth .auth-wrapper-left {
    flex: 0 0 60%;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
}

.saas-auth .auth-wrapper-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 12, 25, 0.52), rgba(5, 12, 25, 0.44)),
        url("../img/auth-bg.png") no-repeat center/cover;
    opacity: 1;
}

.saas-auth .auth-wrapper-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 72%, rgba(255, 255, 255, 0.08) 100%),
        radial-gradient(circle at 15% 78%, rgba(200, 169, 106, 0.16), transparent 35%);
    pointer-events: none;
}

.saas-auth .auth-wrapper-left .auth-left-cont {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 640px;
    padding: 60px 60px 40px 80px;
    color: #f8fafc;
}

.saas-auth .auth-brand-lockup {
    margin: 0 0 26px;
}

.saas-auth .auth-hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
    object-fit: contain;
    object-position: left center;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

.saas-auth .auth-wrapper-left .auth-left-cont .title {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 28px;
    max-width: 560px;
}

.saas-auth .auth-wrapper-left .auth-left-cont .title strong {
    font-weight: 700;
    color: #fff;
}

.saas-auth .auth-trust-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
    max-width: 420px;
}

.saas-auth .auth-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 14px 20px;
    color: #e5e7eb;
    font-size: 15px;
    font-weight: 500;
    max-width: 420px;
    border-left-width: 3px;
}

.saas-auth .auth-trust-item:nth-child(1) { border-left-color: rgba(74, 222, 128, 0.6); }
.saas-auth .auth-trust-item:nth-child(2) { border-left-color: rgba(251, 191, 36, 0.6); }
.saas-auth .auth-trust-item:nth-child(3) { border-left-color: rgba(96, 165, 250, 0.6); }

.saas-auth .auth-trust-item i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.saas-auth .auth-trust-item:nth-child(1) i { color: #4ade80; }
.saas-auth .auth-trust-item:nth-child(2) i { color: #fbbf24; }
.saas-auth .auth-trust-item:nth-child(3) i { color: #60a5fa; }

.saas-auth .trust-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
}

.saas-auth .trust-desc {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 3px;
    line-height: 1.4;
}

.saas-auth .auth-metrics-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.saas-auth .auth-metrics-row span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 10px;
}

.saas-auth .auth-left-powered {
    font-size: 12px;
    font-weight: 500;
    color: #cbd5e1;
    margin: 0;
}

.saas-auth .auth-wrapper-right {
    flex: 0 0 40%;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    overflow: hidden;
}

.saas-auth .auth-wrapper-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(11, 31, 58, 0.52), rgba(11, 31, 58, 0.52)),
        url("../img/auth-bg.png") no-repeat center/cover;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    filter: blur(4px);
    transform: scale(1.05);
    z-index: 0;
}

.saas-auth .auth-wrapper-right .auth-wrapper-form {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(15, 23, 42, 0.06);
    max-width: 460px;
    width: 100%;
    padding: 36px 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: saasSlideIn 0.35s ease-out both;
}

.saas-auth .auth-wrapper-right .auth-header {
    margin-bottom: 22px;
    font-size: 18px;
    color: #6b7280;
    text-align: center;
}

.saas-auth .auth-wrapper-right .auth-header .title {
    font-size: 38px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 10px;
    line-height: 1;
}

.saas-auth .auth-wrapper-right .auth-header .mb-5 > div {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.saas-auth .auth-wrapper-right .auth-header .mb-5 > div::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2px;
    width: 160px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d9dde5, transparent);
}

.saas-auth .auth-wrapper-right .input-label {
    color: #334155;
    font-weight: 500;
    margin-bottom: 8px;
}

.saas-auth .auth-wrapper-right .form-control {
    height: 52px;
    border-radius: 12px;
    padding-left: 60px;
    border: 1px solid #e3e6eb;
    box-shadow: none;
    font-size: 15px;
    background: #f7f8fa;
}

.saas-auth .auth-wrapper-right .input-group-text {
    border: 1px solid #e3e6eb;
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: #f7f8fa;
    color: #64748b;
    min-width: 46px;
    justify-content: center;
}

.saas-auth .auth-wrapper-right .input-group .form-control {
    border-left: 0;
    border-radius: 0 12px 12px 0;
}

.saas-auth .auth-wrapper-right .form-control:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.2);
}

.saas-auth .auth-wrapper-right .btn-block {
    height: 52px !important;
    border-radius: 14px;
    font-weight: 600;
    font-size: 18px;
    margin-top: 12px !important;
    letter-spacing: 0.2px;
}

.saas-auth .auth-wrapper-right .btn--primary,
.saas-auth .auth-wrapper-right .btn-primary {
    background: linear-gradient(90deg, #2d63ff, #1f4ed8);
    border-color: #1f4ed8;
}

.saas-auth .auth-wrapper-right .btn--primary:hover,
.saas-auth .auth-wrapper-right .btn-primary:hover {
    filter: brightness(1.03);
}

.saas-auth .auth-wrapper-right .btn-primary:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.saas-auth .auth-wrapper-right .btn-primary .signin-btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.saas-auth .auth-last-login {
    display: none;
}

.saas-auth .auth-last-login-row {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e7eaf0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
}

.saas-auth .auth-last-login-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.saas-auth .auth-last-login-right {
    color: #334155;
    font-weight: 500;
}

.saas-auth .auth-card-footer {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    color: rgba(100, 116, 139, 0.75);
}

@keyframes saasSlideIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1199px) {
    .saas-auth .auth-wrapper-left .auth-left-cont .title {
        font-size: 32px;
    }
    .saas-auth .auth-wrapper-left .auth-left-cont {
        padding-left: 52px;
    }
}

@media (max-width: 991px) {
    .saas-auth .auth-wrapper-left {
        display: none;
    }

    .saas-auth .auth-wrapper-right {
        flex: 1 1 auto;
        min-height: auto;
        padding: 28px 16px;
    }

    .saas-auth .auth-wrapper-right::before {
        filter: blur(4px);
    }

    .saas-auth .auth-wrapper-right .auth-wrapper-form {
        padding: 26px 18px;
        max-width: 460px;
    }

    .saas-auth .auth-wrapper-right .auth-header .title {
        font-size: 34px;
    }

    .saas-auth .auth-mobile-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 12px;
    }

    .saas-auth .auth-mobile-logo img {
        width: 120px;
        height: 120px;
        object-fit: contain;
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
    }

    .saas-auth .__login-badge {
        top: 10px;
        right: 12px;
    }
}

.saas-auth .auth-mobile-logo {
    display: none;
}
