/* WC input/form review 1.0.0-rc1; only registration, checkout and contact controls. */
.wc-whmcs #registration .form-control[readonly],
.wc-whmcs #order-standard_cart .form-control[readonly],
.wc-whmcs #registration .form-control[readonly]:focus,
.wc-whmcs #order-standard_cart .form-control[readonly]:focus {
 background-color:var(--color-bg-page);color:var(--color-text-primary);
 -webkit-text-fill-color:var(--color-text-primary);opacity:1;
}
.wc-whmcs .wc-email-gate.wc-email-confirmed {
 display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;
 min-height:0;height:auto;padding:20px 24px;margin:0 0 28px;
}
.wc-whmcs .wc-email-confirmed .wc-verified-identity {display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 240px;margin:0;line-height:1.5}
.wc-whmcs .wc-email-confirmed .wc-verified-email {overflow-wrap:anywhere}
.wc-whmcs .wc-email-confirmed button {flex:0 1 auto;margin:0;min-height:44px;font-size:14px;line-height:1.5;padding:10px 16px}
.wc-whmcs .wc-email-confirmed [data-status] {flex:1 0 100%;margin:0;min-height:0}
.wc-whmcs .wc-email-confirmed [data-status]:empty {display:none}
.wc-whmcs .wc-additional-fields .form-group>label {display:block;margin:0 0 8px;line-height:1.5}
.wc-whmcs .wc-additional-fields .prepend-icon {position:relative}
.wc-whmcs .wc-additional-fields .field-icon {margin:0}
.wc-whmcs #registration .wc-terms,.wc-whmcs #order-standard_cart .wc-terms {
 display:inline-flex;align-items:flex-start;gap:12px;text-align:left;padding:0;margin:0;max-width:100%;line-height:1.6;
}
.wc-whmcs #registration .wc-terms input[type=checkbox],.wc-whmcs #order-standard_cart .wc-terms input[type=checkbox] {
 position:static;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:3px 0 0;accent-color:var(--color-primary);
}
.wc-whmcs .wc-terms>span {min-width:0}
.wc-whmcs #registration .wc-address-cell,.wc-whmcs #order-standard_cart .wc-address-cell {min-width:0}
/* Preserve submitted address2 values in inherited contact forms; never disable/delete inputs. */
.wc-whmcs.wc-contact-form .form-group:has(input[name=address2]) {display:none}
@media (max-width:1199px) {
 .wc-whmcs #order-standard_cart .wc-address-cell {flex:0 0 100%;max-width:100%;width:100%}
}
@media (max-width:767px) {
 .wc-whmcs #registration .wc-address-cell {flex:0 0 100%;max-width:100%;width:100%}
 .wc-whmcs .wc-email-gate.wc-email-confirmed {padding:18px;gap:14px;margin-bottom:24px}
 .wc-whmcs .wc-email-confirmed button {width:100%;flex-basis:100%}
}

/* The approved registration shell is 480px wide even on desktop. */
.wc-whmcs .wc-auth-native #registration .wc-address-cell {flex:0 0 100%;max-width:100%;width:100%}
@media (min-width:576px) {
 .wc-whmcs .wc-additional-fields .form-group>label {min-height:3em}
}

.wc-whmcs #registration .wc-additional-fields .form-group>label,
.wc-whmcs #registration .wc-terms,.wc-whmcs #order-standard_cart .wc-terms {color:var(--color-text-secondary)}
.wc-whmcs #registration .wc-additional-fields select.form-control {border-color:var(--color-border)}

.wc-whmcs #order-standard_cart .wc-required-note {margin:0 0 20px;line-height:1.5;font-size:14px;color:var(--color-text-secondary)}
