/* =====================================================================
   Dritaret e klientit: Verifikimi me SMS dhe Fjalëkalimi i ri
   (ngarkohet pas style3.css / theme.css / business.css)
   ===================================================================== */
.wo-auth {
    --a-primary: var(--wo-primary, #e8541c);
    --a-primary-dark: var(--wo-primary-dark, #c9440f);
    --a-soft: var(--wo-primary-soft, #fff1ea);
    --a-ink: var(--wo-ink, #1f1b18);
    --a-muted: var(--wo-muted, #6f6761);
    --a-line: var(--wo-line, #ece6e1);
    position: fixed !important; top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;
    width: min(400px, calc(100vw - 32px)) !important;
    max-height: calc(100dvh - 32px); overflow-y: auto;
    padding: 30px 26px 24px !important;
    background: #fff !important; border: 0 !important; border-radius: 24px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35) !important;
    font-family: var(--wo-font, 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);
    color: var(--a-ink); text-align: center; cursor: default !important;
    box-sizing: border-box;
}
.wo-auth * { box-sizing: border-box; }
.wo-auth[style*="display: block"], .wo-auth[style*="display:block"] { animation: wo-auth-in .22s ease both; }
@keyframes wo-auth-in { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }

.wo-auth-close {
    position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
    border: 0; border-radius: 50%; background: #f3efeb; color: var(--a-ink);
    display: inline-flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer;
}
.wo-auth-close:hover { background: #e9e3dd; }

.wo-auth-icon {
    width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px;
    background: var(--a-soft); color: var(--a-primary);
    display: flex; align-items: center; justify-content: center; font-size: 27px;
}
.wo-auth h2 {
    margin: 0 !important; padding: 0 !important; font-size: 23px !important; font-weight: 800 !important;
    letter-spacing: -.01em; color: var(--a-ink); text-align: center !important;
}
.wo-auth .wo-auth-sub { margin: 8px auto 0 !important; max-width: 300px; color: var(--a-muted); font-size: 14.5px; line-height: 1.45; }
.wo-auth .verifikim { padding: 0 !important; }
.wo-auth .verifikim span { margin: 0 !important; }
.wo-auth .verifikim .phone {
    display: inline-block; margin: 6px 0 0 !important; padding: 4px 12px; border-radius: 999px;
    background: #f6f2ee; font-weight: 800; font-size: 15px; color: var(--a-ink); letter-spacing: .02em;
}
.wo-auth .verifikim .phone:empty { display: none; }

/* Kutitë e kodit */
.wo-auth #otp {
    display: flex !important; justify-content: center; gap: 8px;
    margin: 22px 0 0 !important; padding: 0 !important;
}
.wo-auth #otp input {
    width: 46px !important; height: 56px !important; margin: 0 !important; padding: 0 !important;
    border: 1.5px solid var(--a-line) !important; border-radius: 14px !important; background: #fff !important;
    text-align: center; font: 800 22px/1 inherit; font-size: 22px !important; color: var(--a-ink);
    caret-color: var(--a-primary); transition: border-color .15s, box-shadow .15s, background .15s;
}
.wo-auth #otp input:focus { outline: none; border-color: var(--a-primary) !important; box-shadow: 0 0 0 4px var(--a-soft); }
.wo-auth #otp input:not(:placeholder-shown), .wo-auth #otp input:valid:not([value=""]) { background: #fffaf7 !important; }

.wo-auth .OTPError { margin: 16px 0 0 !important; }
.wo-auth .OTPError span, .wo-auth #newpassError {
    display: block; margin: 0 !important; padding: 10px 12px; border-radius: 12px;
    background: #fdecea; color: #a52a1c !important; font-size: 13.5px; font-weight: 700; text-align: left;
}
.wo-auth #newpassError:empty { display: none; }
.wo-auth #newpassError { margin: 4px 0 0 !important; }

/* Butonat kryesorë */
.wo-auth #verifiko, .wo-auth.newpass > button[onclick] {
    display: flex !important; align-items: center; justify-content: center;
    width: 100% !important; height: 52px !important; margin: 22px 0 0 !important; padding: 0 !important;
    border: 0 !important; border-radius: 14px !important; cursor: pointer;
    background: var(--a-primary) !important; color: #fff !important;
    font-size: 16px !important; font-weight: 800 !important; text-transform: none; letter-spacing: 0;
    box-shadow: 0 10px 22px rgba(232, 84, 28, .25);
}
.wo-auth #verifiko:hover, .wo-auth.newpass > button[onclick]:hover { background: var(--a-primary-dark) !important; }

/* Ridërgimi */
.wo-auth-resend {
    display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
    margin-top: 16px; font-size: 14px; color: var(--a-muted);
}
.wo-auth-resend span, .wo-auth-resend a { margin: 0 !important; }
.wo-auth #clock { color: var(--a-ink) !important; font-weight: 800; font-variant-numeric: tabular-nums; }
.wo-auth #ridergo { color: var(--a-primary) !important; font-weight: 800; cursor: pointer; text-decoration: none; }
.wo-auth #ridergo:hover { text-decoration: underline; }

/* Fjalëkalimi i ri */
.wo-auth-field { display: block; margin: 16px 0 0 !important; text-align: left; font-weight: 400; }
.wo-auth-field > span { display: block; margin: 0 0 6px 2px !important; font-size: 13.5px; font-weight: 700; color: var(--a-ink) !important; }
.wo-auth.newpass input {
    display: block !important; width: 100% !important; height: 50px !important; margin: 0 !important; padding: 0 14px !important;
    border: 1.5px solid var(--a-line) !important; border-radius: 14px !important; background: #fff !important;
    font-size: 16px !important; color: var(--a-ink); outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.wo-auth.newpass input:focus { border-color: var(--a-primary) !important; box-shadow: 0 0 0 4px var(--a-soft); }
.wo-auth.newpass > span:not(#newpassError) { margin: 0 !important; }

@media (max-width: 400px) {
    .wo-auth { padding: 26px 18px 20px !important; }
    .wo-auth #otp { gap: 6px; }
    .wo-auth #otp input { width: 40px !important; height: 50px !important; font-size: 20px !important; }
}

/* Butoni ✕ nuk duhet të marrë stilin e butonave kryesorë */
.wo-auth button.wo-auth-close, .wo-auth.newpass button.wo-auth-close, .verifikim button.wo-auth-close {
    position: absolute !important; top: 12px !important; right: 12px !important; left: auto !important;
    width: 38px !important; height: 38px !important; margin: 0 !important; padding: 0 !important;
    background: #f3efeb !important; color: var(--a-ink) !important; border-radius: 50% !important;
    box-shadow: none !important; display: inline-flex !important;
}
.wo-auth button.wo-auth-close:hover { background: #e9e3dd !important; }
