:root {
    --primary-color: #0073aa;
    --primary-color-dark: #005a87;
    --accent-color: #13906b;
    --light-gray: #f0f2f5;
    --medium-gray: #c7c7c7;
    --dark-gray: #555;
    --error-color: #d63638;
    --success-color: #28a745;
    --white: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

@font-face {
    font-family: "KalamehWebFaNum";
    src: url("../../font/KalamehWebFaNum-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "KalamehWebFaNum";
    src: url("../../font/KalamehWebFaNum-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.95);
    }
    to {
        transform: scale(1);
    }
}

.fadeInCustom {
  animation: fadeIn var(--transition-speed) ease-out;
}
.xcart-otp-toast-stack {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 100500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.xcart-otp-toast {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    max-width: 320px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.25);
    font-size: 12px;
    line-height: 1.6;
    opacity: 0;
    transform: translateX(-8px);
    animation: xcartToastIn 0.25s ease forwards;
    pointer-events: auto;
}
body.xcart-otp-font-kalameh .xcart-otp-toast-stack,
body.xcart-otp-font-kalameh .xcart-otp-toast {
    font-family: "KalamehWebFaNum", var(--font-family) !important;
}
.xcart-otp-toast.is-success { background: #0f766e; }
.xcart-otp-toast.is-error { background: #b42318; }
.xcart-otp-toast.is-info { background: #1f2937; }
.xcart-otp-toast.is-hide {
    animation: xcartToastOut 0.25s ease forwards;
}
.xcart-otp-toast-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    flex: 0 0 auto;
}
.xcart-otp-toast-text {
    display: inline-block;
    text-align: right;
}
@keyframes xcartToastIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes xcartToastOut {
    to {
        opacity: 0;
        transform: translateX(-8px);
    }
}

.circular-timer {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 20px auto;
    margin-bottom: 0px;
    --timer-progress: 1;
    --timer-progress-color: #13906b;
    --timer-track-color: rgba(15,23,42,0.12);
    --timer-text-color: #0f172a;
}

.timer-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

#xcart-otp-clock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--timer-text-color);
    margin: 0;
    border-radius: 90px;
    scale: 0.7;
    font-variant-numeric: tabular-nums;
}

.timer-background,
.timer-progress {
    fill: none;
    stroke-width: 7;
}

.timer-background {
    stroke: var(--timer-track-color);
}

.timer-progress {
    stroke: var(--timer-progress-color);
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.xcart-timer-bar {
    display: none;
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: var(--timer-track-color);
    overflow: hidden;
}
.xcart-timer-bar-fill {
    display: block;
    height: 100%;
    width: calc(var(--timer-progress) * 100%);
    border-radius: inherit;
    background: var(--timer-progress-color);
    transition: width 1s linear;
}

#circular-timer[data-timer-theme="line"],
#circular-timer[data-timer-theme="dots"],
#circular-timer[data-timer-theme="stack"],
#circular-timer[data-timer-theme="wave"] {
    width: 100%;
    height: auto;
    padding: 0px 0;
    align-items: center;
    justify-content: space-between;
        margin: 0px;
}
#circular-timer[data-timer-theme="line"] .timer-svg,
#circular-timer[data-timer-theme="dots"] .timer-svg,
#circular-timer[data-timer-theme="stack"] .timer-svg,
#circular-timer[data-timer-theme="wave"] .timer-svg,
#circular-timer[data-timer-theme="pill"] .timer-svg {
    display: none;
}
#circular-timer[data-timer-theme="line"] #xcart-otp-clock,
#circular-timer[data-timer-theme="dots"] #xcart-otp-clock,
#circular-timer[data-timer-theme="stack"] #xcart-otp-clock,
#circular-timer[data-timer-theme="wave"] #xcart-otp-clock {
        position: static;
    height: auto;
    margin: 0 0 8px 0;
    scale: 1;
    font-size: 14px;
    color: var(--timer-text-color);
    background: none;
    width: auto;
    margin: 0px 10px;
    padding: 0px;
}
#circular-timer[data-timer-theme="line"] .xcart-timer-bar,
#circular-timer[data-timer-theme="dots"] .xcart-timer-bar,
#circular-timer[data-timer-theme="stack"] .xcart-timer-bar,
#circular-timer[data-timer-theme="wave"] .xcart-timer-bar {
    display: block;
}

