
/* ECU-HUB My Account UI v1.0.2
   Scope: My Account only. No checkout/payment-gateway styling.
*/

body.woocommerce-account {
    --eh-panel: #08111f;
    --eh-panel-2: #0b1525;
    --eh-border: rgba(90,200,255,.24);
    --eh-border-strong: rgba(90,200,255,.46);
    --eh-text: #f7fbff;
    --eh-muted: #a9b8ca;
    --eh-cyan: #00c8ff;
    --eh-blue: #0b84ff;
    --eh-danger: #ff5d68;
    --eh-radius: 12px;
}

/* ---------- shared ---------- */

body.woocommerce-account .entry-title {
    color: var(--eh-text);
    margin-bottom: 26px;
    line-height: 1.15;
}

body.woocommerce-account .woocommerce a {
    color: var(--eh-cyan);
}

body.woocommerce-account .woocommerce a:hover {
    color: #61ddff;
}

body.woocommerce-account .woocommerce form .form-row {
    margin: 0 0 18px;
}

body.woocommerce-account .woocommerce form .form-row label {
    margin-bottom: 7px;
    color: var(--eh-text);
    font-weight: 600;
}

body.woocommerce-account .woocommerce form .required {
    color: var(--eh-danger);
}

body.woocommerce-account .woocommerce input.input-text,
body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.woocommerce-account .woocommerce input[type="tel"],
body.woocommerce-account .woocommerce select,
body.woocommerce-account .woocommerce textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--eh-border);
    border-radius: 10px;
    background: #060e1a;
    color: var(--eh-text);
    outline: 0;
    box-shadow: none;
}

body.woocommerce-account .woocommerce input.input-text:focus,
body.woocommerce-account .woocommerce input[type="text"]:focus,
body.woocommerce-account .woocommerce input[type="email"]:focus,
body.woocommerce-account .woocommerce input[type="password"]:focus,
body.woocommerce-account .woocommerce input[type="tel"]:focus,
body.woocommerce-account .woocommerce select:focus,
body.woocommerce-account .woocommerce textarea:focus {
    border-color: var(--eh-cyan);
    box-shadow: 0 0 0 3px rgba(0,200,255,.10);
}

/* WooCommerce password visibility icon */
body.woocommerce-account .woocommerce .password-input .show-password-input,
body.woocommerce-account .woocommerce .show-password-input {
    color: var(--eh-cyan) !important;
    opacity: .92 !important;
}

body.woocommerce-account .woocommerce .password-input .show-password-input::before,
body.woocommerce-account .woocommerce .password-input .show-password-input::after,
body.woocommerce-account .woocommerce .show-password-input::before,
body.woocommerce-account .woocommerce .show-password-input::after {
    color: var(--eh-cyan) !important;
}

body.woocommerce-account .woocommerce .password-input .show-password-input:hover,
body.woocommerce-account .woocommerce .show-password-input:hover {
    color: #61ddff !important;
    opacity: 1 !important;
}

body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce input.button {
    min-height: 46px;
    padding: 11px 24px;
    border: 0;
    border-radius: 10px;
    background: var(--eh-blue);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none;
    text-decoration: none;
}

body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-account .woocommerce input.button:hover {
    background: var(--eh-blue);
    color: #fff;
    filter: brightness(1.07);
}

/* ---------- logged out: Login / Register ---------- */

