: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;
}

.otp-login-container.xcart-otp-container--modern {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(22px);
}
.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_12"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] {
    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);
}

/* ---- 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_13"] .xcart-preset-head #site-logo {
    background: rgba(15,23,42,0.04);
    border-color: rgba(15,23,42,0.10);
}

.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_13"] .xcart-otp-digit--single {
    background-color: #ffffff;
    border-color: rgba(15,23,42,0.12);
}
.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-wrapper .xcart-otp-form-area {
    order: 1;
}
.xcart-otp-form-image {
    width: 100%;
    display: flex
;
    justify-content: center;
    height: auto;
    min-height: 220px;
    align-items: center;
    order: 2;
}
img.xcart-otp-login-img.skip-lazy {
    width: 100%;
}
.xcart-otp-form-image {
    width: 100%;
    display: flex
;
    justify-content: center;
    height: auto;
    min-height: 220px;
    overflow: unset;
    align-items: center;
    order: 2;
}
.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;
}
    
}

@media only screen and (max-width: 600px) {
.otp-login-container {
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] {
    width: min(100%, 420px) !important;
    max-width: 420px !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    border-radius: 24px !important;
    margin: 0 auto !important;
    align-items: stretch !important;
}
.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 {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 18px 16px 16px !important;
    border-radius: 24px !important;
}
.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 {
    gap: 10px;
    margin: 0 0 12px 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 {
    width: 38px;
    height: 38px;
    padding: 5px;
}
.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"] {
    font-size: 15px !important;
}
.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: 12px !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_12"] #xcart-auth-identifier,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-auth-code,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-send-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-auth-login-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-auth-back-btn,
.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,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-auth-identifier,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-auth-code,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-send-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-auth-login-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-auth-back-btn {
    width: 100% !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 {
    padding-top: 6px !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-code--multi,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-code--multi {
    gap: 8px !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-code--multi .xcart-otp-digit--box,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-code--multi .xcart-otp-digit--box {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-code--single .xcart-otp-digit--single,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-code--single .xcart-otp-digit--single {
    letter-spacing: clamp(8px, 2.6vw, 12px);
    font-size: 17px;
}
.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 {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-verify-btn,
.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,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-verify-btn,
.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 {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 12px !important;
    justify-content: center !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-resend-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-resend-btn {
    border: 1px solid rgba(148,163,184,0.18) !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-onboarding,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-onboarding {
    width: 100% !important;
}
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {
.otp-login-container {
    padding: 28px;
    box-sizing: border-box;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] {
    width: min(100%, 560px) !important;
    max-width: 560px !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 26px !important;
}
.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 {
    padding: 20px !important;
    border-radius: 26px !important;
}
.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 {
    gap: 10px !important;
    justify-content: stretch !important;
}
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-verify-btn,
.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,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-verify-btn,
.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 {
    min-width: 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,
.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 {
    flex: 1 1 calc(50% - 5px);
}
}

.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%;
}

/* Refined panel themes: shared structure, two palettes */
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] {
    --xc-panel-bg: rgba(17,24,39,0.96);
    --xc-panel-border: rgba(148,163,184,0.16);
    --xc-panel-text: rgba(248,250,252,0.96);
    --xc-panel-muted: rgba(203,213,225,0.88);
    --xc-panel-subtle: rgba(148,163,184,0.18);
    --xc-panel-input: rgba(15,23,42,0.88);
    --xc-panel-button: #13906b;
    --xc-panel-button-text: #ffffff;
    --xc-panel-shadow: 0 22px 55px rgba(0,0,0,0.34);
    --xc-panel-page: #0b1117;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] {
    --xc-panel-bg: rgba(255,255,255,0.98);
    --xc-panel-border: rgba(15,23,42,0.08);
    --xc-panel-text: #13231f;
    --xc-panel-muted: #64727a;
    --xc-panel-subtle: rgba(15,23,42,0.12);
    --xc-panel-input: #f8fafc;
    --xc-panel-button: #13906b;
    --xc-panel-button-text: #ffffff;
    --xc-panel-shadow: 0 22px 55px rgba(15,23,42,0.12);
    --xc-panel-page: #f5f7f8;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] {
    width: min(520px, 92vw) !important;
    max-width: 520px !important;
    background: var(--xc-panel-bg) !important;
    border: 1px solid var(--xc-panel-border) !important;
    border-radius: 26px !important;
    box-shadow: var(--xc-panel-shadow) !important;
    overflow: hidden;
}

