.copyero-customer-account {
	--copyero-account-ink: #17324d;
	--copyero-account-muted: #5f7390;
	--copyero-account-accent: #0f6bdc;
	--copyero-account-border: #dbe5f0;
}
.copyero-customer-account .entry-title {
	margin-bottom: 32px; color: var(--copyero-account-ink);
	font-size: 32px; font-weight: 700; line-height: 1.2;
}
.copyero-customer-account .woocommerce h2 {
	margin: 0 0 24px; color: var(--copyero-account-ink);
	font-size: 26px; line-height: 1.25;
}
.copyero-customer-account .woocommerce h3 {
	color: var(--copyero-account-ink); font-size: 22px; line-height: 1.3;
}
.copyero-customer-account .woocommerce p { font-size: 15px; line-height: 1.65; }
.copyero-customer-account .woocommerce-MyAccount-content p { color: var(--copyero-account-muted); }

/* One outer card; remove WooCommerce's redundant inner login/register frame. */
.copyero-customer-account .woocommerce #customer_login {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px; width: 100%; margin: 0;
}
.copyero-customer-account .woocommerce #customer_login::before,
.copyero-customer-account .woocommerce #customer_login::after { display: none; }
.copyero-customer-account .woocommerce #customer_login .col-1,
.copyero-customer-account .woocommerce #customer_login .col-2,
.copyero-customer-account .woocommerce form.lost_reset_password,
.copyero-customer-account .woocommerce form.woocommerce-EditAccountForm {
	float: none; width: auto; min-width: 0; margin: 0; padding: 32px;
	border: 1px solid var(--copyero-account-border); border-radius: 12px;
	background: #fff; box-shadow: none;
}
.copyero-customer-account .woocommerce #customer_login form.login,
.copyero-customer-account .woocommerce #customer_login form.register {
	margin: 0; padding: 0; border: 0; border-radius: 0;
	background: transparent; box-shadow: none;
}
.copyero-customer-account .woocommerce form.lost_reset_password { max-width: 600px; }
.copyero-customer-account .woocommerce form.lost_reset_password .form-row-first,
.copyero-customer-account .woocommerce form.lost_reset_password .form-row-last {
	float: none; width: 100%;
}
.copyero-customer-account .woocommerce form .form-row { margin: 0 0 20px; padding: 0; }
.copyero-customer-account .woocommerce form .form-row label {
	display: block; margin: 0 0 8px; color: var(--copyero-account-ink);
	font-size: 14px; font-weight: 600; line-height: 1.5;
}
.copyero-customer-account .woocommerce form input[type="text"],
.copyero-customer-account .woocommerce form input[type="email"],
.copyero-customer-account .woocommerce form input[type="password"],
.copyero-customer-account .woocommerce form input[type="tel"],
.copyero-customer-account .woocommerce form select,
.copyero-customer-account .woocommerce form textarea {
	box-sizing: border-box; width: 100%; min-height: 44px; margin: 0; padding: 10px 12px;
	border: 1px solid #c5d3e2; border-radius: 6px; background: #fff;
	color: var(--copyero-account-ink); font-size: 16px; font-weight: 400;
	line-height: 1.4; box-shadow: none;
}
.copyero-customer-account .woocommerce form input[type="text"],
.copyero-customer-account .woocommerce form input[type="email"],
.copyero-customer-account .woocommerce form input[type="password"],
.copyero-customer-account .woocommerce form input[type="tel"],
.copyero-customer-account .woocommerce form select { height: 44px; }
.copyero-customer-account .woocommerce form textarea { min-height: 120px; }
.copyero-customer-account .woocommerce form input.input-text:focus { border-color: var(--copyero-account-accent); }
.copyero-customer-account .woocommerce form .password-input { position: relative; display: block; width: 100%; }
.copyero-customer-account .woocommerce form .password-input input { padding-right: 52px; }

/* The native password toggle is a field control, not an Astra submit button. */
.copyero-customer-account .woocommerce form .show-password-input,
.copyero-customer-account .woocommerce form .show-password-input:hover,
.copyero-customer-account .woocommerce form .show-password-input:focus {
	position: absolute; top: 0; right: 0; bottom: auto; left: auto;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; min-width: 44px; height: 44px; min-height: 44px;
	margin: 0; padding: 0; border: 0; border-radius: 0 6px 6px 0;
	background: transparent; color: var(--copyero-account-muted);
	font-size: 18px; line-height: 1; box-shadow: none; transform: none;
}
.copyero-customer-account .woocommerce form .show-password-input svg {
	display: block; width: 18px; height: 18px; max-width: 18px; max-height: 18px;
}
.copyero-customer-account .woocommerce form .show-password-input::after { margin: 0; font-size: 18px; line-height: 1; }
.copyero-customer-account .woocommerce .button:not(.show-password-input),
.copyero-customer-account .copyero-account-history-refresh .button {
	display: inline-flex; align-items: center; justify-content: center;
	float: none; width: auto; min-height: 44px; margin: 0; padding: 12px 20px;
	border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.2; box-shadow: none;
}

