/* =========================================================
   SELL SHOPEE LOGIN MODAL
   Matches new #6D42F5 website design
========================================================= */

.ss-login-modal {
    --bs-modal-width: 900px;
}

.ss-login-modal .modal-dialog {
    max-width: 900px;width: calc(100% - 30px);margin: 20px auto;
}

.ss-login-content {
    position: relative;overflow: hidden;
    border: 0;border-radius: 24px;
    background: #fff;

    box-shadow:
        0 35px 100px rgba(35, 20, 78, .28),
    0 10px 30px rgba(35, 20, 78, .10);
}


/* ================= BACKDROP ================= */

.modal-backdrop.show {
    opacity: .62;
}

.modal-backdrop {
    background: #1D1533;
}

body.modal-open {
    overflow: hidden;
}


/* ================= CLOSE ================= */

.ss-login-close {
    position: absolute;top: 14px;right: 14px;z-index: 30;
    width: 36px;height: 36px;
    display: grid;place-items: center;
    padding: 0;
    border: 1px solid #E9E6EF;border-radius: 11px;
    color: #625D6C!important;
    background: rgba(255,255,255,.95);
    font-size: 13px;
    box-shadow: 0 5px 16px rgba(40,25,80,.08);
    transition: all .2s ease;
}

.ss-login-close:hover {
    color: #625D6C!important;
    transform: rotate(5deg);
}


/* ================= GRID ================= */

.login-modal-grid {
    display: grid;grid-template-columns: .9fr 1.1fr;
    min-height: 520px;
}


/* =========================================================
   LEFT SIDE
========================================================= */

.login-art {
    position: relative;
    display: flex;flex-direction: column;
    overflow: hidden;
    padding: 31px 32px;
    color: #fff;

    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(255,255,255,.16),
            transparent 27%
        ),
        radial-gradient(
            circle at 5% 95%,
            rgba(164,137,255,.20),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            var(--primary-deep) 0%,
            var(--primary-dark) 48%,
            var(--primary) 100%
    );
}


/* ================= LOGO ================= */

.login-brand {
    position: relative;z-index: 3;
}

.login-brand img {
    width: 150px;height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}


/* ================= LEFT CONTENT ================= */

.login-art-content {
    position: relative;z-index: 3;
    margin: auto 0;
}

.login-kicker {
    display: inline-flex;align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.20);border-radius: 100px;
    background: rgba(255,255,255,.09);
    font-size: 9px;font-weight: 800;
    letter-spacing: .08em;
}

.login-kicker i {
    color: #FFD96A;
}


.login-art h2 {
    margin: 16px 0 10px;
    color: #fff;
    font-size: 37px;font-weight: 800;line-height: 1.04;
    letter-spacing: -.045em;
}

.login-art h2 span {
    color: #DCD1FF;
}

.login-art-content > p {
    max-width: 325px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 11px;line-height: 1.65;
}


/* ================= BENEFITS ================= */

.login-benefits {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.login-benefit {
    display: flex;align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,.11);border-radius: 12px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(8px);-webkit-backdrop-filter: blur(8px);
}

.login-benefit-icon {
    width: 34px;height: 34px;
    flex: 0 0 auto;
    display: grid;place-items: center;
    border-radius: 10px;
    color: #fff;background: rgba(255,255,255,.14);
    font-size: 16px;
}

.login-benefit strong {
    display: block;
    color: #fff;
    font-size: 11px;font-weight: 800;
}

.login-benefit small {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.58);
    font-size: 9px;
}


/* ================= DECORATIONS ================= */

.login-art-decoration {
    position: absolute;
    border: 35px solid rgba(255,255,255,.05);border-radius: 50%;
    pointer-events: none;
}

.login-art-decoration--one {
    width: 260px;height: 260px;
    right: -130px;top: -110px;
}

.login-art-decoration--two {
    width: 200px;height: 200px;
    left: -120px;bottom: -100px;
}


/* =========================================================
   RIGHT FORM
========================================================= */

.login-form {
    position: relative;
    display: flex;flex-direction: column;justify-content: center;
    padding: 44px 48px;

    background:
        radial-gradient(
            circle at 100% 0,
            var(--primary-soft),
            transparent 31%
        ),
    #fff;
}


/* ================= FORM HEADING ================= */

.login-form-head {
    display: flex;align-items: center;
    gap: 11px;
    margin-bottom: 24px;
}