#circular-timer[data-timer-theme="dots"] .xcart-timer-bar {
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        rgba(15,23,42,0.12) 0 4px,
        transparent 4px 10px
    );
}
#circular-timer[data-timer-theme="dots"] .xcart-timer-bar-fill {
    background: repeating-linear-gradient(
        90deg,
        var(--timer-progress-color) 0 4px,
        transparent 4px 10px
    );
}

#circular-timer[data-timer-theme="stack"] .xcart-timer-bar {
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        rgba(15,23,42,0.16) 0 6px,
        transparent 6px 12px
    );
}
#circular-timer[data-timer-theme="stack"] .xcart-timer-bar-fill {
    background: repeating-linear-gradient(
        90deg,
        var(--timer-progress-color) 0 6px,
        transparent 6px 12px
    );
}
#circular-timer[data-timer-theme="wave"] .xcart-timer-bar {
    height: 10px;
    background: linear-gradient(90deg, var(--timer-track-color), rgba(15,23,42,0.04));
}
#circular-timer[data-timer-theme="wave"] .xcart-timer-bar-fill {
    background: linear-gradient(90deg, rgba(255,255,255,0.2), var(--timer-progress-color), rgba(255,255,255,0.35));
    background-size: 40px 100%;
    animation: xcartTimerWave 2s linear infinite;
}

#circular-timer[data-timer-theme="pill"] {
    width: 100%;
    height: 40px;
    margin: 14px auto 0;
}
#circular-timer[data-timer-theme="pill"] .xcart-timer-bar {
    display: block;
    height: 100%;
    border-radius: 999px;
}
#circular-timer[data-timer-theme="pill"] #xcart-otp-clock {
    position: absolute;
    inset: 0;
    scale: 1;
    font-size: 13px;
    color: var(--timer-text-color);
    background: none;
    border-radius: 999px;
}

#circular-timer[data-timer-theme="ai"] {
    background: rgba(15,23,42,0.28);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.24);
}
#circular-timer[data-timer-theme="ai"] .timer-progress {
    stroke-width: 6;
    filter: drop-shadow(0 0 6px rgba(88,226,255,0.7));
}
#circular-timer[data-timer-theme="ai"] #xcart-otp-clock {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(88,226,255,0.8);
}
#circular-timer[data-timer-theme="liquid"] {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.55);
    backdrop-filter: blur(18px) saturate(165%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15,23,42,0.18);
}
#circular-timer[data-timer-theme="liquid"]::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}
#circular-timer[data-timer-theme="liquid"]::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 20px;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.35), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}
#circular-timer[data-timer-theme="liquid"] .timer-svg,
#circular-timer[data-timer-theme="liquid"] #xcart-otp-clock {
    position: relative;
    z-index: 1;
}
#circular-timer[data-timer-theme="liquid"] .timer-progress {
    stroke-width: 6;
    filter: drop-shadow(0 0 8px rgba(56,189,248,0.45));
}
#circular-timer[data-timer-theme="liquid"] .timer-background {
    opacity: 0.5;
}
#circular-timer[data-timer-theme="liquid"] #xcart-otp-clock {
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 18px rgba(15,23,42,0.12);
    backdrop-filter: blur(8px);
}
#xcart-otp-login-input:focus-visible {
    outline-color: #13906b;
}

#circular-timer[data-timer-theme="none"] {
    display: none !important;
}

@keyframes xcartTimerWave {
    0% { background-position: 0 0; }
    100% { background-position: 40px 0; }
}

.otp-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn var(--transition-speed) ease-out;
}
.xcart-otp-form-wrapper {
    width: min(980px, 92vw);
    max-width: 980px;
    position: relative;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 24px;
    box-shadow: 0 22px 55px rgba(15,23,42,0.14);
    overflow: hidden;
    background: #ffffff;
    animation: scaleUp var(--transition-speed) ease-out;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        border: unset !important;
}

.xcart-otp-form-wrapper.xcart-otp-is-verifying {
    transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}
