/* =========================================================
   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;
    z-index: 99;
}

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: 0;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 - SMOOTH OPEN / CLOSE
========================================================= */

.ss-login-modal {
    padding: 15px !important;
    overflow-x: hidden;
    overflow-y: auto;
}

.ss-login-modal.fade {
    transition: opacity .30s ease !important;
}

.ss-login-modal.fade:not(.show) {
    opacity: 0;
}

.ss-login-modal.fade.show {
    opacity: 1;
}

.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;
    opacity: 0;
    transform: translateY(18px) scale(.985);
    transition:
        transform .36s cubic-bezier(.22, 1, .36, 1),
        opacity .26s ease !important;
    will-change: transform, opacity;
}

.ss-login-modal.show .ss-login-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

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

.ss-login-modal .ss-login-content {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 26px;
    background: #fff;
    box-shadow:
        0 28px 70px rgba(35, 20, 78, .20),
        0 8px 24px rgba(35, 20, 78, .08);
    isolation: isolate;
    transform: translateZ(0);
}

.ss-login-modal .ss-login-content::before {
    display: none !important;
    content: none !important;
}

.ss-login-modal .login-art {
    border-radius: 26px 0 0 26px;
}

.ss-login-modal .login-form {
    border-radius: 0 26px 26px 0;
}

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

body:has(.ss-login-modal.show) .modal-backdrop {
    background: #21183A;
    transition: opacity .30s ease !important;
}

body:has(.ss-login-modal.show) .modal-backdrop.show {
    opacity: .46;
}

body:has(.ss-login-modal.show) .modal-backdrop {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

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

.ss-login-modal .ss-login-close {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 11px;
    color: #625D6C !important;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 6px 18px rgba(40, 25, 80, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform .18s ease,
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

.ss-login-modal .ss-login-close:hover {
    color: var(--primary) !important;
    background: #fff;
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(40, 25, 80, .12);
}

.ss-login-modal .ss-login-close:active {
    transform: scale(.96);
}

/* =========================================================
   SMALL POLISH
========================================================= */

.ss-login-modal .login-form {
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(109, 66, 245, .055),
            transparent 32%
        ),
        #fff;
}

.ss-login-modal .login-benefit {
    border-color: rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .065);
}

.ss-login-modal .login-submit {
    box-shadow: 0 10px 22px rgba(109, 66, 245, .20);
}

.ss-login-modal .login-submit:hover {
    box-shadow: 0 13px 26px rgba(109, 66, 245, .25);
}

.ss-login-modal .auth-step {
    animation: authStepIn .30s cubic-bezier(.22, 1, .36, 1);
}

@keyframes authStepIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 600px) {
    .ss-login-modal {
        padding: 0 !important;
        overflow: hidden !important;
    }

    .ss-login-modal.fade {
        transition: opacity .24s ease !important;
    }

    .ss-login-modal .ss-login-dialog {
        width: 100% !important;
        max-width: none !important;
        min-height: 100dvh !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        opacity: 1 !important;
        transform: translate3d(0, 100%, 0) !important;
        transition: transform .42s cubic-bezier(.22, 1, .36, 1) !important;
        will-change: transform;
    }

    .ss-login-modal.show .ss-login-dialog {
        transform: translate3d(0, 0, 0) !important;
    }

    .ss-login-modal .ss-login-content {
        width: 100% !important;
        max-height: calc(100dvh - 42px) !important;
        margin: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        border: 0 !important;
        border-radius: 24px 24px 0 0 !important;
        box-shadow:
            0 -18px 50px rgba(35, 20, 78, .18),
            0 -4px 16px rgba(35, 20, 78, .08) !important;
        -webkit-overflow-scrolling: touch;
    }

    .ss-login-modal .login-modal-grid {
        min-height: 0 !important;
    }

    .ss-login-modal .login-art {
        border-radius: 24px 24px 0 0 !important;
    }

    .ss-login-modal .login-form {
        border-radius: 0 !important;
        padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
    }

    .ss-login-modal .ss-login-close {
        top: 11px;
        right: 11px;
        width: 32px;
        height: 32px;
        border: 0 !important;
        color: #fff !important;
        background: rgba(255, 255, 255, .14);
        box-shadow: none !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .ss-login-modal .ss-login-close:hover,
    .ss-login-modal .ss-login-close:active {
        color: #fff !important;
        background: rgba(255, 255, 255, .22);
        transform: none !important;
    }

    body:has(.ss-login-modal.show) .modal-backdrop.show {
        opacity: .50;
    }
}

/* =========================================================
   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,
body:has(#loginModal.show) #productModels {
    z-index: 99997 !important;
    pointer-events: none !important;
}

body:has(#loginModal.show) .modal-backdrop,
body.modal-open:has(#loginModal.show) .modal-backdrop {
    z-index: 99998 !important;
}

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

/* =========================================================
   LOGIN MODAL - STRONGER VISUAL SEPARATION
   ========================================================= */

body.modal-open .modal-backdrop {
    background: rgba(18, 17, 24, .72) !important;
    backdrop-filter: blur(4px) saturate(.72) brightness(.78);
    -webkit-backdrop-filter: blur(4px) saturate(.72) brightness(.78);
}

body.modal-open .modal-backdrop.show {
    opacity: 1 !important;
}

.ss-login-modal .ss-login-content {
    border: 0 !important;
    box-shadow:
        0 40px 110px rgba(10, 8, 20, .42),
        0 14px 40px rgba(20, 14, 40, .22),
        0 0 0 1px rgba(255, 255, 255, .08) inset !important;
}

.ss-login-modal .login-art {
    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(255,255,255,.14),
            transparent 27%
        ),
        radial-gradient(
            circle at 5% 95%,
            rgba(164,137,255,.14),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #2f1390 0%,
            #4420bf 50%,
            #6538ef 100%
        ) !important;
}