.login-mobile-icon {
    width: 43px;height: 43px;
    flex: 0 0 auto;
    display: grid;place-items: center;
    border-radius: 13px;
    color: var(--primary);background: var(--primary-soft);
    font-size: 19px;
}

.login-form h3 {
    margin: 0;
    color: var(--text);
    font-size: 23px;font-weight: 800;
    letter-spacing: -.025em;
}

.login-form-head p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 10px;
}


/* =========================================================
   FORM FIELD
========================================================= */

.login-form .field {
    margin-bottom: 15px;
}

.login-form .field label {
    display: block;
    margin-bottom: 6px;
    color: #403A4A;
    font-size: 10px;font-weight: 800;
}

.field-label-row {
    display: flex;align-items: center;justify-content: space-between;
}

.field-label-row a {
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 9px;font-weight: 800;
}

.field-label-row a:hover {
    color: var(--primary-dark);
}


/* ================= INPUT CONTAINER ================= */

.login-form .field-control {
    height: 47px;
    display: flex;align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);border-radius: 13px;
    background: #FAF9FD;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
    background .2s ease;
}

.login-form .field-control:hover {
    border-color: #DCD5ED;
}

.login-form .field-control:focus-within {
    border-color: rgba(109,66,245,.55);
    background: #fff;

    box-shadow:
    0 0 0 4px rgba(109,66,245,.08);
}


/* ================= INPUT ICON ================= */

.field-icon {
    width: 43px;height: 100%;
    flex: 0 0 auto;
    display: grid;place-items: center;
    color: var(--primary);
    font-size: 16px;
}


/* ================= +91 ================= */

.country-code {
    flex: 0 0 auto;
    padding-right: 10px;
    border-right: 1px solid var(--line);
    color: #484251;
    font-size: 12px;font-weight: 800;
}


/* ================= INPUT ================= */

.login-form .field-control input {
    min-width: 0;
    width: 100%;height: 100%;
    padding: 0 12px;
    border: 0 !important;outline: 0 !important;
    color: var(--text);background: transparent !important;
    font-family: "Manrope", sans-serif;font-size: 12px;
    box-shadow: none !important;
}

.login-form .field-control input::placeholder {
    color: #AAA5B2;
}


/* ================= PASSWORD EYE ================= */

.password-toggle {
    width: 43px;height: 100%;
    flex: 0 0 auto;
    display: grid;place-items: center;
    padding: 0;
    border: 0;
    color: #918B9B;background: transparent;
    font-size: 15px;
}

.password-toggle:hover {
    color: var(--primary);
}


/* =========================================================
   REMEMBER ME
========================================================= */

.remember-check {
    position: relative;
    display: inline-flex;align-items: center;
    width: fit-content;
    gap: 7px;
    margin: 0 0 16px;
    color: #6D6876;
    cursor: pointer;
    font-size: 10px;font-weight: 600;
}

.remember-check input {
    position: absolute;
    width: 1px;height: 1px;
    opacity: 0;
}

.remember-box {
    width: 17px;height: 17px;
    display: grid;place-items: center;
    border: 1px solid #DCD7E5;border-radius: 5px;
    color: transparent;background: #fff;
    font-size: 11px;
    transition: .15s ease;
}

.remember-check input:checked + .remember-box {
    color: #fff;
    border-color: var(--primary);background: var(--primary);
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-submit {
    width: 100%;height: 47px;
    display: flex;align-items: center;justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;border-radius: 13px;
    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
    );

    box-shadow:
    0 10px 24px rgba(109,66,245,.22);
    font-size: 12px;font-weight: 800;
    transition: .2s ease;
}

.login-submit:hover {
    transform: translateY(-1px);

    box-shadow:
    0 14px 28px rgba(109,66,245,.28);
}

.login-submit i {
    transition: transform .2s ease;
}

.login-submit:hover i {
    transform: translateX(3px);
}


/* loading */

.login-submit.is-loading {
    pointer-events: none;opacity: .8;
}

.login-submit.is-loading i {
    animation: ssLoginSpin .7s linear infinite;
}

@keyframes ssLoginSpin {
    
    to {
        
    transform: rotate(360deg);
    }
}


/* =========================================================
   SECURITY TEXT
========================================================= */

.login-secure {
    display: flex;align-items: center;justify-content: center;
    gap: 5px;
    margin-top: 10px;
    color: #8C8795;
    font-size: 9px;font-weight: bold;
}

.login-secure i {
    color: #20AD65;
    font-size: 12px;
}