.xcart-otp-form-wrapper.xcart-otp-is-verifying .xcart-otp-form-area {
    opacity: 0.92;
}
.xcart-otp-form-wrapper.xcart-otp-is-verifying #xcart-otp-code-container {
    filter: saturate(0.9);
}

.xcart-otp-login-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.35);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 50;
}
.xcart-otp-form-wrapper.xcart-otp-is-logging-in .xcart-otp-login-overlay {
    opacity: 1;
    pointer-events: auto;
}
.xcart-otp-form-wrapper.xcart-otp-is-logging-in .xcart-otp-form-area {
    opacity: 0.60;
    transform: scale(0.985);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.xcart-otp-login-overlay-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #fff;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}
.xcart-otp-login-spinner {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    animation: xcartSpin 0.9s linear infinite;
}
.xcart-otp-login-text {
    font-size: 13px;
    line-height: 1.7;
    font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
    .xcart-otp-login-overlay,
    .xcart-otp-form-wrapper.xcart-otp-is-logging-in .xcart-otp-form-area {
        transition: none !important;
    }
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_5"] .xcart-otp-form-image {
    background: radial-gradient(circle at 28% 22%, rgba(29,78,216,0.55), transparent 60%),
        radial-gradient(circle at 80% 65%, rgba(56,189,248,0.35), transparent 55%),
        linear-gradient(140deg, #0b1220, #111827);
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_11"] {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.68);
    box-shadow: 0 30px 70px rgba(15,23,42,0.18);
    backdrop-filter: blur(26px) saturate(180%);
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.38);
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] {
    box-shadow: 0 18px 34px rgba(16, 24, 20, 0.08);
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_11"] .xcart-otp-form-area {
    background: rgba(255,255,255,0.52);
    backdrop-filter: blur(18px) saturate(170%);
}

/* ---- Preset 12/13: mimic Panel / Version logins ---- */
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-form-area,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-form-area {
    font-family: "KalamehWebFaNum", var(--font-family);
    align-items: stretch !important;
    justify-content: flex-start !important;
    text-align: right !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-login-overlay,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-login-overlay {
    font-family: "KalamehWebFaNum", var(--font-family);
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] button,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] input,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] select,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] textarea,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-go-back-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] button,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] input,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] select,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] textarea,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-go-back-btn {
    font-family: "KalamehWebFaNum", var(--font-family) !important;
    letter-spacing: normal;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-preset-head,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-preset-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row-reverse;
    justify-content: flex-start;
    margin: 0 0 14px 0;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-preset-head #site-logo,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-preset-head #site-logo {
    position: static !important;
    width: 42px;
    height: 42px;
    max-width: none !important;
    border-radius: 999px;
    padding: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(148,163,184,0.18);
    margin: 0;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] [data-xeid="line1"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] [data-xeid="line1"] {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    flex: 1 1 auto;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] [data-xeid="line2"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] [data-xeid="line2"] {
    font-size: 13px !important;
    opacity: 0.9;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] p.xcart-otp-line,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] p.xcart-otp-line {
    padding: 0 !important;
    width: 100% !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"][data-xcart-stage="otp"] [data-xeid="line2"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"][data-xcart-stage="otp"] [data-xeid="line3"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"][data-xcart-stage="otp"] [data-xeid="line2"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"][data-xcart-stage="otp"] [data-xeid="line3"] {
    display: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-preset-inline-meta,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-preset-inline-meta {
    font-size: 12px;
    opacity: 0.9;
    margin: 6px 0 10px 0;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-method-tabs,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-alt-methods,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-method-tabs,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-alt-methods {
    display: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-login-input,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-password-input,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-login-input,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-password-input {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    text-align: left !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-login-input:focus,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-digit--single:focus {
    border-color: rgba(19,144,107,0.65) !important;
    box-shadow: 0 0 0 3px rgba(19,144,107,0.42);
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-login-input:focus,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-digit--single:focus {
    border-color: rgba(19,144,107,0.70) !important;
    box-shadow: 0 0 0 4px rgba(19,144,107,0.25);
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-send-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-send-btn {
    font-size: 14px !important;
    height: 44px !important;
    border-radius: 14px !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-digit--single {
    background-color: rgba(15, 23, 30, 0.92);
    border-color: rgba(148, 163, 184, 0.14);
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-digit--single,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-digit--single {
    width: 100%;
    box-sizing: border-box;
    direction: ltr;
    text-align: center;
    font-weight: 700;
    letter-spacing: calc(14px - (var(--otp-length) * 1px));
    
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-actions,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-actions {
    width: 100%;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"][data-xcart-stage="otp"] #xcart-otp-actions,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"][data-xcart-stage="otp"] #xcart-otp-actions {
    display: flex !important;
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] div#xcart-otp-code-field {
    margin-top: 0px !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-go-back-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-go-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    min-width: 120px;
    border: 1px solid rgba(148,163,184,0.18);
    cursor: pointer;
    user-select: none;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-back-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-back-btn {
    display: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-code-container,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-code-container {
    /* display: block !important; */
    padding-top: 0 !important;
    /* justify-content: flex-start !important; */
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"][data-xcart-actions="1"] .xcart-otp-verify-btn-section,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"][data-xcart-actions="1"] .xcart-otp-verify-btn-section {
    display: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-code-container-title,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-code-container-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: right !important;
    margin: 10px 0 6px 0 !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-verify-btn {
    border: 1px solid rgba(19,144,107,0.55);
    width: 120px !important;
    height: 44px !important;
    margin: 0 !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-resend-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-go-back-btn {
    background: transparent !important;
    border-color: rgba(148,163,184,0.18) !important;
    color: rgba(226,232,240,0.92) !important;
    border: unset;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-resend-btn {
    border: none !important;
    width: auto !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 6px !important;
    text-decoration: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-verify-btn {
    border: 1px solid rgba(19,144,107,0.35);
    width: 120px !important;
    height: 44px !important;
    margin: 0 !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-resend-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-go-back-btn {
    background: transparent !important;
    border-color: rgba(215,226,221,1) !important;
    color: #13231f !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-go-back-btn {
    border: none;
    padding: 0px;
    margin: 0px !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-resend-btn {
    border: none !important;
    width: auto !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 6px !important;
    text-decoration: none !important;
}
.xcart-otp-form-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 0px;
}

#xcart-otp-send-btn {
    border: none;
    width: 90%;
    height: 44px;
    border-radius: 12px;
    display: block;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
#xcart-otp-back-btn {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
#xcart-otp-back-btn:hover {
    transform: none;
    box-shadow: none;
    text-decoration: underline;
}
#xcart-otp-back-btn .back-btn-text {
    line-height: 1;
    font-weight: 600;
}
#xcart-otp-send-btn:hover {
    transition: transform 0.2s ease-in-out, box-shadow 0.1s ease-in-out;
    position: relative;
    overflow: hidden;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
#xcart-otp-verify-btn:hover {
    transition: transform 0.2s ease-in-out, box-shadow 0.1s ease-in-out;
    position: relative;
    overflow: hidden;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
#xcart-otp-login-input {
    border: 1px solid #c7c7c7;
    width: 90%;
    height: 40px;
    border-radius: 5px;
    display: block;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
    direction: ltr;
} 

#xcart-auth-container {
    width: 100%;
    margin-top: 12px;
    text-align: center;
}
#xcart-auth-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    opacity: 0.95;
}
#xcart-auth-identifier,
#xcart-auth-code {
    border: 1px solid #c7c7c7;
    width: 90%;
    height: 40px;
    border-radius: 5px;
    display: block;
    text-align: center;
    margin: 0 auto 10px;
    box-sizing: border-box;
    direction: ltr;
}
#xcart-auth-code {
    letter-spacing: 6px;
    font-size: 18px;
}
#xcart-auth-error {
    width: 90%;
    margin: 0 auto 10px;
    color: #d63638;
    font-size: 13px;
}
#xcart-auth-login-btn,
#xcart-auth-back-btn {
    width: 90%;
    height: 40px;
    border-radius: 8px;
    border: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.1s ease-in-out;
}
#xcart-auth-login-btn:hover,
#xcart-auth-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
#xcart-auth-back-btn {
    margin-top: 8px;
    background: rgba(0,0,0,0.04);
    color: #333;
}
p.xcart-otp-line {
    padding: 5px 0px !Important;
    width: 100% !Important;
    line-height: 40px;
    margin: 0px;
}
p#xcart-otp-go-back-btn {
    line-height: 25px;
    cursor: pointer;
}

#xcart-otp-login-input::-webkit-input-placeholder {
    color: #b3b3b3e3;
    font-size: 14px;
}

.xcart-otp-verify-btn-section {
    display: flex;
    text-align: center;
    justify-content: center;
}
#xcart-otp-verify-btn {
    width: 100%;
    border: none;
    border-radius: 5px;
    margin-top: 20px !important;
    height: 35px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    cursor: pointer;
}
#xcart-otp-resend-btn {
    border: none;
    border-radius: 5px;
    width: 30%;
    height: 35px;
    margin-top: 20px !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.xcart-otp-digit {
    border: 1px solid #d6d6d6;
    direction: ltr;
    height: 40px;
    border-radius: 5px;
    
}

.xcart-otp-code--single .xcart-otp-digit--single {
    width: min(320px, 100%);
    /* max-width: 320px; */
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: calc(14px - (var(--otp-length, 4) * 1px));
    font-variant-numeric: tabular-nums;
}

.xcart-otp-code--multi {
    gap: 10px !important;
}
.xcart-otp-code--multi .xcart-otp-digit--box {
    width: 44px;
    text-align: center;
    font-size: 18px;
}

.xcart-otp-digit--animated {
    border-width: 2px !important;
    border-style: solid !important;
    border-color: rgba(19, 144, 107, 0.65) !important;
    background-clip: padding-box;
    box-shadow: 0 0 0 0 rgba(19, 144, 107, 0.0);
    animation: xcartOtpGlow 1.6s ease-in-out infinite;
}
.xcart-otp-digit--animated:focus-visible {
    animation-duration: 1.2s;
    box-shadow: 0 0 0 6px rgba(19, 144, 107, 0.10);
}
@keyframes xcartOtpGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(19, 144, 107, 0.0);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(19, 144, 107, 0.12);
    }
}
.xcart-otp-digit:focus-visible {
    outline-color: #13906b;
}
div#xcart-otp-error {
    font-size: 12px;
    margin-top: 20px;
}
#xcart-otp-code-container {
    direction: ltr;
    justify-content: center;
        padding-top: 10px;
}