.ss-login-modal .login-form {
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(109,66,245,.055),
            transparent 31%
        ),
        #ffffff !important;
}

.ss-login-modal .ss-login-close {
    box-shadow: 0 7px 20px rgba(20, 15, 40, .10) !important;
}

@media (max-width: 600px) {
    body.modal-open .modal-backdrop {
        background: rgba(15, 14, 20, .66) !important;
        backdrop-filter: blur(3px) saturate(.78) brightness(.82);
        -webkit-backdrop-filter: blur(3px) saturate(.78) brightness(.82);
    }

    .ss-login-modal .ss-login-content {
        box-shadow:
            0 -22px 60px rgba(10, 8, 20, .28),
            0 -6px 22px rgba(20, 14, 40, .12) !important;
    }

    .ss-login-modal .login-art {
        background:
            linear-gradient(
                120deg,
                #34149a,
                #6840f3
            ) !important;
    }
}

/* =========================================================
   LOGIN MODAL - BRIGHT WHITE / NO BLUR
   ========================================================= */

body.modal-open .modal-backdrop {
    background: #17151d !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.modal-open .modal-backdrop.show {
    opacity: .48 !important;
}

.ss-login-modal .ss-login-content {
    border: 0 !important;
    background: #ffffff !important;
    box-shadow:
        0 34px 90px rgba(24, 18, 40, .28),
        0 12px 32px rgba(109, 66, 245, .10) !important;
}

.ss-login-modal .login-form {
    background: #ffffff !important;
}

.ss-login-modal .login-art {
    background:
        radial-gradient(
            circle at 90% 7%,
            rgba(255,255,255,.14),
            transparent 28%
        ),
        radial-gradient(
            circle at 5% 96%,
            rgba(255,255,255,.08),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #3b18a8 0%,
            #5428d7 50%,
            var(--primary) 100%
        ) !important;
}

.ss-login-modal .login-form::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    pointer-events: none;
    background: radial-gradient(
        circle at top right,
        rgba(109,66,245,.07),
        transparent 68%
    );
}

.ss-login-modal .ss-login-close {
    border: 0 !important;
    background: #ffffff !important;
    color: var(--primary) !important;
    box-shadow: 0 6px 18px rgba(58, 41, 100, .10) !important;
}

.ss-login-modal .ss-login-close:hover {
    background: var(--primary-soft) !important;
    color: var(--primary-dark) !important;
}

.ss-login-modal .login-submit {
    box-shadow:
        0 10px 24px rgba(109,66,245,.18) !important;
}

.ss-login-modal .login-submit:hover {
    box-shadow:
        0 14px 30px rgba(109,66,245,.24) !important;
}

@media (max-width: 600px) {
    body.modal-open .modal-backdrop {
        background: #17151d !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.modal-open .modal-backdrop.show {
        opacity: .45 !important;
    }

    .ss-login-modal .ss-login-content {
        background: #fff !important;
        box-shadow:
            0 -18px 48px rgba(24, 18, 40, .22),
            0 -5px 18px rgba(109,66,245,.08) !important;
    }

    .ss-login-modal .login-form {
        background: #fff !important;
    }

    .ss-login-modal .login-art {
        background:
            linear-gradient(
                120deg,
                #421bb5,
                var(--primary)
            ) !important;
    }

    .ss-login-modal .ss-login-close {
        color: #fff !important;
        background: rgba(255,255,255,.14) !important;
        box-shadow: none !important;
    }

    .ss-login-modal .ss-login-close:hover,
    .ss-login-modal .ss-login-close:active {
        color: #fff !important;
        background: rgba(255,255,255,.22) !important;
    }
}