.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 {
    background: var(--xc-panel-bg) !important;
    color: var(--xc-panel-text) !important;
    border-radius: 26px !important;
    padding: 24px !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    min-height: 0 !important;
}

.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;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    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: 44px !important;
    height: 44px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--xc-panel-subtle);
    box-shadow: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-preset-head #site-logo {
    background: rgba(15,23,42,0.04);
}

.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"] {
    flex: 1 1 auto;
    color: var(--xc-panel-text) !important;
    line-height: 1.35 !important;
}

.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"] {
    color: var(--xc-panel-muted) !important;
    font-size: 13px !important;
    margin: 0 0 2px 0 !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] [data-xeid="line3"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] [data-xeid="line3"] {
    color: var(--xc-panel-muted) !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_13"][data-xcart-stage="otp"] [data-xeid="line2"] {
    display: block !important;
}

.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="line3"] {
    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_12"] #xcart-auth-identifier,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-auth-code,
.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,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-auth-identifier,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-auth-code {
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    margin: 10px 0 0 0 !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    background: var(--xc-panel-input) !important;
    border: 1px solid var(--xc-panel-subtle) !important;
    color: var(--xc-panel-text) !important;
    text-align: left !important;
    box-sizing: border-box;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-send-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-verify-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-send-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-verify-btn {
    width: 100% !important;
    height: 46px !important;
    margin: 14px 0 0 0 !important;
    border-radius: 16px !important;
    border: none !important;
    background: var(--xc-panel-button) !important;
    color: var(--xc-panel-button-text) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-code-field,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-code-field,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-timer-wrapper,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-timer-wrapper,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-verify-btn-section,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-verify-btn-section,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-resend-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-resend-btn,
.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% !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 {
    color: var(--xc-panel-muted) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: right !important;
    margin: 14px 0 8px 0 !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: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    padding-top: 6px !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-code--multi,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-code--multi {
    width: 100%;
    justify-content: center;
    gap: 10px !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-code--multi .xcart-otp-digit--box,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-code--multi .xcart-otp-digit--box {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--xc-panel-input);
    border: 1px solid var(--xc-panel-subtle);
    color: var(--xc-panel-text);
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-code--single .xcart-otp-digit--single,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-code--single .xcart-otp-digit--single {
    width: 100% !important;
    height: 50px !important;
    border-radius: 16px !important;
    background: var(--xc-panel-input) !important;
    border: 1px solid var(--xc-panel-subtle) !important;
    color: var(--xc-panel-text) !important;
    letter-spacing: calc(14px - (var(--otp-length) * 1px));
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #circular-timer[data-timer-theme="line"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #circular-timer[data-timer-theme="line"] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    height: auto;
    margin: 2px 0 12px 0;
    padding: 0;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #circular-timer[data-timer-theme="line"] #xcart-otp-clock,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #circular-timer[data-timer-theme="line"] #xcart-otp-clock {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 700;
    color: var(--xc-panel-muted) !important;
    text-align: center;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #circular-timer[data-timer-theme="line"] .xcart-timer-bar,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #circular-timer[data-timer-theme="line"] .xcart-timer-bar {
    height: 6px;
    border-radius: 999px;
    background: var(--xc-panel-subtle);
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #circular-timer[data-timer-theme="line"] .xcart-timer-bar-fill,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #circular-timer[data-timer-theme="line"] .xcart-timer-bar-fill {
    background: var(--xc-panel-button);
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-resend-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-resend-btn,
.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 {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 10px 0 0 0 !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 1px solid var(--xc-panel-subtle) !important;
    color: var(--xc-panel-muted) !important;
    box-sizing: border-box;
    text-decoration: none !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 {
    font-size: 13px !important;
    line-height: 1.3 !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-password-error,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] #xcart-otp-error,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-password-error,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] #xcart-otp-error {
    width: 100%;
    margin: 10px 0 0 0 !important;
    text-align: right;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"][data-xcart-stage="otp"] #xcart-otp-send-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"][data-xcart-stage="otp"] #xcart-otp-send-btn {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"][data-xcart-stage="otp"] #xcart-otp-code-field,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"][data-xcart-stage="otp"] #xcart-otp-code-field {
    margin-top: 8px !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"][data-xcart-stage="otp"] #xcart-otp-actions.xcart-otp-actions--panel,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"][data-xcart-stage="otp"] #xcart-otp-actions.xcart-otp-actions--panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, .85fr);
    gap: 10px;
    align-items: center;
    margin-top: 14px !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-action-chip,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-action-chip {
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, opacity .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-action-chip:hover,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-action-chip:hover {
    transform: translateY(-1px);
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-action-chip::after,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-action-chip::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.14) 50%, transparent 100%);
    transform: translateX(-120%);
    transition: transform .45s ease;
    pointer-events: none;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-action-chip:hover::after,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-action-chip:hover::after {
    transform: translateX(120%);
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-action-chip--primary,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-action-chip--primary {
    box-shadow: 0 10px 24px rgba(19,144,107,0.16) !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-action-chip--muted,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-action-chip--muted,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-action-chip--ghost,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-action-chip--ghost {
    min-width: 0 !important;
    white-space: nowrap;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-action-chip--muted,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-action-chip--muted {
    opacity: .95;
}

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

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"][data-xcart-resend-ready="1"] #xcart-otp-resend-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"][data-xcart-resend-ready="1"] #xcart-otp-resend-btn {
    display: inline-flex !important;
    animation: xcartOtpActionReveal .22s ease;
}

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

@media only screen and (max-width: 600px) {
    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"],
    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] {
        width: min(100%, 420px) !important;
        max-width: 420px !important;
        border-radius: 24px !important;
    }

    .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 {
        padding: 0px !important;
        border-radius: 24px !important;
    }

    .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 {
        gap: 10px;
        margin-bottom: 12px;
    }

    .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 {
        width: 38px !important;
        height: 38px !important;
        padding: 5px;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"] .xcart-otp-code--multi .xcart-otp-digit--box,
    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] .xcart-otp-code--multi .xcart-otp-digit--box {
        flex: 1 1 0;
        min-width: 0;
        max-width: 56px;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"][data-xcart-stage="otp"] #xcart-otp-actions.xcart-otp-actions--panel,
    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"][data-xcart-stage="otp"] #xcart-otp-actions.xcart-otp-actions--panel {
        grid-template-columns: 1fr;
    }
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_12"],
    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_13"] {
        width: min(100%, 560px) !important;
        max-width: 560px !important;
    }
}

/* Preset 14: modern minimal white flow */
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] {
    width: min(100%, 760px) !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    padding: 42px 0 24px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-form-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    gap: 0 !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #site-logo {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] [data-xeid="line1"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] [data-xeid="line2"],
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] [data-xeid="line3"] {
    width: min(100%, 440px) !important;
    max-width: 440px !important;
    text-align: center !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] [data-xeid="line1"] {
    font-size: 21px !important;
    line-height: 1.75 !important;
    font-weight: 800 !important;
    color: #1f2a44 !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] [data-xeid="line2"] {
    font-size: 14px !important;
    line-height: 1.95 !important;
    color: #667085 !important;
    margin-bottom: 24px !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-inline-number {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    white-space: nowrap;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-modern-login-row {
    width: min(100%, 370px) !important;
    display: grid !important;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    direction: ltr;
    margin: 0 auto 0 !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-login-input {
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 1px solid #d5dce8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #24334d !important;
    box-shadow: none !important;
    text-align: right !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-login-input::placeholder {
    color: #8a94a6 !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-login-input:focus,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-digit--box:focus {
    border-color: #2140ff !important;
    box-shadow: 0 0 0 4px rgba(33,64,255,0.10) !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-send-btn {
    width: 50px !important;
    min-width: 50px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #2140ff !important;
    color: #ffffff !important;
    font-size: 26px !important;
    line-height: 1 !important;
    box-shadow: 0 14px 28px rgba(33,64,255,0.18) !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-password-input {
    width: min(100%, 370px) !important;
    margin: 12px auto 0 !important;
    border-radius: 12px !important;
}

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

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-code-field {
    width: min(100%, 420px) !important;
    margin: 26px auto 0 !important;
    background: transparent !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-code-container-title {
    display: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-code-container {
    justify-content: center !important;
    gap: 10px !important;
    direction: ltr;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-code--multi .xcart-otp-digit--box {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    border-radius: 12px !important;
    border: 1px solid #d5dce8 !important;
    background: #ffffff !important;
    color: #1f2a44 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-verify-btn,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #circular-timer,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-flip-clock,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-send-btn[style*="display: none"] {
    display: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-actions.xcart-otp-actions--modern {
    width: min(100%, 420px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin: 26px auto 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    background: transparent !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"][data-xcart-stage="login"] #xcart-otp-actions,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"][data-xcart-stage="login"] #xcart-otp-code-field {
    display: none !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-modern-link {
    appearance: none !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    height: auto !important;
    width: auto !important;
    min-width: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    transition: color .18s ease, opacity .18s ease, transform .18s ease !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-modern-link:hover {
    transform: translateY(-1px);
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-go-back-btn {
    color: #2140ff !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-resend-btn {
    color: #667085 !important;
    padding-inline-start: 16px !important;
    border-inline-start: 1px solid #d7deea !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-resend-btn.is-waiting,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-resend-btn:disabled {
    opacity: 1 !important;
    color: #667085 !important;
    cursor: default !important;
        margin: 0px !important;
}

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-password-error,
.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-error {
    width: min(100%, 420px) !important;
    margin: 12px auto 0 !important;
    text-align: center !important;
}

@media only screen and (max-width: 600px) {
    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] {
        width: min(100%, 420px) !important;
        max-width: 420px !important;
        padding: 18px 0 14px !important;
    }

.xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-form-area {
        padding: 0 12px !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-form-image {
        width: 100% !important;
        min-height: 200px !important;
        order: 2 !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #site-logo {
        width: 28px !important;
        height: 28px !important;
        margin-bottom: 14px !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] [data-xeid="line1"] {
        font-size: 17px !important;
        margin-bottom: 8px !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] [data-xeid="line2"] {
        font-size: 13px !important;
        margin-bottom: 18px !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-modern-login-row {
        width: 100% !important;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 6px;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-send-btn {
        width: 44px !important;
        min-width: 44px !important;
        height: 40px !important;
        font-size: 22px !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-login-input,
    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-password-input {
        height: 40px !important;
        font-size: 14px !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-code-field,
    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-actions.xcart-otp-actions--modern {
        width: 100% !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-code--multi {
        gap: 6px !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-code--multi .xcart-otp-digit--box {
        width: calc((100% - 30px) / 6) !important;
        min-width: 0 !important;
        height: 46px !important;
        font-size: 20px !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-actions.xcart-otp-actions--modern {
        gap: 12px !important;
        flex-wrap: wrap !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] .xcart-otp-modern-link {
        font-size: 13px !important;
    }

    .xcart-otp-form-wrapper[data-xcart-otp-preset="preset_14"] #xcart-otp-resend-btn {
        padding-inline-start: 12px !important;
    }
}