.xcart-onboarding-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    width: 100%;
}
.xcart-onboarding-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.xcart-onboarding-required {
    color: #d63638;
    font-size: 14px;
    line-height: 1;
}
.xcart-onboarding-input {
    border: 1px solid #c7c7c7;
    width: 100%;
    height: 40px;
    border-radius: 8px;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 14px;
}
.xcart-onboarding-input[type="tel"],
.xcart-onboarding-input[type="email"] {
    direction: ltr;
    text-align: center;
}
textarea.xcart-onboarding-input {
    height: auto;
    padding: 10px 12px;
    resize: vertical;
}
select.xcart-onboarding-input {
    height: 42px;
    background: #fff;
}
.xcart-onboarding-input:focus-visible {
    outline-color: #13906b;
}

#xcart-otp-onboarding {
    width: 70%;
    margin: 0 auto;
    text-align: right;
}

.xcart-onboarding-thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 4px 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.xcart-onboarding-thumb {
    border: 1px solid rgba(0,0,0,0.10);
    background: rgba(255,255,255,0.95);
    color: #333;
    border-radius: 12px;
    padding: 7px 10px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.xcart-onboarding-thumb:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}
.xcart-onboarding-thumb.is-active {
    background: #13906b;
    border-color: #13906b;
    color: #fff;
}
.xcart-onboarding-thumb.is-complete {
    background: rgba(19,144,107,0.12);
    border-color: rgba(19,144,107,0.35);
    color: #0b5d46;
}
.xcart-onboarding-thumb.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.xcart-onboarding-thumb-num {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    background: rgba(0,0,0,0.08);
    color: inherit;
    flex: 0 0 auto;
}
.xcart-onboarding-thumb.is-active .xcart-onboarding-thumb-num {
    background: rgba(255,255,255,0.25);
}

