.ec-phone-login { margin: 0 0 20px; }
.ec-phone-login [hidden] { display: none !important; }
.ec-pl-title { font-weight: 700; font-size: 1.05em; margin: 0 0 12px; }
.ec-pl-label { display: block; margin-bottom: 6px; font-weight: 600; }
.ec-pl-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.ec-pl-row > input { flex: 1 1 160px; min-width: 0; }
.ec-phone-login .ec-pl-code { letter-spacing: 0.4em; font-size: 1.2em; text-align: center; margin-bottom: 10px; width: 100%; }
.ec-pl-sent, .ec-pl-hint { font-size: 0.9em; opacity: 0.8; margin: 0 0 10px; }
.ec-pl-check { display: flex; gap: 8px; align-items: center; font-size: 0.9em; margin: 0 0 10px; }
.ec-pl-resend { background: none; border: 0; padding: 6px 4px; text-decoration: underline; cursor: pointer; color: inherit; }
.ec-pl-resend:disabled { opacity: 0.5; text-decoration: none; cursor: default; }
.ec-pl-error { color: #b91c1c; margin: 4px 0 10px; font-size: 0.92em; }
.ec-pl-or { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; opacity: 0.6; font-size: 0.85em; }
.ec-pl-or::before, .ec-pl-or::after { content: ""; flex: 1; border-top: 1px solid currentColor; opacity: 0.3; }

/* My Account registration (replaces WooCommerce's email form). */
.woocommerce-form-register > *:not(.ec-register) { display: none !important; }
.ec-register [hidden] { display: none !important; }
.ec-register .ec-pl-row > .ec-half { flex: 1 1 160px; margin-bottom: 0; }
.ec-register .ec-pl-row > .ec-half input { width: 100%; }
.ec-register .ec-optional { opacity: 0.6; font-weight: normal; }

/* Checkout phone confirmation. */
.ec-checkout-otp { margin-top: -6px; }
.ec-checkout-otp [hidden] { display: none !important; }
.ec-checkout-otp .ec-pl-code { width: auto; flex: 1 1 140px; margin-bottom: 0; }
.ec-co-ok { color: #15803d; font-weight: 600; margin: 0 0 10px; }