/* =========================================================
   LOGIN MODAL - LIGHT DESKTOP PRODUCT SHOWCASE
   Scoped to #loginModal so other modals remain unchanged.
   ========================================================= */

@media (min-width: 601px) {
    #loginModal {
        --login-left-bg: #fbfaff;
        --login-left-text: #211a32;
        --login-left-muted: #746d82;
        --login-soft-purple: #eee9ff;
        --login-soft-purple-2: #f6f3ff;
    }

    #loginModal .ss-login-dialog {
        width: min(980px, calc(100% - 34px)) !important;
        max-width: 980px !important;
    }

    #loginModal .login-modal-grid {
        grid-template-columns: .96fr 1.04fr !important;
        min-height: 548px !important;
    }

    #loginModal .login-art {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        padding: 30px 30px 28px !important;
        color: var(--login-left-text) !important;
        border-radius: 24px 0 0 24px !important;
        background:
            radial-gradient(circle at 92% 16%, rgba(109,66,245,.13), transparent 31%),
            radial-gradient(circle at 70% 92%, rgba(109,66,245,.08), transparent 35%),
            linear-gradient(145deg,#ffffff 0%,#fbfaff 52%,#f3efff 100%) !important;
    }

    #loginModal .login-art::after {
        content: "";
        position: absolute;
        inset: auto -90px -120px auto;
        width: 330px;
        height: 330px;
        border-radius: 50%;
        background: rgba(109,66,245,.055);
        pointer-events: none;
    }

    #loginModal .login-brand {
        position: relative !important;
        z-index: 5 !important;
    }

    #loginModal .login-brand img {
        width: 154px !important;
        filter: none !important;
    }

    #loginModal .login-art-content {
        position: relative !important;
        z-index: 4 !important;
        display: flex !important;
        flex: 1 !important;
        flex-direction: column !important;
        margin: 30px 0 0 !important;
        min-height: 435px !important;
    }

    #loginModal .login-kicker {
        align-self: flex-start !important;
        gap: 6px !important;
        padding: 6px 10px !important;
        border: 0 !important;
        border-radius: 99px !important;
        color: #5c43a5 !important;
        background: #f0ebff !important;
        box-shadow: 0 4px 12px rgba(109,66,245,.07) !important;
        font-size: 8.5px !important;
        font-weight: 800 !important;
        letter-spacing: .08em !important;
    }

    #loginModal .login-kicker i {
        color: #f0b429 !important;
    }

    #loginModal .login-art h2 {
        width: 285px !important;
        margin: 17px 0 9px !important;
        color: var(--login-left-text) !important;
        font-size: 35px !important;
        font-weight: 800 !important;
        line-height: 1.03 !important;
        letter-spacing: -.045em !important;
    }

    #loginModal .login-art h2 span {
        color: var(--primary) !important;
    }

    #loginModal .login-art-content > p {
        width: 265px !important;
        max-width: 265px !important;
        margin: 0 !important;
        color: var(--login-left-muted) !important;
        font-size: 10px !important;
        line-height: 1.62 !important;
    }

    #loginModal .login-benefits {
        position: relative !important;
        z-index: 8 !important;
        width: 188px !important;
        display: grid !important;
        gap: 7px !important;
        margin: auto 0 0 !important;
    }

    #loginModal .login-benefit {
        display: flex !important;
        align-items: center !important;
        gap: 9px !important;
        padding: 8px 9px !important;
        border: 0 !important;
        border-radius: 11px !important;
        background: rgba(255,255,255,.88) !important;
        box-shadow:
            0 8px 22px rgba(57,39,100,.07),
            0 0 0 1px rgba(109,66,245,.045) inset !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    #loginModal .login-benefit-icon {
        width: 31px !important;
        height: 31px !important;
        flex: 0 0 31px !important;
        border-radius: 9px !important;
        color: var(--primary) !important;
        background: var(--login-soft-purple) !important;
        font-size: 14px !important;
    }

    #loginModal .login-benefit strong {
        color: #312a3b !important;
        font-size: 9.5px !important;
        font-weight: 800 !important;
    }

    #loginModal .login-benefit small {
        color: #8a8491 !important;
        font-size: 7.5px !important;
    }

    #loginModal .login-art-decoration {
        display: none !important;
    }

    /* Product composition */
    #loginModal .login-product-scene {
        position: absolute;
        right: -8px;
        bottom: -3px;
        z-index: 6;
        width: 255px;
        height: 305px;
        pointer-events: none;
    }

    #loginModal .login-product-orbit {
        position: absolute;
        border-radius: 50%;
        border: 1px solid rgba(109,66,245,.12);
    }

    #loginModal .login-product-orbit--one {
        width: 240px;
        height: 240px;
        right: -30px;
        top: 16px;
    }

    #loginModal .login-product-orbit--two {
        width: 178px;
        height: 178px;
        right: 0;
        top: 50px;
        border-color: rgba(109,66,245,.07);
    }

    #loginModal .login-product-pedestal {
        position: absolute;
        border-radius: 50%;
        background: linear-gradient(180deg,#fff,#ece7f8);
        box-shadow:
            0 17px 34px rgba(49,32,92,.13),
            inset 0 -5px 11px rgba(92,69,145,.07);
    }

    #loginModal .login-product-pedestal--back {
        width: 210px;
        height: 50px;
        right: 9px;
        bottom: 28px;
    }

    #loginModal .login-product-pedestal--front {
        width: 145px;
        height: 36px;
        right: 56px;
        bottom: 7px;
    }

    #loginModal .login-product-case {
        position: absolute;
        width: 79px;
        height: 148px;
        border-radius: 21px;
        box-shadow: 0 17px 28px rgba(28,21,48,.19);
        transform-origin: bottom center;
    }

    #loginModal .login-product-case--navy {
        right: 120px;
        bottom: 68px;
        background:
            radial-gradient(circle at 50% 58%,transparent 0 26px,rgba(255,255,255,.22) 27px 29px,transparent 30px),
            linear-gradient(145deg,#24304c,#151b2f);
        transform: rotate(-13deg);
    }

    #loginModal .login-product-case--clear {
        right: 73px;
        bottom: 79px;
        border: 2px solid rgba(255,255,255,.68);
        background:
            linear-gradient(145deg,rgba(255,255,255,.55),rgba(223,217,239,.42));
        box-shadow:
            0 17px 28px rgba(28,21,48,.11),
            inset 0 0 0 1px rgba(109,66,245,.08);
        transform: rotate(7deg);
    }

    #loginModal .login-product-camera {
        position: absolute;
        left: 8px;
        top: 8px;
        width: 28px;
        height: 37px;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 3px;
        padding: 4px;
        border-radius: 10px;
        background: rgba(255,255,255,.16);
    }

    #loginModal .login-product-camera i {
        display: block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #161b27;
        box-shadow: inset 0 0 0 2px #626a7c;
    }

    #loginModal .login-product-ring {
        position: absolute;
        left: 50%;
        top: 55%;
        width: 43px;
        height: 43px;
        border: 3px solid rgba(255,255,255,.30);
        border-radius: 50%;
        transform: translate(-50%,-50%);
    }

    #loginModal .login-product-phone {
        position: absolute;
        right: 78px;
        bottom: 55px;
        z-index: 5;
        width: 86px;
        height: 168px;
        overflow: hidden;
        border: 5px solid #24212b;
        border-radius: 23px;
        background:
            radial-gradient(circle at 72% 22%,rgba(255,255,255,.30),transparent 23%),
            linear-gradient(145deg,#18131f 5%,#4a2aa2 43%,#ba90ff 76%,#18131f 100%);
        box-shadow:
            0 23px 38px rgba(31,22,55,.27),
            inset 0 0 0 1px rgba(255,255,255,.18);
        transform: rotate(2deg);
    }

    #loginModal .login-product-phone-pill {
        position: absolute;
        left: 50%;
        top: 8px;
        width: 31px;
        height: 8px;
        border-radius: 99px;
        background: #17131c;
        transform: translateX(-50%);
    }

    #loginModal .login-product-phone-shine {
        position: absolute;
        width: 120px;
        height: 30px;
        left: -23px;
        top: 80px;
        background: rgba(255,255,255,.14);
        transform: rotate(-37deg);
    }

    #loginModal .login-product-glass {
        position: absolute;
        right: 7px;
        bottom: 63px;
        z-index: 4;
        width: 69px;
        height: 140px;
        padding: 13px 7px 8px;
        border-radius: 8px;
        color: #292332;
        background: linear-gradient(180deg,#fff,#f0ecf8);
        box-shadow: 0 17px 31px rgba(42,28,74,.17);
        transform: rotate(2deg);
    }

    #loginModal .login-product-glass-hook {
        position: absolute;
        left: 50%;
        top: -13px;
        width: 32px;
        height: 21px;
        border-radius: 7px 7px 2px 2px;
        background: linear-gradient(135deg,#7c57f5,#5c35d8);
        transform: translateX(-50%);
    }

    #loginModal .login-product-glass small {
        display: block;
        color: var(--primary);
        font-size: 5px;
        font-weight: 900;
        letter-spacing: .08em;
    }

    #loginModal .login-product-glass strong {
        display: block;
        margin-top: 3px;
        font-size: 9px;
        line-height: 1.02;
        font-weight: 900;
    }

    #loginModal .login-product-glass-screen {
        display: block;
        width: 35px;
        height: 60px;
        margin: 7px auto 6px;
        border: 2px solid #8b8495;
        border-radius: 8px;
        background: linear-gradient(145deg,rgba(109,66,245,.05),rgba(109,66,245,.14));
    }

    #loginModal .login-product-glass > div {
        display: flex;
        justify-content: center;
        gap: 3px;
    }

    #loginModal .login-product-glass > div span {
        width: 15px;
        height: 15px;
        display: grid;
        place-items: center;
        border-radius: 4px;
        color: #6547bb;
        background: #ece7fa;
        font-size: 5px;
        font-weight: 900;
    }

    #loginModal .login-product-charger {
        position: absolute;
        left: 33px;
        bottom: 18px;
        z-index: 8;
        width: 48px;
        height: 42px;
        border-radius: 9px 9px 12px 12px;
        background: linear-gradient(145deg,#fff,#e6e1ec);
        box-shadow: 0 10px 20px rgba(37,27,58,.16);
        transform: rotate(3deg);
    }

    #loginModal .login-product-charger::before,
    #loginModal .login-product-charger::after {
        content: "";
        position: absolute;
        top: -11px;
        width: 5px;
        height: 14px;
        border-radius: 2px 2px 0 0;
        background: #beb8c6;
    }

    #loginModal .login-product-charger::before { left: 14px; }
    #loginModal .login-product-charger::after { right: 14px; }

    #loginModal .login-product-charger span {
        position: absolute;
        left: 50%;
        bottom: 8px;
        width: 16px;
        height: 5px;
        border-radius: 2px;
        background: #5d5669;
        transform: translateX(-50%);
    }

    #loginModal .login-product-cable {
        position: absolute;
        left: 75px;
        bottom: 3px;
        z-index: 9;
        width: 64px;
        height: 30px;
        border: 5px solid #f4f2f7;
        border-radius: 50%;
        box-shadow:
            0 8px 17px rgba(37,27,58,.12),
            inset 0 0 0 1px #ded9e5;
        transform: rotate(-7deg);
    }

    #loginModal .login-product-cable span {
        position: absolute;
        right: -10px;
        top: 8px;
        width: 15px;
        height: 8px;
        border-radius: 3px;
        background: #eeeaf3;
        box-shadow: inset 0 0 0 1px #d4cedb;
    }

    #loginModal .login-product-grip {
        position: absolute;
        right: 57px;
        bottom: 4px;
        z-index: 10;
        width: 32px;
        height: 16px;
        border-radius: 50%;
        background: #34303b;
        box-shadow: 0 8px 15px rgba(23,18,32,.19);
    }

    #loginModal .login-product-grip::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 6px;
        width: 13px;
        height: 19px;
        border-radius: 5px;
        background: #48424f;
        transform: translateX(-50%);
    }

    #loginModal .login-product-tag {
        position: absolute;
        right: 28px;
        top: 23px;
        z-index: 11;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 6px 8px;
        border-radius: 99px;
        color: #6445bd;
        background: rgba(255,255,255,.87);
        box-shadow: 0 8px 20px rgba(56,37,101,.10);
        font-size: 6.5px;
        font-weight: 800;
    }

    #loginModal .login-product-tag i {
        color: #f0b429;
        font-size: 8px;
    }

    #loginModal .login-form {
        background: #fff !important;
    }
}

/* Preserve the current mobile bottom-sheet exactly:
   hide desktop product composition and restore purple mobile art. */
@media (max-width: 600px) {
    #loginModal .login-product-scene {
        display: none !important;
    }

    #loginModal .login-art {
        color: #fff !important;
        background:
            linear-gradient(
                120deg,
                #421bb5,
                var(--primary)
            ) !important;
    }

    #loginModal .login-brand img {
        filter: brightness(0) invert(1) !important;
    }

    #loginModal .login-art h2,
    #loginModal .login-art h2 span {
        color: #fff !important;
    }
}
