/* Native WooCommerce account forms; scoped away from checkout and logged-in account. */
body.cdo-theme .cdo-theme-account-auth {padding-block:48px 64px;color:#203858;}
.cdo-theme-account-auth > .cdo-theme-page {max-width:960px;margin-inline:auto;}
.cdo-theme-account-auth .cdo-theme-auth-heading {max-width:460px;margin:0 auto 24px;text-align:center;}
.cdo-theme-account-auth .cdo-theme-auth-heading :is(h1,h2) {margin:0 0 10px;color:#00152b;font-size:clamp(26px,3vw,32px);font-weight:750;line-height:1.2;letter-spacing:-.025em;}
.cdo-theme-account-auth .cdo-theme-auth-heading p {margin:0;color:#64758c;font-size:14px;line-height:1.6;}
.cdo-theme-account-auth .cdo-theme-entry-content > .woocommerce {width:100%;max-width:460px;margin-inline:auto;}
.cdo-theme-account-auth .cdo-theme-entry-content > .woocommerce:has(#customer_login) {max-width:960px;}
/* A single login uses the contextual heading above; the optional two-column form keeps its labels. */
.cdo-theme-account-auth .cdo-theme-entry-content > .woocommerce > h2:has(+ form.woocommerce-form-login) {display:none;}
.cdo-theme-account-auth #customer_login {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:0;}
.cdo-theme-account-auth #customer_login::before,
.cdo-theme-account-auth #customer_login::after {content:none;display:none;}
.cdo-theme-account-auth #customer_login > :is(.u-column1,.u-column2) {float:none;width:100%;min-width:0;margin:0;}
.cdo-theme-account-auth #customer_login h2 {margin:0 0 14px;color:#203858;font-size:20px;line-height:1.3;}
body.cdo-theme .cdo-theme-account-auth .woocommerce form:is(.login,.register,.lost_reset_password) {
  width:100%;margin:0;padding:28px;border:1px solid #e2e7ef;border-radius:16px;background:#fff;
  box-shadow:0 8px 28px rgba(0,21,43,.035);text-align:left;
}
.cdo-theme-account-auth .woocommerce form p {margin:0 0 18px;font-size:14px;line-height:1.6;}
.cdo-theme-account-auth .woocommerce form p:last-child {margin-bottom:0;}
.cdo-theme-account-auth .woocommerce form .form-row {float:none;width:100%;min-width:0;margin:0 0 18px;padding:0;}
.cdo-theme-account-auth .woocommerce form .form-row label {display:block;margin:0 0 7px;color:#203858;font-size:13px;font-weight:600;line-height:1.45;}
.cdo-theme-account-auth .woocommerce form .required {color:#d60051;text-decoration:none;}
body.cdo-theme .cdo-theme-account-auth .woocommerce form input.input-text {
  display:block;box-sizing:border-box;width:100%;min-width:0;min-height:48px;margin:0;padding:11px 13px;
  border:1px solid #cfd8e5;border-radius:9px;background:#fff;color:#203858;
  font:400 14px/1.5 Inter,system-ui,sans-serif;box-shadow:none;
}
body.cdo-theme .cdo-theme-account-auth .woocommerce form input.input-text:focus {border-color:#683bcd;outline:2px solid rgba(104,59,205,.16);outline-offset:1px;}
.cdo-theme-account-auth .woocommerce .password-input {position:relative;display:block;width:100%;}
body.cdo-theme .cdo-theme-account-auth .woocommerce form .password-input input.input-text {padding-right:46px;}
body.cdo-theme .cdo-theme-account-auth .woocommerce form .show-password-input {position:absolute;inset:50% 6px auto auto;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;margin:0;border:0;border-radius:6px;background:transparent;color:#64758c;line-height:1;cursor:pointer;}
.cdo-theme-account-auth .woocommerce .show-password-input::after {margin:0;}
.cdo-theme-account-auth .woocommerce form label.woocommerce-form-login__rememberme {display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:13px;font-weight:400;}
.cdo-theme-account-auth .woocommerce input[type="checkbox"] {flex:none;width:16px;height:16px;min-height:0;margin:0;accent-color:#683bcd;}
body.cdo-theme .cdo-theme-account-auth .woocommerce form button.button {
  display:block;float:none;width:100%;min-height:46px;margin:0;padding:12px 18px;border:1px solid #683bcd;border-radius:9px;
  background:#683bcd;color:#fff;font:650 14px/1.45 Inter,system-ui,sans-serif;text-align:center;text-decoration:none;box-shadow:none;
}
body.cdo-theme .cdo-theme-account-auth .woocommerce form button.button:hover {border-color:#542da6;background:#542da6;color:#fff;}
body.cdo-theme .cdo-theme-account-auth .woocommerce form button.button:disabled {opacity:.55;cursor:not-allowed;}
.cdo-theme-account-auth .woocommerce a {color:#683bcd;text-underline-offset:3px;}
.cdo-theme-account-auth .woocommerce .lost_password {text-align:center;}
.cdo-theme-account-auth .woocommerce .lost_password a {font-size:13px;}
.cdo-theme-account-auth .woocommerce :is(.woocommerce-error,.woocommerce-message,.woocommerce-info) {margin:0 0 20px;padding:14px 16px;border:1px solid #dce5ef;border-radius:10px;background:#f6f8fb;color:#203858;font-size:13px;line-height:1.6;list-style:none;}
.cdo-theme-account-auth .woocommerce .woocommerce-error {border-color:#f0ccd5;background:#fff5f7;color:#a82043;}
.cdo-theme-account-auth .woocommerce :is(.woocommerce-error,.woocommerce-message,.woocommerce-info)::before {display:none;}
.cdo-theme-account-auth .woocommerce :is(.woocommerce-privacy-policy-text,.woocommerce-password-hint,.woocommerce-password-strength) {margin:0 0 18px;font-size:12px;line-height:1.6;}
.cdo-theme-account-auth .woocommerce .woocommerce-privacy-policy-text p {font-size:12px;}
@media(max-width:639px) {
  body.cdo-theme .cdo-theme-account-auth {padding-block:32px 44px;}
  .cdo-theme-account-auth #customer_login {grid-template-columns:minmax(0,1fr);gap:28px;}
  body.cdo-theme .cdo-theme-account-auth .woocommerce form:is(.login,.register,.lost_reset_password) {padding:22px 20px;}
}