/* Keep native notice text and verification links; only adjust their presentation. */
.copyero-customer-account .woocommerce-MyAccount-content .woocommerce-info {
	margin: 0 0 24px; padding: 20px 24px; border-radius: 8px;
	background: #f3f8ff; color: var(--copyero-account-ink);
	font-size: 15px; font-weight: 400; line-height: 1.6;
}
.copyero-customer-account .woocommerce-MyAccount-content .woocommerce-info::before,
.copyero-customer-account .woocommerce-MyAccount-content .woocommerce-info::after { content: none; display: none; }
.copyero-customer-account .woocommerce-MyAccount-content .woocommerce-info:has(> a.button.wc-forward[href*="wc_send_verification="]) {
	display: flex; flex-direction: column; gap: 16px;
}
.copyero-customer-account .woocommerce-MyAccount-content .woocommerce-info:has(> a.button.wc-forward[href*="wc_send_verification="]) > a.button.wc-forward {
	order: 1; align-self: flex-start; box-sizing: border-box;
	max-width: 100%; white-space: normal; text-align: center;
}

.copyero-customer-account .woocommerce form.login .form-row:has(.woocommerce-form-login__submit) {
	display: flex; align-items: center; justify-content: space-between;
	flex-wrap: wrap; gap: 12px; margin: 8px 0 16px;
}
.copyero-customer-account .woocommerce form.login .form-row:has(.woocommerce-form-login__submit)::before,
.copyero-customer-account .woocommerce form.login .form-row:has(.woocommerce-form-login__submit)::after { display: none; }
.copyero-customer-account .woocommerce form .form-row .woocommerce-form-login__rememberme {
	display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400;
}
.copyero-customer-account .woocommerce-form-login__rememberme input { width: 16px; height: 16px; margin: 0; }
.copyero-customer-account .woocommerce form.login .lost_password { margin: 0; font-size: 14px; }

/* Preserve Login Lockdown captcha and fields; normalize its p/br spacing. */
.copyero-customer-account .woocommerce form.login p:has(> label[for="loginlockdown_captcha"]) { margin: 0 0 20px; }
.copyero-customer-account .woocommerce form.login label[for="loginlockdown_captcha"] {
	display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
	color: var(--copyero-account-muted); font-size: 14px; font-weight: 400; line-height: 1.5;
}
.copyero-customer-account .woocommerce .loginlockdown-captcha-img { display: inline-block; width: auto; max-width: 100%; height: 32px; margin: 0; }
.copyero-customer-account .woocommerce form #loginlockdown_captcha { flex: 0 0 88px; width: 88px; max-width: 100%; }
.copyero-customer-account .woocommerce form.login p:has(> label[for="loginlockdown_captcha"]) + br { display: none; }
.copyero-customer-account .woocommerce form.woocommerce-EditAccountForm fieldset { margin: 28px 0 0; padding: 0; border: 0; }
.copyero-customer-account .woocommerce form.woocommerce-EditAccountForm legend {
	margin: 0 0 20px; padding: 0; color: var(--copyero-account-ink);
	font-size: 20px; font-weight: 600; line-height: 1.3;
}

.copyero-customer-account .woocommerce-MyAccount-navigation ul {
	margin: 0; padding: 0; border: 1px solid var(--copyero-account-border);
	border-radius: 10px; list-style: none; overflow: hidden;
}
.copyero-customer-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--copyero-account-border); }
.copyero-customer-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.copyero-customer-account .woocommerce-MyAccount-navigation a { display: block; padding: 14px 16px; color: var(--copyero-account-ink); }
.copyero-customer-account .woocommerce-MyAccount-navigation .is-active a { background: #f3f8ff; color: #0a4fb6; font-weight: 700; }
.copyero-account-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 28px 0; }
.copyero-account-services > div { min-width: 0; padding: 28px; border: 1px solid var(--copyero-account-border); border-radius: 12px; background: #fafdff; }
.copyero-account-history-refresh { margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--copyero-account-border); }
.copyero-account-history-refresh p { margin-bottom: 12px; }
.copyero-account-results { margin: 32px 0; }
.copyero-account-results li,
.copyero-customer-account .wc-item-meta { overflow-wrap: anywhere; }
.copyero-customer-account .woocommerce-orders-table .button { margin: 3px; }
.copyero-customer-account a:focus-visible,
.copyero-customer-account button:focus-visible,
.copyero-customer-account input:focus-visible { outline: 3px solid var(--copyero-account-accent); outline-offset: 3px; }
@media (max-width: 768px) {
	.copyero-customer-account .woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number {
		display: block; text-align: right;
	}
	.copyero-customer-account .woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number::before {
		content: attr(data-title) ': '; float: left; font-weight: 700;
	}
}
@media (max-width: 767px) {
	.copyero-customer-account .entry-title { margin-bottom: 24px; font-size: 28px; }
	.copyero-customer-account .woocommerce #customer_login,
	.copyero-account-services { grid-template-columns: 1fr; gap: 20px; }
	.copyero-customer-account .woocommerce #customer_login .col-1,
	.copyero-customer-account .woocommerce #customer_login .col-2,
	.copyero-customer-account .woocommerce form.lost_reset_password,
	.copyero-customer-account .woocommerce form.woocommerce-EditAccountForm,
	.copyero-account-services > div { padding: 20px; }
	.copyero-customer-account .woocommerce-MyAccount-navigation { margin-bottom: 28px; }
	.copyero-customer-account .woocommerce form .form-row-first,
	.copyero-customer-account .woocommerce form .form-row-last { float: none; width: 100%; }
}