body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 28px !important;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set::before,
body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set::after {
    display: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    min-width: 0 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column1 > h2,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 > h2 {
    margin: 0 0 14px;
    color: var(--eh-text);
    font-size: clamp(1.5rem,1.2rem + .65vw,2rem);
}

body.woocommerce-account:not(.logged-in) .woocommerce form.login,
body.woocommerce-account:not(.logged-in) .woocommerce form.register,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register {
    margin: 0 !important;
    padding: 28px !important;
    border: 1px solid var(--eh-border) !important;
    border-radius: var(--eh-radius) !important;
    background: var(--eh-panel) !important;
    box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-privacy-policy-text,
body.woocommerce-account:not(.logged-in) .woocommerce form.register > p {
    color: var(--eh-muted);
    line-height: 1.7;
}

body.woocommerce-account .woocommerce form .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 12px 14px 0;
}

/* ---------- logged in: standard two-column layout ---------- */

body.logged-in.woocommerce-account .entry-content .woocommerce {
    display: grid !important;
    grid-template-columns: 245px minmax(0,1fr) !important;
    column-gap: 30px !important;
    row-gap: 22px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.logged-in.woocommerce-account .entry-content .woocommerce > .woocommerce-MyAccount-navigation {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

body.logged-in.woocommerce-account .entry-content .woocommerce > .woocommerce-MyAccount-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

body.logged-in.woocommerce-account .entry-content .woocommerce > .woocommerce-message,
body.logged-in.woocommerce-account .entry-content .woocommerce > .woocommerce-info,
body.logged-in.woocommerce-account .entry-content .woocommerce > .woocommerce-error {
    grid-column: 1 / -1 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    clear: none !important;
    width: 245px !important;
    max-width: 245px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--eh-border) !important;
    border-radius: var(--eh-radius) !important;
    background: var(--eh-panel) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: block !important;
    margin: 0 !important;
    padding: 8px !important;
    list-style: none !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    padding: 13px 14px !important;
    border-radius: 8px !important;
    color: var(--eh-muted) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: rgba(255,255,255,.035) !important;
    color: var(--eh-text) !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: rgba(11,132,255,.13) !important;
    color: #fff !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before {
    content: "" !important;
    position: absolute !important;
    top: 10px !important;
    bottom: 10px !important;
    left: 0 !important;
    width: 3px !important;
    border-radius: 4px !important;
    background: var(--eh-cyan) !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 26px 28px !important;
    border: 1px solid var(--eh-border) !important;
    border-radius: var(--eh-radius) !important;
    background: var(--eh-panel) !important;
    color: var(--eh-text) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content > :first-child {
    margin-top: 0 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content > :last-child {
    margin-bottom: 0 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content p {
    line-height: 1.7;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content h2,
body.logged-in.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: var(--eh-text);
}

/* ---------- notices ---------- */

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
    margin: 0 0 22px !important;
    padding: 17px 18px 17px 46px !important;
    border: 1px solid var(--eh-border) !important;
    border-top: 2px solid var(--eh-cyan) !important;
    border-radius: 10px !important;
    background: var(--eh-panel-2) !important;
    color: var(--eh-text) !important;
    box-shadow: none !important;
    line-height: 1.55 !important;
    box-sizing: border-box !important;
}

body.woocommerce-account .woocommerce-error {
    border-top-color: var(--eh-danger) !important;
}

body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-info::before {
    color: var(--eh-cyan) !important;
}

body.woocommerce-account .woocommerce-error::before {
    color: var(--eh-danger) !important;
}

body.woocommerce-account .woocommerce-message .button,
body.woocommerce-account .woocommerce-info .button,
body.woocommerce-account .woocommerce-error .button {
    margin-left: 12px;
}

/* ---------- tables ---------- */

body.woocommerce-account .woocommerce table.shop_table {
    width: 100% !important;
    margin: 0 0 22px !important;
    border: 1px solid var(--eh-border) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: var(--eh-text) !important;
    overflow: hidden !important;
}

body.woocommerce-account .woocommerce table.shop_table th,
body.woocommerce-account .woocommerce table.shop_table td {
    padding: 14px !important;
    border-color: var(--eh-border) !important;
    vertical-align: middle !important;
}

body.woocommerce-account .woocommerce table.shop_table th {
    background: rgba(255,255,255,.03) !important;
    color: var(--eh-text) !important;
}

body.woocommerce-account .woocommerce table.shop_table td {
    color: var(--eh-muted) !important;
}

/* ---------- addresses ---------- */

body.woocommerce-account .woocommerce-Address {
    padding: 20px !important;
    border: 1px solid var(--eh-border) !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.018) !important;
}

body.woocommerce-account .woocommerce-Address address {
    color: var(--eh-muted);
    line-height: 1.7;
}

/* ---------- tablet ---------- */

@media (max-width: 900px) {
    body.logged-in.woocommerce-account .entry-content .woocommerce {
        grid-template-columns: 215px minmax(0,1fr) !important;
        column-gap: 20px !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
        width: 215px !important;
        max-width: 215px !important;
    }
}

/* ---------- mobile ---------- */

@media (max-width: 767px) {
    body.woocommerce-account .entry-title {
        margin-bottom: 20px;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce form.login,
    body.woocommerce-account:not(.logged-in) .woocommerce form.register,
    body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
    body.woocommerce-account:not(.logged-in) .woocommerce-form-register {
        padding: 20px !important;
    }

    body.logged-in.woocommerce-account .entry-content .woocommerce {
        display: block !important;
        width: 100% !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 20px !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 6px !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li a {
        height: 100% !important;
        border: 1px solid transparent !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
        border-color: var(--eh-border-strong) !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before {
        display: none !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
        padding: 20px !important;
    }

    body.woocommerce-account .woocommerce-message .button,
    body.woocommerce-account .woocommerce-info .button,
    body.woocommerce-account .woocommerce-error .button {
        float: none !important;
        display: inline-flex !important;
        margin: 12px 0 0 !important;
    }
}

@media (max-width: 520px) {
    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
        padding: 18px !important;
    }
}


/* v1.0.3 final password-eye override */
body.woocommerce-account .woocommerce .password-input .show-password-input,
body.woocommerce-account .woocommerce .show-password-input {
    color: #00c8ff !important;
    opacity: 1 !important;
}

body.woocommerce-account .woocommerce .password-input .show-password-input::before,
body.woocommerce-account .woocommerce .password-input .show-password-input::after,
body.woocommerce-account .woocommerce .show-password-input::before,
body.woocommerce-account .woocommerce .show-password-input::after {
    color: #00c8ff !important;
}

/* =========================================================
   SET PASSWORD — FINAL STRUCTURAL LAYOUT v1.3.0
   The form is moved by JS into .eh-set-password-shell.
========================================================= */

/* Only the reset-password endpoint gets these rules. */
body.ecu-hub-set-password-page #content,
body.ecu-hub-set-password-page .site-content,
body.ecu-hub-set-password-page .site-content > .ast-container,
body.ecu-hub-set-password-page #primary,
body.ecu-hub-set-password-page .content-area,
body.ecu-hub-set-password-page .site-main,
body.ecu-hub-set-password-page article,
body.ecu-hub-set-password-page .entry-content {
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
}

body.ecu-hub-set-password-page #primary,
body.ecu-hub-set-password-page .content-area,
body.ecu-hub-set-password-page .site-main,
body.ecu-hub-set-password-page article,
body.ecu-hub-set-password-page .entry-content {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

/*
 * Dedicated full-width shell.
 * This completely removes the form from WooCommerce's narrow account parent.
 */
body.ecu-hub-set-password-page .eh-set-password-shell {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;

	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;

	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/*
 * Desktop / laptop:
 * 60% of the VIEWPORT width, not 60% of a WooCommerce parent.
 * Cap at 960px on very large displays.
 */
body.ecu-hub-set-password-page .eh-set-password-shell .woocommerce-ResetPassword.lost_reset_password {
	display: block !important;
	float: none !important;
	clear: both !important;

	width: min(50vw, 900px) !important;
	max-width: calc(100% - 32px) !important;
	min-width: 0 !important;

	margin: 0 auto 22px !important;
	padding: 30px 34px !important;

	border: 1px solid var(--eh-border) !important;
	border-radius: var(--eh-radius) !important;
	background: var(--eh-panel) !important;

	position: static !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;

	box-sizing: border-box !important;
}

/* WooCommerce messages/errors use exactly the same centered width. */
body.ecu-hub-set-password-page .eh-set-password-shell > .woocommerce-message,
body.ecu-hub-set-password-page .eh-set-password-shell > .woocommerce-info,
body.ecu-hub-set-password-page .eh-set-password-shell > .woocommerce-error {
	width: min(50vw, 900px) !important;
	max-width: calc(100% - 32px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

body.ecu-hub-set-password-page .woocommerce-ResetPassword.lost_reset_password > p:first-child {
	margin: 0 0 24px !important;
	color: var(--eh-muted) !important;
	line-height: 1.65 !important;
}

body.ecu-hub-set-password-page .woocommerce-ResetPassword.lost_reset_password .form-row,
body.ecu-hub-set-password-page .woocommerce-ResetPassword.lost_reset_password .form-row-first,
body.ecu-hub-set-password-page .woocommerce-ResetPassword.lost_reset_password .form-row-last,
body.ecu-hub-set-password-page .woocommerce-ResetPassword.lost_reset_password .password-input {
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.ecu-hub-set-password-page .woocommerce-ResetPassword.lost_reset_password input[type="password"],
body.ecu-hub-set-password-page .woocommerce-ResetPassword.lost_reset_password input[type="text"] {
	width: 100% !important;
	min-height: 50px !important;
	box-sizing: border-box !important;
}

body.ecu-hub-set-password-page .woocommerce-password-strength,
body.ecu-hub-set-password-page .woocommerce-password-hint {
	display: none !important;
}

body.ecu-hub-set-password-page .woocommerce-ResetPassword.lost_reset_password::after {
	content: none !important;
	display: none !important;
}

/* Password guidance / validation */
body.woocommerce-account .eh-password-guide,
body.woocommerce-account .eh-password-feedback {
	display: block;
	margin-top: 8px;
	font-size: .92rem;
	line-height: 1.45;
}

body.woocommerce-account .eh-password-guide {
	color: var(--eh-muted);
}

body.woocommerce-account .eh-password-feedback.is-error {
	color: #ff7b84;
}

body.woocommerce-account .eh-password-feedback.is-valid {
	color: #7fe5b0;
}

body.woocommerce-account input.eh-password-invalid {
	border-color: #ff5d68 !important;
	box-shadow: 0 0 0 3px rgba(255,93,104,.10) !important;
}

body.woocommerce-account input.eh-password-valid {
	border-color: rgba(127,229,176,.70) !important;
}

body.woocommerce-account .woocommerce button.button.eh-password-submit-disabled,
body.woocommerce-account .woocommerce input.button.eh-password-submit-disabled {
	opacity: .55 !important;
	cursor: not-allowed !important;
	filter: none !important;
	transform: none !important;
}

/* Tablet: still dynamic, slightly wider for comfortable inputs. */
@media (max-width: 900px) {
	body.ecu-hub-set-password-page .eh-set-password-shell .woocommerce-ResetPassword.lost_reset_password,
	body.ecu-hub-set-password-page .eh-set-password-shell > .woocommerce-message,
	body.ecu-hub-set-password-page .eh-set-password-shell > .woocommerce-info,
	body.ecu-hub-set-password-page .eh-set-password-shell > .woocommerce-error {
		width: min(72vw, 700px) !important;
		max-width: calc(100% - 28px) !important;
	}
}

/* Phone: near-full width, as previously approved. */
@media (max-width: 600px) {
	body.ecu-hub-set-password-page .eh-set-password-shell .woocommerce-ResetPassword.lost_reset_password,
	body.ecu-hub-set-password-page .eh-set-password-shell > .woocommerce-message,
	body.ecu-hub-set-password-page .eh-set-password-shell > .woocommerce-info,
	body.ecu-hub-set-password-page .eh-set-password-shell > .woocommerce-error {
		width: calc(100% - 20px) !important;
		max-width: none !important;
	}

	body.ecu-hub-set-password-page .eh-set-password-shell .woocommerce-ResetPassword.lost_reset_password {
		padding: 20px !important;
		margin-bottom: 16px !important;
	}
}

/*
 * After JS moves the form/notices out, the original WooCommerce
 * reset wrapper is allowed to collapse completely.
 */
body.ecu-hub-set-password-page .eh-password-source-empty {
	display: none !important;
}

/* =========================================================
   v1.2.2 — ADDRESSES PAGE
   Scoped only to My Account > Addresses.
========================================================= */

/* Remove the excessive page-height / bottom-space on Addresses only. */
body.ecu-hub-addresses-page #content,
body.ecu-hub-addresses-page .site-content,
body.ecu-hub-addresses-page .site-content > .ast-container,
body.ecu-hub-addresses-page #primary,
body.ecu-hub-addresses-page .content-area,
body.ecu-hub-addresses-page .site-main,
body.ecu-hub-addresses-page article,
body.ecu-hub-addresses-page .entry-content {
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
}

body.ecu-hub-addresses-page #primary,
body.ecu-hub-addresses-page .content-area,
body.ecu-hub-addresses-page .site-main,
body.ecu-hub-addresses-page article,
body.ecu-hub-addresses-page .entry-content {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

body.ecu-hub-addresses-page .woocommerce-MyAccount-content {
	margin-bottom: 24px !important;
}

/* Address wrapper */
body.ecu-hub-addresses-page .woocommerce-Addresses {
	margin-top: 24px !important;
}

body.ecu-hub-addresses-page .woocommerce-Address {
	padding: 0 !important;
	border: 1px solid var(--eh-border) !important;
	border-radius: 10px !important;
	background: #07101d !important;
	overflow: hidden !important;
	box-shadow: none !important;
}

/* Header / title area — remove Astra/WooCommerce white background */
body.ecu-hub-addresses-page .woocommerce-Address-title,
body.ecu-hub-addresses-page .woocommerce-Address-title.title,
body.ecu-hub-addresses-page .woocommerce-Address header,
body.ecu-hub-addresses-page .woocommerce-Address .title {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
	margin: 0 !important;
	padding: 18px 20px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--eh-border) !important;
	background: #0b1525 !important;
	color: var(--eh-text) !important;
	box-shadow: none !important;
}

body.ecu-hub-addresses-page .woocommerce-Address-title h2,
body.ecu-hub-addresses-page .woocommerce-Address-title h3,
body.ecu-hub-addresses-page .woocommerce-Address header h2,
body.ecu-hub-addresses-page .woocommerce-Address header h3 {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: var(--eh-text) !important;
	font-size: 1.18rem !important;
	line-height: 1.35 !important;
}

body.ecu-hub-addresses-page .woocommerce-Address-title a.edit,
body.ecu-hub-addresses-page .woocommerce-Address header a.edit {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: var(--eh-cyan) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

body.ecu-hub-addresses-page .woocommerce-Address-title a.edit:hover,
body.ecu-hub-addresses-page .woocommerce-Address header a.edit:hover {
	color: #61ddff !important;
}

/* Address body */
body.ecu-hub-addresses-page .woocommerce-Address address {
	margin: 0 !important;
	padding: 18px 20px !important;
	background: #07101d !important;
	color: var(--eh-muted) !important;
	font-style: normal !important;
	line-height: 1.7 !important;
}

/* The introductory sentence */
body.ecu-hub-addresses-page .woocommerce-MyAccount-content > p:first-child {
	margin-bottom: 20px !important;
	color: var(--eh-text) !important;
}

/* Mobile */
@media (max-width: 767px) {
	body.ecu-hub-addresses-page .woocommerce-Address-title,
	body.ecu-hub-addresses-page .woocommerce-Address-title.title,
	body.ecu-hub-addresses-page .woocommerce-Address header,
	body.ecu-hub-addresses-page .woocommerce-Address .title {
		align-items: flex-start !important;
		padding: 16px !important;
	}

	body.ecu-hub-addresses-page .woocommerce-Address address {
		padding: 16px !important;
	}

	body.ecu-hub-addresses-page .woocommerce-MyAccount-content {
		margin-bottom: 18px !important;
	}
}


/* =========================================================
   v1.2.3 — UNIFIED MY ACCOUNT FOOTER SPACING
   Applies to every normal logged-in My Account tab.
========================================================= */

body.ecu-hub-account-content-page #content,
body.ecu-hub-account-content-page .site-content,
body.ecu-hub-account-content-page .site-content > .ast-container,
body.ecu-hub-account-content-page #primary,
body.ecu-hub-account-content-page .content-area,
body.ecu-hub-account-content-page .site-main,
body.ecu-hub-account-content-page article,
body.ecu-hub-account-content-page .entry-content {
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
}

body.ecu-hub-account-content-page #primary,
body.ecu-hub-account-content-page .content-area,
body.ecu-hub-account-content-page .site-main,
body.ecu-hub-account-content-page article,
body.ecu-hub-account-content-page .entry-content {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

/* Same clean gap below the account block on every tab. */
body.ecu-hub-account-content-page .entry-content > .woocommerce,
body.ecu-hub-account-content-page .entry-content .woocommerce {
	margin-bottom: 24px !important;
}

/* Do not add extra bottom space twice on the inner content panel. */
body.ecu-hub-account-content-page .woocommerce-MyAccount-content {
	margin-bottom: 0 !important;
}

@media (max-width: 900px) {
	body.ecu-hub-account-content-page .entry-content > .woocommerce,
	body.ecu-hub-account-content-page .entry-content .woocommerce {
		margin-bottom: 22px !important;
	}
}

@media (max-width: 767px) {
	body.ecu-hub-account-content-page .entry-content > .woocommerce,
	body.ecu-hub-account-content-page .entry-content .woocommerce {
		margin-bottom: 18px !important;
	}
}


/* =========================================================
   v1.4.0 — EXACTLY ONE PASSWORD EYE
   Set Password only. No layout changes.
========================================================= */

/* Hide WooCommerce's own eye completely on Set Password only. */
body.ecu-hub-set-password-page .password-input .show-password-input,
body.ecu-hub-set-password-page .show-password-input {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/*
 * Hide browser-native reveal/clear controls (notably Microsoft Edge)
 * so they cannot appear beside our single eye.
 */
body.ecu-hub-set-password-page input[type="password"]::-ms-reveal,
body.ecu-hub-set-password-page input[type="password"]::-ms-clear,
body.ecu-hub-set-password-page input[type="text"]::-ms-reveal,
body.ecu-hub-set-password-page input[type="text"]::-ms-clear {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

/* Hide WebKit credential/reveal affordances if the browser exposes them. */
body.ecu-hub-set-password-page input::-webkit-credentials-auto-fill-button,
body.ecu-hub-set-password-page input::-webkit-contacts-auto-fill-button {
	visibility: hidden !important;
	display: none !important;
	pointer-events: none !important;
	position: absolute !important;
	right: 0 !important;
}

/* The wrapper does not alter the approved field dimensions. */
body.ecu-hub-set-password-page .eh-single-eye-wrap {
	display: block !important;
	position: relative !important;
	width: 100% !important;
}

body.ecu-hub-set-password-page .eh-single-eye-wrap > input {
	padding-right: 48px !important;
}

/* The ONLY visible eye. */
body.ecu-hub-set-password-page .eh-single-password-eye,
body.ecu-hub-set-password-page .eh-single-password-eye:hover,
body.ecu-hub-set-password-page .eh-single-password-eye:focus,
body.ecu-hub-set-password-page .eh-single-password-eye:active {
	position: absolute !important;
	top: 50% !important;
	right: 14px !important;
	transform: translateY(-50%) !important;
	z-index: 50 !important;

	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	visibility: visible !important;
	opacity: 1 !important;

	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	min-height: 24px !important;

	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;

	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;

	color: #00c8ff !important;
	-webkit-text-fill-color: #00c8ff !important;

	cursor: pointer !important;
	pointer-events: auto !important;
}

body.ecu-hub-set-password-page .eh-single-password-eye:hover {
	color: #61ddff !important;
	-webkit-text-fill-color: #61ddff !important;
}

body.ecu-hub-set-password-page .eh-single-password-eye svg {
	display: block !important;
	width: 17px !important;
	height: 17px !important;
	overflow: visible !important;
	color: inherit !important;
}

body.ecu-hub-set-password-page .eh-single-password-eye svg path {
	fill: none !important;
	stroke: currentColor !important;
}

body.ecu-hub-set-password-page .eh-single-password-eye svg circle {
	fill: currentColor !important;
	stroke: none !important;
}


/* =========================================================
   v1.5.0 — Google Login + direct registration
   ========================================================= */

body.woocommerce-account:not(.logged-in) .eh-social-login {
    margin: 0 0 28px;
    padding: 22px 24px 18px;
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius);
    background: var(--eh-panel);
    text-align: center;
}

body.woocommerce-account:not(.logged-in) .eh-social-login-title {
    margin: 0 0 14px;
    color: var(--eh-text);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}

body.woocommerce-account:not(.logged-in) .eh-social-login-buttons {
    display: grid;
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
    gap: 10px;
}

body.woocommerce-account:not(.logged-in) .woocommerce a.eh-social-button,
body.woocommerce-account:not(.logged-in) a.eh-social-button {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    text-decoration: none !important;
    font-weight: 600;
    line-height: 1.2;
    box-sizing: border-box;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

body.woocommerce-account:not(.logged-in) .woocommerce a.eh-google-button,
body.woocommerce-account:not(.logged-in) a.eh-google-button {
    border: 1px solid #747775 !important;
    background: #fff !important;
    color: #1f1f1f !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce a.eh-google-button:hover,
body.woocommerce-account:not(.logged-in) a.eh-google-button:hover {
    background: #f8faff !important;
    color: #1f1f1f !important;
    border-color: #5f6368 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
}

body.woocommerce-account:not(.logged-in) .eh-google-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-flex;
}

body.woocommerce-account:not(.logged-in) .eh-google-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

body.woocommerce-account:not(.logged-in) .eh-social-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 0;
    color: var(--eh-muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
}

body.woocommerce-account:not(.logged-in) .eh-social-divider::before,
body.woocommerce-account:not(.logged-in) .eh-social-divider::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: var(--eh-border);
}

body.woocommerce-account:not(.logged-in) .eh-social-divider span {
    flex: 0 0 auto;
}

body.woocommerce-account:not(.logged-in) .eh-register-name-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

body.woocommerce-account:not(.logged-in) .eh-register-name-grid .form-row {
    float: none !important;
    width: 100% !important;
    min-width: 0;
}

body.woocommerce-account:not(.logged-in) .eh-register-password-guide {
    margin: -6px 0 18px;
    color: var(--eh-muted);
    font-size: .9rem;
    line-height: 1.5;
}

@media (max-width: 760px) {
    body.woocommerce-account:not(.logged-in) .eh-social-login {
        margin-bottom: 22px;
        padding: 20px;
    }

    body.woocommerce-account:not(.logged-in) .eh-social-login-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    body.woocommerce-account:not(.logged-in) .eh-register-name-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce a.eh-social-button,
    body.woocommerce-account:not(.logged-in) a.eh-social-button {
        width: 100%;
    }
}


/* =========================================================
   v1.6.0 — Google + Facebook functional social-login layout
   Final visual polish can be adjusted after live testing.
   ========================================================= */

body.woocommerce-account:not(.logged-in) .eh-social-login-buttons {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

body.woocommerce-account:not(.logged-in) .woocommerce a.eh-facebook-button,
body.woocommerce-account:not(.logged-in) a.eh-facebook-button {
    border: 1px solid #1877f2 !important;
    background: #1877f2 !important;
    color: #ffffff !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce a.eh-facebook-button:hover,
body.woocommerce-account:not(.logged-in) a.eh-facebook-button:hover {
    border-color: #166fe5 !important;
    background: #166fe5 !important;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
}

body.woocommerce-account:not(.logged-in) .eh-facebook-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    background: #ffffff;
    color: #1877f2;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
}

@media (max-width: 600px) {
    body.woocommerce-account:not(.logged-in) .eh-social-login-buttons {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   v1.6.1 — Final login/register card alignment
   ========================================================= */

/* Keep both desktop cards exactly the same height. */
body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set {
    align-items: stretch !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
    display: flex !important;
    flex-direction: column !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column1 > h2,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 > h2 {
    flex: 0 0 auto !important;
}

/* Center each card's form content vertically while preserving normal
   left-aligned labels and full-width controls. */
body.woocommerce-account:not(.logged-in) .woocommerce form.login,
body.woocommerce-account:not(.logged-in) .woocommerce form.register,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Compact standard registration privacy notice. */
body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-privacy-policy-text {
    margin: 0 0 16px !important;
    color: var(--eh-muted) !important;
    font-size: .9rem !important;
    line-height: 1.5 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-privacy-policy-text p {
    margin: 0 !important;
}

/* Once the two-column layout stacks, let each card size naturally. */
@media (max-width: 760px) {
    body.woocommerce-account:not(.logged-in) .woocommerce form.login,
    body.woocommerce-account:not(.logged-in) .woocommerce form.register,
    body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
    body.woocommerce-account:not(.logged-in) .woocommerce-form-register {
        flex: 0 1 auto !important;
    }
}
