/* ===========================================================
   smd-auth.css | Samundri Shop Pro — clean professional auth UI
   =========================================================== */

.smdsp-auth-wrap {
    display: flex; justify-content: center; align-items: flex-start;
    padding: 28px 16px 48px; min-height: 50vh; direction: rtl;
    width: 100%; max-width: 100%; box-sizing: border-box;
    overflow: hidden; /* contain any absolute children */
    position: relative;
}
.smdsp-auth-card {
    width: 100%; max-width: 480px; background: #fff;
    border: 1px solid #e5e7eb; border-radius: 18px;
    box-shadow: 0 10px 32px rgba(15,23,42,.09);
    padding: 28px 24px 26px; box-sizing: border-box;
    position: relative; /* honeypot anchor */
    margin: 0 auto;
}
.smdsp-auth-head { text-align: center; margin: 0 0 22px; }
.smdsp-auth-head h2 { margin: 0 0 6px; color: #0E1B33; font-size: 1.4rem; font-weight: 800; line-height: 1.35; }
.smdsp-auth-head p { margin: 0; color: #6b7280; font-size: .88rem; line-height: 1.5; }

.smdsp-notice { border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin: 0 0 14px; border: 1px solid transparent; line-height: 1.5; }
.smdsp-notice--success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.smdsp-notice--error   { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.smdsp-notice--info    { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }

/* ONLY active step visible */
#smdsp-register .smdsp-step,
.smdsp-auth-card > .smdsp-step,
.smdsp-auth-card > form.smdsp-step { display: none !important; }
#smdsp-register .smdsp-step.is-active,
.smdsp-auth-card > .smdsp-step.is-active,
.smdsp-auth-card > form.smdsp-step.is-active { display: block !important; }

.smdsp-form { display: block; width: 100%; }

/* Label + input SAME line */
.smdsp-form .smdsp-field--row {
    display: flex !important; flex-direction: row; align-items: center; gap: 12px;
    width: 100% !important; margin: 0 0 12px !important; box-sizing: border-box;
}
.smdsp-form .smdsp-field--row .smdsp-field__label {
    flex: 0 0 120px; width: 120px; margin: 0 !important;
    font-size: .88rem; font-weight: 700; color: #0E1B33; text-align: start; line-height: 1.3;
}
.smdsp-form .smdsp-field--row input,
.smdsp-form .smdsp-field--row .smdsp-pass-wrap { flex: 1 1 auto; min-width: 0; width: auto !important; }

/* Address full width bigger */
.smdsp-form .smdsp-field--address { display: block !important; width: 100% !important; margin: 4px 0 14px !important; }
.smdsp-form .smdsp-field--address .smdsp-field__label {
    display: block; margin: 0 0 6px; font-size: .88rem; font-weight: 700; color: #0E1B33;
}
.smdsp-form .smdsp-field--address textarea {
    display: block !important; width: 100% !important; min-height: 90px;
    padding: 12px 14px !important; border: 1px solid #e5e7eb !important; border-radius: 12px !important;
    background: #fff; color: #121212; font-size: .95rem; font-family: inherit;
    box-sizing: border-box !important; resize: vertical;
}

.smdsp-req { color: #dc2626; }
.smdsp-form input[type="text"],
.smdsp-form input[type="email"],
.smdsp-form input[type="tel"],
.smdsp-form input[type="password"] {
    min-height: 46px; padding: 10px 14px !important; border: 1px solid #e5e7eb !important;
    border-radius: 10px !important; background: #fff; color: #121212; font-size: .95rem;
    box-sizing: border-box !important;
}
.smdsp-form input:focus, .smdsp-form textarea:focus {
    outline: none; border-color: #1D4ED8 !important; box-shadow: 0 0 0 3px rgba(29,78,216,.15);
}

.smdsp-pass-note {
    background: #f8fafc; border: 1px solid #e5e7eb; color: #475569; border-radius: 10px;
    padding: 9px 12px; font-size: .82rem; line-height: 1.45; margin: 2px 0 12px;
}
.smdsp-pass-wrap {
    display: flex !important; align-items: stretch; border: 1px solid #e5e7eb; border-radius: 10px;
    background: #fff; overflow: hidden; box-sizing: border-box; min-height: 46px;
}
.smdsp-pass-wrap:focus-within { border-color: #1D4ED8; box-shadow: 0 0 0 3px rgba(29,78,216,.15); }
.smdsp-pass-wrap input {
    border: none !important; box-shadow: none !important; border-radius: 0 !important;
    flex: 1 1 auto; min-width: 0; min-height: 44px;
}
.smdsp-pass-toggle {
    flex: 0 0 auto; border: none; background: #f1f5f9; color: #0E1B33; padding: 0 12px;
    font-weight: 700; font-size: .78rem; cursor: pointer; border-inline-start: 1px solid #e5e7eb; white-space: nowrap;
}
.smdsp-pass-toggle:hover { background: #e2e8f0; }

@media (max-width: 480px) {
    .smdsp-auth-wrap { padding: 16px 12px 36px; }
    .smdsp-auth-card { padding: 20px 16px 20px; border-radius: 16px; }
    .smdsp-auth-head h2 { font-size: 1.25rem; }
    .smdsp-form .smdsp-field--row { flex-direction: column; align-items: stretch; gap: 6px; }
    .smdsp-form .smdsp-field--row .smdsp-field__label { flex: none; width: 100%; }
    /* 16px prevents iOS Safari zoom on focus */
    .smdsp-form input[type="text"],
    .smdsp-form input[type="email"],
    .smdsp-form input[type="tel"],
    .smdsp-form input[type="password"],
    .smdsp-form textarea {
        font-size: 16px !important;
        min-height: 48px;
    }
    .smdsp-btn { padding: 14px 16px; min-height: 48px; font-size: 1rem; }
}

.smdsp-btn {
    width: 100%; display: block; text-align: center; border: none; cursor: pointer;
    padding: 14px 16px; border-radius: 12px; font-weight: 800; font-size: 1rem;
    text-decoration: none !important; box-sizing: border-box; line-height: 1.3;
    transition: background .15s, box-shadow .15s;
}
.smdsp-btn--primary { background: #0E1B33; color: #fff !important; box-shadow: 0 4px 12px rgba(14,27,51,.25); }
.smdsp-btn--primary:hover { background: #16264a; }
.smdsp-btn--primary:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }
.smdsp-btn--ghost {
    background: #fff; color: #0E1B33 !important; border: 1.5px solid #cbd5e1; margin-top: 10px; box-shadow: none;
}
.smdsp-btn--ghost:hover { background: #f8fafc; border-color: #0E1B33; }
.smdsp-btn--create {
    background: linear-gradient(135deg, #1D4ED8, #0E1B33); box-shadow: 0 6px 18px rgba(29,78,216,.3);
}
.smdsp-btn--create:hover { background: linear-gradient(135deg, #1e40af, #0E1B33); }

.smdsp-auth-switch {
    margin-top: 18px; padding-top: 16px; border-top: 1px solid #f1f5f9; text-align: center; line-height: 1.6;
}
.smdsp-auth-switch__link {
    color: #1D4ED8 !important; font-weight: 800; font-size: 1.05rem;
    text-decoration: none !important; border-bottom: 2px solid #1D4ED8; padding-bottom: 1px;
}
.smdsp-auth-switch__link:hover { color: #0E1B33 !important; border-color: #0E1B33; }
.smdsp-auth-switch__hint { display: block; margin-top: 6px; color: #6b7280; font-size: .88rem; }

.smdsp-otp-title { text-align: center; font-weight: 700; color: #0E1B33; margin: 0 0 14px; font-size: .95rem; }
.smdsp-otp-dest { text-align: center; font-size: .88rem; color: #6b7280; margin: 0 0 10px; }
.smdsp-otp-inputs { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; direction: ltr; }
.smdsp-otp-box {
    width: 46px; height: 54px; text-align: center; font-size: 1.25rem; font-weight: 800;
    border: 1px solid #e5e7eb; border-radius: 10px; color: #0E1B33; background: #fff; box-sizing: border-box;
}
.smdsp-otp-box:focus { outline: none; border-color: #1D4ED8; box-shadow: 0 0 0 3px rgba(29,78,216,.15); }
.smdsp-resend-btn { margin-top: 10px; }
@media (max-width: 420px) { .smdsp-otp-box { width: 38px; height: 48px; font-size: 1.1rem; } }

.smdsp-google-wrap { margin: 0 0 14px; }
.smdsp-google-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px;
    padding: 10px 16px; background: #fff; color: #1f2937 !important; text-decoration: none !important;
    border: 1.5px solid #e5e7eb; border-radius: 12px; font-weight: 700; font-size: .95rem; box-sizing: border-box;
}
.smdsp-google-btn:hover { border-color: #cbd5e1; background: #f8fafc; }
.smdsp-google-btn__icon { display: grid; place-items: center; }
.smdsp-auth-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; color: #9ca3af; font-size: .8rem; font-weight: 700; }
.smdsp-auth-divider::before, .smdsp-auth-divider::after { content: ""; flex: 1; height: 1px; background: #e5e7eb; }

/* My Account */
.smdsp-auth-styled .woocommerce,
.smdsp-auth-styled .woocommerce-account .woocommerce { max-width: 420px; margin: 0 auto; }
.smdsp-auth-styled .u-columns.col2-set { display: block !important; }
.smdsp-auth-styled .u-columns.col2-set .u-column2,
.smdsp-auth-styled .col2-set .col-2 { display: none !important; }
.smdsp-auth-styled .u-column1,
.smdsp-auth-styled .col2-set .col-1,
.smdsp-auth-styled form.woocommerce-form-login {
    width: 100% !important; float: none !important; background: #fff; border: 1px solid #e5e7eb;
    border-radius: 18px; box-shadow: 0 10px 32px rgba(15,23,42,.09); padding: 26px 22px;
    margin: 0 auto 16px; box-sizing: border-box;
}
.smdsp-auth-styled .woocommerce-form-login > h2 { text-align: center; margin: 0 0 18px; font-size: 1.25rem; color: #0E1B33; }
.smdsp-auth-styled .woocommerce-form-login label { font-weight: 700; font-size: .88rem; display: block; margin-bottom: 6px; color: #0E1B33; }
.smdsp-auth-styled .woocommerce-form-login .input-text {
    min-height: 48px; border-radius: 12px; border: 1px solid #e5e7eb; width: 100%; padding: 10px 14px;
    box-sizing: border-box; font-size: .95rem;
}
.smdsp-auth-styled .woocommerce-form-login .input-text:focus {
    outline: none; border-color: #1D4ED8; box-shadow: 0 0 0 3px rgba(29,78,216,.15);
}
.smdsp-auth-styled .woocommerce-button,
.smdsp-auth-styled .woocommerce-form-login .button {
    background: #0E1B33 !important; color: #fff !important; border-radius: 12px !important;
    padding: 14px 20px !important; font-weight: 800 !important; border: none !important;
    width: 100% !important; box-shadow: 0 4px 12px rgba(14,27,51,.25) !important; margin-top: 8px !important;
}
.smdsp-auth-styled .woocommerce-LostPassword,
.smdsp-auth-styled .lost_password { text-align: center; margin: 14px 0 0 !important; }
.smdsp-auth-styled .woocommerce-LostPassword a,
.smdsp-auth-styled .lost_password a {
    display: inline-block; color: #1D4ED8 !important; font-weight: 700; font-size: .92rem;
    text-decoration: none !important; border-bottom: 1.5px solid #93c5fd; padding: 2px;
}
.smdsp-auth-styled .woocommerce-LostPassword a:hover,
.smdsp-auth-styled .lost_password a:hover { color: #0E1B33 !important; border-color: #0E1B33; }

.smdsp-create-strip {
    max-width: 420px; margin: 0 auto 32px; text-align: center;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb; border-radius: 18px; padding: 20px 22px;
    box-shadow: 0 6px 20px rgba(15,23,42,.06);
}
.smdsp-create-strip p { margin: 0 0 12px; font-size: 1rem; font-weight: 700; color: #0E1B33; }
.smdsp-create-strip .smdsp-btn { font-size: 1.05rem; padding: 15px 18px; }
.smdsp-simple-auth { display: none !important; }

.smdsp-checkout-extras { margin: 14px 0; }
.smdsp-checkout-cod {
    background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; padding: 10px 14px;
    border-radius: 10px; font-weight: 700; font-size: .9rem; margin-bottom: 10px; text-align: center;
}
#payment .place-order .button {
    background: #0E1B33 !important; color: #fff !important; border-radius: 12px !important;
    font-weight: 800 !important; padding: 14px !important; width: 100%; border: none !important;
}


/* ===========================================================
   Custom Login / Forgot / Reset (v2.8.10)
   =========================================================== */
.smdsp-login-form .smdsp-field,
.smdsp-forgot-form .smdsp-field,
.smdsp-reset-form .smdsp-field {
    display: block !important;
    width: 100% !important;
    margin: 0 0 14px !important;
}
.smdsp-login-form .smdsp-field > .smdsp-field__label,
.smdsp-forgot-form .smdsp-field > .smdsp-field__label,
.smdsp-reset-form .smdsp-field > .smdsp-field__label {
    display: block;
    margin: 0 0 6px;
    font-size: .88rem;
    font-weight: 700;
    color: #0E1B33;
    text-align: start;
}
.smdsp-login-form .smdsp-field input[type="text"],
.smdsp-login-form .smdsp-field input[type="email"],
.smdsp-login-form .smdsp-field input[type="password"],
.smdsp-forgot-form .smdsp-field input[type="email"],
.smdsp-reset-form .smdsp-field input[type="password"] {
    display: block !important;
    width: 100% !important;
    min-height: 46px;
    padding: 10px 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff;
    color: #121212;
    font-size: .95rem;
    box-sizing: border-box !important;
}
.smdsp-login-form .smdsp-pass-wrap,
.smdsp-reset-form .smdsp-pass-wrap {
    width: 100%;
}
.smdsp-login-form .smdsp-pass-wrap input,
.smdsp-reset-form .smdsp-pass-wrap input {
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.smdsp-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #475569;
    font-size: .88rem;
    cursor: pointer;
}
.smdsp-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #1D4ED8;
    flex: 0 0 auto;
}
.smdsp-auth-links {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: .9rem;
    line-height: 1.8;
}
.smdsp-auth-links a {
    color: #1D4ED8 !important;
    font-weight: 700;
    text-decoration: none !important;
}
.smdsp-auth-links a:hover {
    color: #0E1B33 !important;
    text-decoration: underline !important;
}
.smdsp-auth-links__sep {
    display: inline-block;
    margin: 0 8px;
    color: #cbd5e1;
}
/* Honeypot — MUST NOT use left:-9999px (expands RTL document width → blank mobile page) */
.smdsp-hp {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    inset-inline-start: 0 !important;
    inset-block-start: 0 !important;
}
.smdsp-login-form .smdsp-btn,
.smdsp-forgot-form .smdsp-btn,
.smdsp-reset-form .smdsp-btn {
    margin-top: 4px;
}

/* ---------- Auth pages: clean, centered, no clutter ---------- */
body.smdsp-auth-page .samundri-page-cats,
body.smdsp-auth-page .samundri-page-cats__inner { display: none !important; }
body.smdsp-auth-page .samundri-main,
body.smdsp-auth-page .samundri-section {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-inline: 0 !important;
}
body.smdsp-auth-page .entry-content,
body.smdsp-auth-page article {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden;
}
body.smdsp-auth-page .smdsp-auth-wrap {
    padding: 20px 14px 40px;
    min-height: auto;
}
@media (max-width: 480px) {
    body.smdsp-auth-page .smdsp-auth-card {
        padding: 20px 16px 18px;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(15,23,42,.08);
    }
    body.smdsp-auth-page .smdsp-auth-head h2 { font-size: 1.3rem; }
    body.smdsp-auth-page .smdsp-field__label { font-size: .9rem; }
    body.smdsp-auth-page input[type="text"],
    body.smdsp-auth-page input[type="email"],
    body.smdsp-auth-page input[type="password"],
    body.smdsp-auth-page input[type="tel"] {
        font-size: 16px !important;
        min-height: 48px;
    }
    body.smdsp-auth-page .smdsp-btn {
        min-height: 50px;
        font-size: 1.05rem;
    }
}

/* ===========================================================
   v2.9.8 — premium auth / registration polish
   Visual-only upgrade. Functional selectors stay untouched.
   =========================================================== */

body.smdsp-auth-page .smdsp-auth-wrap {
    padding: 34px 18px 58px;
    min-height: 62vh;
    isolation: isolate;
}
body.smdsp-auth-page .smdsp-auth-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 6%, rgba(var(--gold-rgb), .29), transparent 29%),
        radial-gradient(circle at 88% 3%, rgba(16,32,62,.12), transparent 32%),
        linear-gradient(180deg, rgba(255,253,247,.65), rgba(247,244,239,0) 55%);
}
body.smdsp-auth-page .smdsp-auth-card {
    position: relative;
    z-index: 1;
    max-width: 500px;
    padding: 0 24px 26px;
    border: 1px solid rgba(var(--gold-rgb), .38);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(14,27,51,.14), 0 2px 8px rgba(14,27,51,.05);
    overflow: hidden;
}
#smdsp-register .smdsp-auth-card { max-width: 560px; }

/* Brand strip */
.smdsp-auth-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 -24px 22px;
    padding: 14px 20px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 10%, rgba(var(--gold-rgb), .72), transparent 34%),
        linear-gradient(135deg, #0e1b33 0%, #18355f 60%, #1d3a6b 100%);
    border-bottom: 3px solid var(--gold);
    overflow: hidden;
}
.smdsp-auth-brand::after {
    content: "";
    position: absolute;
    inset-inline-end: -28px;
    inset-block-start: -36px;
    width: 118px;
    height: 118px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(255,255,255,.035);
}
.smdsp-auth-brand__logo {
    position: relative;
    z-index: 1;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    overflow: hidden;
}
.smdsp-auth-brand__logo img,
.smdsp-auth-brand__logo .custom-logo { width: 34px; height: 34px; object-fit: contain; }
.smdsp-auth-brand__logo a { display: grid; place-items: center; width: 100%; height: 100%; }
.smdsp-auth-brand__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.45;
}
.smdsp-auth-brand__copy strong { color: #fff; font-size: 1.02rem; font-weight: 800; }
.smdsp-auth-brand__copy small { color: rgba(255,255,255,.72); font-size: .72rem; }
.smdsp-auth-brand__secure {
    position: relative;
    z-index: 1;
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--gold);
    color: #0e1b33;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* Heading */
.smdsp-auth-head { margin-bottom: 20px; }
.smdsp-auth-head h2 { color: #0e1b33; font-size: 1.55rem; letter-spacing: 0; }
.smdsp-auth-head h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    margin: 9px auto 0;
    border-radius: 99px;
    background: var(--gold);
}
.smdsp-auth-head p { color: #5b6475; font-size: .9rem; max-width: 380px; margin-inline: auto; }

/* Step progress */
.smdsp-auth-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 11px 12px;
    border: 1px solid rgba(var(--gold-rgb), .29);
    border-radius: 15px;
    background: linear-gradient(180deg, #fffdf9, #fbf8f2);
}
.smdsp-auth-progress__step {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.smdsp-auth-progress__num {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.5px solid rgba(var(--gold-rgb), .48);
    background: #fff;
    color: #8a8f9c;
    font-family: var(--font-latin, sans-serif);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1;
}
.smdsp-auth-progress__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.smdsp-auth-progress__txt strong { color: #0e1b33; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.smdsp-auth-progress__txt small { color: #7b8494; font-size: .68rem; white-space: nowrap; }
.smdsp-auth-progress__line { flex: 1 1 18px; min-width: 12px; height: 2px; border-radius: 99px; background: rgba(var(--gold-rgb), .38); }
.smdsp-auth-progress__step.is-current .smdsp-auth-progress__num {
    border-color: #0e1b33;
    background: #0e1b33;
    color: #fff;
    box-shadow: 0 4px 10px rgba(14,27,51,.2);
}
.smdsp-auth-progress__step.is-done .smdsp-auth-progress__num {
    border-color: var(--gold);
    background: var(--gold);
    color: #0e1b33;
}
.smdsp-auth-progress__step.is-next .smdsp-auth-progress__num { opacity: .65; }

/* Grouped fields */
.smdsp-form-block {
    margin: 0 0 13px;
    padding: 14px 14px 2px;
    border: 1px solid rgba(var(--gold-rgb), .29);
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdf9 0%, #fff 58%);
}
.smdsp-form-block__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 13px;
    padding: 0 0 11px;
    border-bottom: 1px dashed rgba(var(--gold-rgb), .38);
}
.smdsp-form-block__num {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--gold-soft);
    border: 1px solid rgba(var(--gold-rgb), .45);
    color: #0e1b33;
    font-family: var(--font-latin, sans-serif);
    font-size: .82rem;
    font-weight: 800;
}
.smdsp-form-block__copy { display: flex; flex-direction: column; line-height: 1.45; }
.smdsp-form-block__copy strong { color: #0e1b33; font-size: .92rem; font-weight: 800; }
.smdsp-form-block__copy small { color: #7b8494; font-size: .74rem; }

/* Inputs: warm, branded focus instead of generic blue */
.smdsp-form input[type="text"],
.smdsp-form input[type="email"],
.smdsp-form input[type="tel"],
.smdsp-form input[type="password"] {
    background: #fffdfb;
    border-color: rgba(var(--gold-rgb), .32) !important;
    border-radius: 11px !important;
    color: #17233b;
}
.smdsp-form .smdsp-field--address textarea { background: #fffdfb; border-color: rgba(var(--gold-rgb), .32) !important; border-radius: 11px !important; }
.smdsp-form input::placeholder,
.smdsp-form textarea::placeholder { color: #a7a08f; opacity: 1; }
.smdsp-form input:focus,
.smdsp-form textarea:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .29) !important;
}
.smdsp-pass-wrap { border-color: rgba(var(--gold-rgb), .32); background: #fffdfb; border-radius: 11px; }
.smdsp-pass-wrap:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .29); }
.smdsp-pass-toggle { background: #fbf8f2; color: #0e1b33; border-inline-start-color: rgba(var(--gold-rgb), .38); }
.smdsp-pass-toggle:hover { background: var(--gold-soft); }
.smdsp-pass-note { background: #fbf8f2; border-color: rgba(var(--gold-rgb), .29); color: #5b6475; font-size: .78rem; }

/* Buttons */
.smdsp-btn {
    border-radius: 13px;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.smdsp-btn--primary,
.smdsp-btn--create {
    background: linear-gradient(135deg, #0e1b33 0%, #1d3a6b 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(14,27,51,.25);
    box-shadow: 0 10px 24px rgba(14,27,51,.22);
}
.smdsp-btn--primary:hover,
.smdsp-btn--create:hover {
    background: var(--gold) !important;
    color: #0e1b33 !important;
    box-shadow: 0 10px 24px rgba(var(--gold-rgb), .42);
    transform: translateY(-1px);
}
.smdsp-btn--ghost {
    background: #fffdf9;
    border-color: rgba(var(--gold-rgb), .48);
    color: #0e1b33 !important;
}
.smdsp-btn--ghost:hover { background: var(--gold-soft); border-color: var(--gold); }

/* Switch + trust */
.smdsp-auth-switch {
    margin-top: 15px;
    padding: 13px 14px;
    border: 1px solid rgba(var(--gold-rgb), .29);
    border-radius: 14px;
    background: #fbf8f2;
}
.smdsp-auth-switch__link {
    color: var(--gold) !important;
    border-bottom-color: var(--gold);
    font-size: 1.32rem;
    font-weight: 900;
    line-height: 1.5;
}
.smdsp-auth-switch__link:hover { color: var(--gold) !important; border-color: var(--gold); }
.smdsp-auth-switch__hint { color: #6b7280; font-size: .82rem; }
.smdsp-auth-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 11px 0 0;
    color: #7b8494;
    font-size: .78rem;
    line-height: 1.65;
    text-align: center;
}
.smdsp-auth-trust span { font-size: .9rem; line-height: 1; }

/* OTP */
.smdsp-otp-ic {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 2px auto 12px;
    border-radius: 50%;
    border: 1px solid rgba(var(--gold-rgb), .45);
    background: linear-gradient(135deg, var(--gold-soft), #fffdf9);
    color: #0e1b33;
    font-size: 1.65rem;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(var(--gold-rgb), .19);
}
.smdsp-otp-title { font-size: 1rem; color: #0e1b33; }
.smdsp-otp-dest {
    display: table;
    margin: 0 auto 11px;
    padding: 3px 11px;
    border-radius: 999px;
    background: #fbf8f2;
    border: 1px solid rgba(var(--gold-rgb), .29);
    color: #5b6475;
    font-size: .8rem;
}
.smdsp-otp-dest[hidden] { display: none !important; }
.smdsp-otp-box {
    border-color: rgba(var(--gold-rgb), .32);
    border-radius: 11px;
    background: #fffdfb;
    color: #0e1b33;
}
.smdsp-otp-box:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .29); }
.smdsp-otp-help { margin: 10px 0 0; text-align: center; color: #8a8071; font-size: .75rem; line-height: 1.6; }

/* Google + links */
.smdsp-google-btn {
    background: #fffdfb;
    border-color: rgba(var(--gold-rgb), .32);
    border-radius: 13px;
}
.smdsp-google-btn:hover { background: var(--gold-soft); border-color: var(--gold); }
.smdsp-auth-links {
    margin-top: 14px;
    padding-top: 13px;
    border-top-color: rgba(var(--gold-rgb), .29);
    color: #5b6475;
    font-size: .86rem;
}
.smdsp-auth-links a { color: var(--gold) !important; font-weight: 900; font-size: 1.06rem; border-bottom: 2px solid var(--gold); padding-bottom: 1px; }
.smdsp-auth-links a:hover { color: var(--gold) !important; text-decoration: none !important; }
.smdsp-auth-links__sep { color: rgba(var(--gold-rgb), .88); }

@media (max-width: 560px) {
    body.smdsp-auth-page .smdsp-auth-wrap { padding: 20px 12px 42px; }
    body.smdsp-auth-page .smdsp-auth-card { padding: 0 16px 20px; border-radius: 18px; }
    .smdsp-auth-brand { margin: 0 -16px 18px; padding: 12px 14px; border-radius: 0; }
    .smdsp-auth-brand__logo { flex-basis: 38px; width: 38px; height: 38px; border-radius: 11px; }
    .smdsp-auth-brand__logo img, .smdsp-auth-brand__logo .custom-logo { width: 31px; height: 31px; }
    .smdsp-auth-brand__copy small { display: none; }
    .smdsp-auth-head h2 { font-size: 1.35rem; }
    .smdsp-form-block { padding: 12px 12px 1px; border-radius: 14px; }
    .smdsp-auth-progress { gap: 6px; padding: 9px 10px; }
    .smdsp-auth-progress__step { gap: 6px; }
    .smdsp-auth-progress__num { flex-basis: 27px; width: 27px; height: 27px; font-size: .76rem; }
    .smdsp-auth-progress__txt strong { font-size: .74rem; }
    .smdsp-auth-progress__txt small { display: none; }
    .smdsp-auth-switch { padding: 12px; }
    .smdsp-otp-box { width: 41px; height: 50px; }
}
@media (max-width: 390px) {
    .smdsp-auth-brand__secure { display: none; }
    .smdsp-auth-progress__txt small { display: none; }
    .smdsp-auth-progress__txt strong { font-size: .72rem; }
}

/* Customer self-cancel (My Account > view order) */
.smdsp-cancel-box {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid #f3c2c2;
    border-radius: 14px;
    background: #fff7f7;
}
.smdsp-cancel-box h3 { margin: 0 0 6px; color: #991b1b; font-size: 1.05rem; }
.smdsp-cancel-box p { margin: 0 0 12px; color: #5b6475; font-size: .9rem; line-height: 1.7; }
.smdsp-cancel-btn {
    display: inline-block;
    background: #b91c1c;
    color: #fff !important;
    border: 0;
    border-radius: 10px;
    padding: 11px 20px;
    font-weight: 800;
    font-size: .95rem;
    cursor: pointer;
}
.smdsp-cancel-btn:hover { background: #991b1b; }
.smdsp-delete-form { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #f3c2c2; }
.smdsp-delete-btn { background: #7f1d1d; }
.smdsp-delete-btn:hover { background: #450a0a; }