/* =========================================================
   DIVIDER
========================================================= */

.login-divider {
    position: relative;
    margin: 20px 0 14px;
    text-align: center;
}

.login-divider::before {
    content: "";
    position: absolute;
    top: 50%;left: 0;right: 0;
    height: 1px;
    background: var(--line);
}

.login-divider span {
    position: relative;z-index: 2;
    padding: 0 10px;
    color: #9993A2;background: #fff;
    font-size: 9px;
}


/* =========================================================
   CREATE ACCOUNT
========================================================= */

.create-account-btn {
    width: 100%;height: 43px;
    display: flex;align-items: center;justify-content: center;
    gap: 7px;
    border: 1px solid #DED6F8;border-radius: 12px;
    color: var(--primary);
    background: var(--primary-faint);
    font-size: 11px;font-weight: 800;
    transition: .2s ease;
}

.create-account-btn:hover {
    color: var(--primary-dark);
    border-color: var(--primary);
    background: var(--primary-soft);
}


/* =========================================================
   VALIDATION
========================================================= */

.login-error-message {
    display: none;
    align-items: center;
    gap: 6px;
    margin: -4px 0 12px;
    padding: 8px 10px;
    border: 1px solid #FFD7DD;border-radius: 9px;
    color: #C72F48;background: #FFF5F7;
    font-size: 10px;font-weight: 700;
}

.login-error-message.is-visible {
    display: flex;
}

