/* YH customer email verification: compact, accessible single resend form.
   CSS hides only the legacy duplicate WHEN the new supported form is present.
   Existing submit/nonce/email verification logic is left unchanged. */
body.woocommerce-account:has(form.yhcv-verification-resend) details:has(form input[name="yh_resend_email"]) {
 display:none!important;
}
body.woocommerce-account form.yhcv-verification-resend {
 box-sizing:border-box;max-width:620px;width:100%;
 margin:16px 0 22px;padding:16px 18px;
 background:#f8fafc;border:1px solid #d8e0e9;border-radius:12px;
 color:#263242;
}
body.woocommerce-account form.yhcv-verification-resend p {
 margin:0 0 12px;line-height:1.55;
}
body.woocommerce-account form.yhcv-verification-resend label {
 display:block;margin:8px 0 6px;font-weight:650;
}
body.woocommerce-account form.yhcv-verification-resend input[type="email"] {
 display:block;box-sizing:border-box;width:100%;max-width:500px;
 min-height:44px;padding:10px 12px;
 border:1px solid #778292;border-radius:7px;background:#fff;color:#172333;
 font-size:16px;line-height:1.45;
}
body.woocommerce-account form.yhcv-verification-resend button[type="submit"]{
 box-sizing:border-box;min-height:44px;
 padding:10px 16px;border:1px solid #263242;border-radius:7px;
 background:#263242;color:#fff;font-size:15px;font-weight:650;cursor:pointer;
}
body.woocommerce-account form.yhcv-verification-resend button[type="submit"]:hover{
 background:#111b27;color:#fff;
}
body.woocommerce-account form.yhcv-verification-resend :is(input,button):focus-visible{
 outline:3px solid #1b64b0;outline-offset:3px;
}
@media(max-width:520px){
 body.woocommerce-account form.yhcv-verification-resend{max-width:100%;padding:13px;margin:12px 0 18px}
 body.woocommerce-account form.yhcv-verification-resend button[type="submit"]{width:100%}
}