.xcart-otp-code-container-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0px;
    text-align: center;
    width: 100%;
    display: block;
}
#xcart-password-error {
    text-align: center;
    margin-top: 10px;
}
#xcart-otp-error,
#xcart-password-error,
#xcart-otp-code-response,
#xcart-otp-onboarding-error {
    display: none !important;
}


#xcart-password-input {
    border: 1px solid #c7c7c7;
    width: 70%;
    height: 40px;
    border-radius: 5px;
    display: block;
    text-align: center;
    margin: 20px auto;
    box-sizing: border-box;
    direction: ltr;
}

.xcart-otp-method-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 13px;
    user-select: none;
}
.xcart-otp-method-tab {
    border: none;
    background: transparent;
    color: #555;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 13px;
    line-height: 1.2;
    opacity: 0.7;
    border-bottom: 2px solid transparent;
    transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.xcart-otp-method-tab:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}
.xcart-otp-method-tab.is-active {
    opacity: 1;
    color: #13906b;
    border-color: #13906b;
    font-weight: 700;
}
.xcart-otp-method-sep {
    opacity: 0.45;
    font-size: 13px;
}

.xcart-otp-alt-methods {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.xcart-otp-alt-btn {
    flex: 1;
    border: 1px solid rgba(0,0,0,0.10);
    background: rgba(0,0,0,0.03);
    color: #333;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.xcart-otp-alt-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.xcart-otp-alt-btn:active {
    transform: translateY(0);
}
.xcart-otp-alt-btn--google {
    background: rgba(255,255,255,0.85);
}
.xcart-otp-alt-btn--auth {
    background: rgba(255,255,255,0.85);
}
@media (max-width: 420px) {
    .xcart-otp-alt-methods { flex-direction: column; }
    .xcart-otp-alt-btn { width: 100%; }
}

.loading-spinner {
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-right: 5px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.xcart-btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.xcart-btn-loader--spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: currentColor;
    animation: xcartSpin 0.9s linear infinite;
}

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

.xcart-btn-loader--dots {
    gap: 4px;
}
.xcart-btn-loader--dots span {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
    display: inline-block;
    animation: xcartDots 0.9s infinite ease-in-out;
    opacity: 0.7;
}
.xcart-btn-loader--dots span:nth-child(2) { animation-delay: 0.15s; }
.xcart-btn-loader--dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes xcartDots {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.55; }
    40% { transform: scale(1); opacity: 1; }
}