.field-control.has-error {
    border-color: #FF7181 !important;
    background: #FFF8F9 !important;

    box-shadow:
    0 0 0 3px rgba(255,82,99,.07);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {
    

    .ss-login-modal .modal-dialog {
        
    max-width: 680px;
    }

    .login-modal-grid {
        
    grid-template-columns: 255px 1fr;
    }

    .login-art {
        
    padding: 26px 22px;
    }

    .login-art h2 {
        
    font-size: 37px;
    }

    .login-form {
        
    padding: 38px 30px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    

    .ss-login-modal .modal-dialog {
        
    width: calc(100% - 18px);

    margin: 9px auto;
    }

    .ss-login-content {
        
    max-height: calc(100dvh - 18px);

    overflow-y: auto;

    border-radius: 19px;
    }

    .login-modal-grid {
        
    display: block;

    min-height: 0;
    }


    /* small purple top */

    .login-art {
        
    display: block;

    min-height: 92px;

    padding: 17px 18px;

        background:
            linear-gradient(
                120deg,
                var(--primary-deep),
                var(--primary)
    );
    }

    .login-brand img {
        
    width: 122px;
    }

    .login-art-content {
        
    margin-top: 11px;
    }

    .login-kicker,
    .login-benefits,
    .login-art-content > p {
        
    display: none;
    }

    .login-art h2 {
        
    margin: 0;

    font-size: 20px;
    line-height: 1.15;
    }

    .login-art h2 br {
        
    display: none;
    }


    /* form */

    .login-form {
        
    padding: 21px 18px 18px;

    background: #fff;
    }

    .login-form-head {
        
    gap: 9px;

    margin-bottom: 17px;
    }

    .login-mobile-icon {
        
    width: 36px;
    height: 36px;

    border-radius: 11px;

    font-size: 16px;
    }

    .login-form h3 {
        
    font-size: 18px;
    }

    .login-form-head p {
        
    font-size: 9px;
    }

    .login-form .field {
        
    margin-bottom: 12px;
    }

    .login-form .field-control {
        
    height: 44px;

    border-radius: 11px;
    }

    .field-icon {
        
    width: 39px;
    }

    .login-submit {
        
    height: 44px;

    border-radius: 11px;
    }

    .login-divider {
        
    margin: 16px 0 12px;
    }

    .create-account-btn {
        
    height: 41px;
    }

    .ss-login-close {
        
    top: 12px;
    right: 12px;

    width: 31px;
    height: 31px;

    color: #fff;

    border-color: rgba(255,255,255,.20);

    background: rgba(255,255,255,.12);

    box-shadow: none;
    }

    .ss-login-close:hover {
        
    background: rgba(255,255,255,.20);

    transform: none;
    }
}


/* =========================================================
   LOGIN MODAL - CENTER + SOFT FADE
========================================================= */

.ss-login-modal {
    padding: 15px !important;
}

/* Perfect center */
.ss-login-modal .ss-login-dialog {
    width: min(900px, calc(100% - 30px));max-width: 900px;
    min-height: calc(100vh - 30px);
    margin: 0 auto;
    display: flex;align-items: center;justify-content: center;
    transform: scale(.96) translateY(8px);
    transition:
        transform .28s cubic-bezier(.2, .8, .2, 1),
    opacity .25s ease;
    opacity: 0;
}

/* When Bootstrap opens modal */
.ss-login-modal.show .ss-login-dialog {
    transform: scale(1) translateY(0);opacity: 1;
}


/* =========================================================
   MODAL BOX
========================================================= */

.ss-login-content {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(109, 66, 245, .12);

    /* More beautiful rounded corners */border-radius: 30px;
    background: #fff;

    box-shadow:
        0 35px 90px rgba(42, 24, 94, .22),
    0 12px 35px rgba(42, 24, 94, .10);
    isolation: isolate;
}


/* subtle border glow */
.ss-login-content::before {
    content: "";
    position: absolute;inset: 0;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, .45);border-radius: inherit;
    pointer-events: none;
}


/* Make both sides follow outer radius */
.login-art {
    border-radius: 30px 0 0 30px;
}

.login-form {
    border-radius: 0 30px 30px 0;
}


/* =========================================================
   BACKDROP - FADE + BLUR
========================================================= */

.modal-backdrop {
    background: #21163d;
}

.modal-backdrop.show {
    opacity: .52;
}

/* Modern browser blur */
body.modal-open .modal-backdrop {
    backdrop-filter: blur(3px);-webkit-backdrop-filter: blur(3px);
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.ss-login-close {
    top: 16px;right: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    

    .ss-login-modal {
        
    padding: 9px !important;
    }

    .ss-login-modal .ss-login-dialog {
        
    width: 100%;
    min-height: calc(100dvh - 18px);
    }

    .ss-login-content {
        
    max-height: calc(100dvh - 18px);

    overflow-y: auto;

    border-radius: 23px;
    }

    .login-art {
        
    border-radius: 23px 23px 0 0;
    }

    .login-form {
        
    border-radius: 0 0 23px 23px;
    }
}

/* =========================================================
   AUTH FLOW
========================================================= */

.auth-form-wrapper {
    position: relative;
}


/* =========================================================
   STEPS
========================================================= */

.auth-step {
    display: none;
    animation: authStepIn .28s ease;
}

.auth-step.active {
    display: block;
}

@keyframes authStepIn {
    

    from {
        
    opacity: 0;
    transform: translateX(8px);
    }

    to {
        
    opacity: 1;
    transform: translateX(0);
    }

}


/* =========================================================
   PROGRESS
========================================================= */

.auth-progress {
    display: flex;align-items: flex-start;
    margin-bottom: 27px;
}

.auth-progress-item {
    position: relative;
    flex: 0 0 auto;
    display: flex;flex-direction: column;align-items: center;
    gap: 5px;
    color: #A19BAA;
}

.auth-progress-item > span {
    width: 55px;height: 55px;
    display: grid;place-items: center;
    border: 1px solid var(--line);border-radius: 10px;
    background: #FAF9FC;
    font-size: 14px;
    transition: .25s ease;
}

.auth-progress-item small {
    font-size: 11px;font-weight: 700;
}


/* Active */

.auth-progress-item.active {
    color: var(--primary);
}

.auth-progress-item.active > span {
    color: #fff;
    border-color: var(--primary);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
    );

    box-shadow:
    0 6px 15px rgba(109, 66, 245, .20);
}


/* Completed */

.auth-progress-item.completed > span {
    color: #fff;
    border-color: #22B573;
    background: #22B573;
}

.auth-progress-item.completed {
    color: #22B573;
}


/* Line */

.auth-progress-line {
    flex: 1;
    height: 1px;

    margin:
        15px
        7px
    0;
    background: var(--line);
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-icon {
    color: #25D366;background: rgba(37, 211, 102, .10);
}

.whatsapp-field-icon {
    color: #25B963;
}


.whatsapp-note {
    display: flex;align-items: center;
    gap: 8px;

    margin:
        -3px
        0
    16px;
    padding: 9px 10px;
    border: 1px solid rgba(37, 211, 102, .16);border-radius: 10px;
    color: #5F7366;background: #F5FFF8;
    font-size: 9px;line-height: 1.45;font-weight: bold;
}

.whatsapp-note__icon {
    width: 25px;height: 25px;
    flex: 0 0 auto;
    display: grid;place-items: center;
    border-radius: 8px;
    color: #fff;background: #25D366;
    font-size: 13px;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.auth-back-btn {
    display: inline-flex;align-items: center;
    gap: 5px;
    margin-bottom: 17px;padding: 0;
    border: 0;
    color: var(--primary);background: transparent;
    font-size: 12px;font-weight: 800;
}

.auth-back-btn:hover {
    color: var(--primary-dark);
}


/* =========================================================
   OTP
========================================================= */

.otp-head {
    margin-bottom: 22px;
}

.otp-head strong {
    color: var(--primary);
}


.otp-field-group > label {
    display: block;
    margin-bottom: 9px;
    color: #403A4A;
    font-size: 10px;font-weight: 800;
}


.otp-inputs {
    display: grid;grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}


.otp-input {
    width: 100%;height: 48px;
    padding: 0;
    border: 1px solid var(--line);border-radius: 11px;
    outline: none;
    color: var(--text);background: #FAF9FD;
    text-align: center;
    font-family: "Manrope", sans-serif;
    font-size: 19px;font-weight: 800;
    transition: .18s ease;
}

.otp-input:focus {
    border-color: rgba(109, 66, 245, .60);
    background: #fff;

    box-shadow:
    0 0 0 3px rgba(109, 66, 245, .08);
}


/* OTP resend */

.otp-resend-row {
    display: flex;align-items: center;justify-content: center;
    gap: 4px;

    margin:
        13px
        0
    18px;
    color: var(--muted);
    font-size: 9px;
}


.otp-resend-row button {
    padding: 0;
    border: 0;
    color: var(--primary);background: transparent;
    font-size: 9px;font-weight: 800;
}


.otp-resend-row button:disabled {
    color: #A9A4B0;
    cursor: default;
}


/* =========================================================
   VERIFIED NUMBER
========================================================= */

.signup-verified-number {
    display: flex;align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid rgba(32, 178, 107, .17);border-radius: 11px;
    background: #F5FFF9;
}


.verified-check {
    width: 30px;height: 30px;
    flex: 0 0 auto;
    display: grid;place-items: center;
    border-radius: 50%;
    color: #fff;background: #20B26B;
    font-size: 13px;
}


.signup-verified-number small {
    display: block;
    color: #729080;
    font-size: 8px;font-weight:bold;
}


.signup-verified-number strong {
    display: block;
    margin-top: 2px;
    color: #24683F;
    font-size: 11px;font-weight: 800;
}


.signup-agreement {
    margin-top: 1px;
}


/* =========================================================
   TERMS
========================================================= */

.auth-terms {
    margin-top: 14px;
    color: #9993A2;
    text-align: center;
    font-size: 8px;line-height: 1.6;
}

.auth-terms a {
    color: var(--primary);
    font-weight: 700;
}


/* =========================================================
   SUCCESS
========================================================= */

.auth-success-step {
    padding: 45px 10px;
    text-align: center;
}


.auth-success-icon {
    width: 68px;height: 68px;
    display: grid;place-items: center;

    margin:
        0
        auto
    18px;
    border-radius: 50%;
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #20B26B,
            #40CD88
    );

    box-shadow:
    0 15px 30px rgba(32, 178, 107, .20);
    font-size: 30px;
}


.auth-success-step h3 {
    
    margin:
        0
        0
    6px;
    color: var(--text);
    font-size: 23px;font-weight: 800;
}


.auth-success-step > p {
    
    margin:
        0
        0
    24px;
    color: var(--muted);
    font-size: 10px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    

    .auth-progress {
        
    margin-bottom: 19px;
    }

    .auth-progress-item > span {
        
    width: 27px;
    height: 27px;

    border-radius: 8px;

    font-size: 11px;
    }

    .auth-progress-line {
        
    margin-top: 13px;
    }

    .otp-inputs {
        
    gap: 5px;
    }

    .otp-input {
        
    height: 43px;

    border-radius: 9px;

    font-size: 17px;
    }

    .whatsapp-note {
        
    margin-bottom: 13px;
    }

    .signup-verified-number {
        
    margin-bottom: 14px;
    }

}

.auth-progress-item.skipped {
    opacity: .42;
}

.auth-progress-item.skipped > span {
    background: #f6f4fa;color: #aaa5b2;border-color: #e9e6ef;
}




#productModels {
    z-index: 10000;
}

body.modal-open #productModels {
    z-index: 99997 !important;
}

.modal-backdrop {
    z-index: 99998 !important;
}

#loginModal {
    z-index: 99999 !important;
}