.xcart-btn-loader--bar {
    width: 22px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}
.xcart-btn-loader--bar::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 50%;
    background: currentColor;
    border-radius: inherit;
    transform: translateX(-120%);
    animation: xcartBar 1s infinite ease-in-out;
}

@keyframes xcartBar {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(220%); }
}

.xcart-otp-form-wrapper-no-image {
    width: min(460px, 92vw);
    max-width: 460px;
}


.animated-button {
  background-color: var(--btn-bg-color);
  color: var(--btn-text-color);
  font-size: var(--btn-font-size);
  
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  
  position: relative;
  overflow: hidden;
}

.animated-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.animated-button:active {
  transform: translateY(-2px); 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}


@media only screen and (max-width: 600px) {
.xcart-otp-form-wrapper {
    align-items: center;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0px;
}
.xcart-otp-form-image {
    width: 100%;
    display: flex
;
    justify-content: center;
    height: 50%;
    align-items: center;
}
img.xcart-otp-login-img.skip-lazy {
    width: 100%;
}
.xcart-otp-form-image {
    width: 100%;
    display: flex
;
    justify-content: center;
    height: 50%;
    overflow: unset;
    align-items: center;
}
.xcart-otp-form-area {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: white;
}

.otp-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

#xcart-otp-onboarding {
    width: 100%;
}
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
.xcart-otp-form-wrapper {
    width: 90%;
    max-width: 90%;
    border: 1px solid #e1e1e1;
    border-radius: 15px;
    box-shadow: 1px 1px 3px 0px #d6d6d638;
    overflow: hidden;
    background: white;
}
    
}

.xcart-otp-background-wrapper {
    display: flex
;
    justify-content: center;
    align-items: center;
}

.xcart-otp-form-image {
    display: flex
;
    object-fit: cover;
    height: 450px;
}
img.xcart-otp-login-img.skip-lazy {
    object-fit: cover;
    width: 100%;
}
