/* Casas593 authentication surface — consolidated responsive system. */
#customer_login.c593-auth-card {
	align-items: start;
	background: #fff;
	border: 1px solid #d8e1ec;
	border-radius: 16px;
	box-shadow: 0 22px 60px rgba(9, 38, 80, .14);
	box-sizing: border-box;
	display: grid;
	gap: clamp(24px, 4vw, 48px);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	margin: clamp(20px, 4vw, 48px) auto;
	max-width: 900px;
	overflow: hidden;
	padding: clamp(28px, 4vw, 44px);
	position: relative;
	width: min(900px, calc(100% - 32px));
}

#customer_login.c593-auth-card::before {
	background: #ffcc00;
	content: '';
	height: 5px;
	inset: 0 0 auto;
	position: absolute;
}

#customer_login.c593-auth-card > .col-1,
#customer_login.c593-auth-card > .col-2 {
	box-sizing: border-box;
	min-width: 0;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

#customer_login.c593-auth-card > .col-2 {
	background: #f8fafc;
	border-left: 1px solid #d8e1ec;
	border-radius: 12px;
	padding: clamp(20px, 3vw, 30px);
}

#customer_login.c593-auth-card h2,
#customer_login.c593-auth-card h3 {
	color: #092650;
	font-size: clamp(1.45rem, 2.1vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.16;
	margin: 0 0 5px;
	overflow-wrap: normal;
	text-transform: none;
	white-space: normal;
}

#customer_login.c593-auth-card .c593-auth-subtitle {
	color: #69788c;
	font-size: .94rem;
	line-height: 1.5;
	margin: 0 0 22px;
}

#customer_login.c593-auth-card .form-row,
#customer_login.c593-auth-card .woocommerce-form-row {
	margin: 0 0 16px;
	min-width: 0;
}

#customer_login.c593-auth-card label {
	color: #092650;
	display: block;
	font-size: .86rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 7px;
}

#customer_login.c593-auth-card .input-text,
#customer_login.c593-auth-card select {
	background: #fff;
	border: 1px solid #d8e1ec;
	border-radius: 9px;
	box-sizing: border-box;
	color: #092650;
	height: 48px;
	margin: 0;
	max-width: 100%;
	min-height: 48px;
	padding: 10px 13px;
	width: 100%;
}

#customer_login.c593-auth-card .input-text::placeholder {
	color: #69788c;
	opacity: 1;
}

#customer_login.c593-auth-card .input-text:focus,
#customer_login.c593-auth-card select:focus {
	border-color: #123d73;
	box-shadow: 0 0 0 3px rgba(18, 61, 115, .18);
	outline: 0;
}

#customer_login.c593-auth-card .password-input {
	display: block;
	position: relative;
	width: 100%;
}

#customer_login.c593-auth-card .show-password-input {
	display: none !important;
}

#customer_login.c593-auth-card .password-input .input-text {
	padding-right: 48px;
}

#customer_login.c593-auth-card .c593-password-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 7px;
	color: #123d73;
	cursor: pointer;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	padding: 7px;
	position: absolute;
	right: 5px;
	top: 5px;
	width: 36px;
}

#customer_login.c593-auth-card .c593-password-toggle:hover {
	background: #f1f5f9;
}

#customer_login.c593-auth-card .c593-password-toggle:focus-visible,
#customer_login.c593-auth-card .button:focus-visible,
#customer_login.c593-auth-card .c593-confirmation-resend__toggle:focus-visible,
#customer_login.c593-auth-card .c593-auth-tab:focus-visible {
	box-shadow: 0 0 0 3px rgba(18, 61, 115, .28);
	outline: 0;
}

#customer_login.c593-auth-card .c593-password-toggle svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 20px;
}

#customer_login.c593-auth-card .woocommerce-form-login__rememberme {
	align-items: center;
	color: #69788c;
	display: inline-flex;
	font-size: .9rem;
	gap: 8px;
	margin: 0;
}

#customer_login.c593-auth-card .woocommerce-form-login__rememberme input {
	accent-color: #123d73;
	margin: 0;
}

#customer_login.c593-auth-card .woocommerce-form-login__submit,
#customer_login.c593-auth-card .woocommerce-form-register__submit {
	align-items: center;
	background: #ffcc00;
	border: 1px solid #ffcc00;
	border-radius: 8px;
	box-sizing: border-box;
	color: #092650;
	display: flex;
	font-weight: 800;
	justify-content: center;
	margin: 8px 0 0;
	min-height: 50px;
	padding: 13px 18px;
	transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
	width: 100%;
}

#customer_login.c593-auth-card .woocommerce-form-login__submit:hover,
#customer_login.c593-auth-card .woocommerce-form-register__submit:hover {
	background: #e8ba00;
	border-color: #e8ba00;
	color: #092650;
	transform: translateY(-1px);
}

#customer_login.c593-auth-card .lost_password {
	font-size: .92rem;
	margin: 15px 0 0;
	text-align: center;
}

#customer_login.c593-auth-card .lost_password a,
#customer_login.c593-auth-card .woocommerce-privacy-policy-text a {
	color: #123d73;
	font-weight: 750;
}

#customer_login.c593-auth-card .woocommerce-privacy-policy-text {
	border-top: 1px solid #d8e1ec;
	color: #69788c;
	font-size: .82rem;
	line-height: 1.55;
	margin: 20px 0 14px;
	padding-top: 16px;
}

#customer_login.c593-auth-card .woocommerce-error,
#customer_login.c593-auth-card .woocommerce-info,
#customer_login.c593-auth-card .woocommerce-message {
	border-radius: 10px;
	box-sizing: border-box;
	font-size: .9rem;
	line-height: 1.45;
	margin: 0 0 18px;
	padding: 12px 14px;
}

#customer_login.c593-auth-card .c593-auth-tabs {
	display: none;
}

#customer_login.c593-auth-card .c593-auth-tab {
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	color: #69788c;
	cursor: pointer;
	font: inherit;
	font-size: .92rem;
	font-weight: 800;
	min-height: 44px;
	padding: 10px 12px;
}

#customer_login.c593-auth-card .c593-auth-tab[aria-selected="true"] {
	border-color: #ffcc00;
	color: #092650;
}

#customer_login.c593-auth-card .c593-confirmation-resend {
	box-sizing: border-box;
	color: #334155;
	margin: 12px 0 0;
	max-width: none;
	width: 100%;
}

#customer_login.c593-auth-card .c593-confirmation-resend__toggle {
	appearance: none;
	background: transparent;
	border: 0;
	color: #123d73;
	cursor: pointer;
	display: block;
	height: auto;
	min-height: 0;
	font-family: inherit;
	font-size: .92rem;
	font-weight: 750;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	text-align: center;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: underline;
	text-underline-offset: 3px;
	width: 100%;
}

#customer_login.c593-auth-card .c593-confirmation-resend__panel[hidden] {
	display: none;
}

#customer_login.c593-auth-card .c593-confirmation-resend__panel {
	align-items: stretch;
	background: #f8fafc;
	border: 1px solid #d8e1ec;
	border-radius: 12px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
	max-width: none;
	padding: 14px 16px;
	width: 100%;
}

#customer_login.c593-auth-card .c593-confirmation-resend__panel p {
	color: #69788c;
	font-size: .86rem;
	line-height: 1.5;
	margin: 0;
}

#customer_login.c593-auth-card .c593-confirmation-resend__panel label {
	color: #092650;
	display: block;
	font-size: .8rem;
	font-weight: 700;
	margin: 0;
}

#customer_login.c593-auth-card .c593-confirmation-resend__panel input[type="email"] {
	border: 1px solid #d8e1ec;
	border-radius: 8px;
	box-sizing: border-box;
	margin: 0;
	min-height: 42px;
	padding: 9px 11px;
	width: 100%;
}

#customer_login.c593-auth-card .c593-confirmation-resend__panel button {
	background: #ffcc00;
	border: 1px solid #ffcc00;
	border-radius: 8px;
	color: #092650;
	font-weight: 800;
	margin: 0;
	min-height: 42px;
	width: 100%;
	padding: 9px 14px;
}

.c593-private-phone {
	border-top: 1px solid #d8e1ec;
	margin-top: 20px;
	padding-top: 18px;
}

.c593-private-phone small {
	color: #69788c;
	display: block;
	font-size: .85rem;
	line-height: 1.5;
	margin-top: 6px;
}

.c593-private-phone input[type="tel"] {
	box-sizing: border-box;
	max-width: 100%;
	min-height: 48px;
	width: 100%;
}

.c593-phone-consent {
	margin-top: 14px;
}

.c593-private-phone .c593-phone-consent__label {
	align-items: flex-start;
	color: #092650;
	display: flex !important;
	font-size: .95rem;
	font-weight: 700;
	gap: 10px;
	line-height: 1.45;
	margin: 0;
}

.c593-private-phone .c593-phone-consent__label input[type="checkbox"] {
	accent-color: #123d73;
	appearance: none;
	background: #fff;
	border: 1px solid #aab8c8;
	border-radius: 4px;
	box-sizing: border-box;
	display: inline-grid;
	flex: 0 0 auto;
	height: 18px;
	margin: 2px 0 0;
	min-height: 18px;
	padding: 0;
	place-content: center;
	position: relative;
	width: 18px;
}

.c593-private-phone .c593-phone-consent__label input[type="checkbox"]::after {
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: '';
	height: 9px;
	transform: rotate(45deg) scale(0);
	transition: transform .12s ease;
	width: 5px;
}

.c593-private-phone .c593-phone-consent__label input[type="checkbox"]:checked {
	background: #123d73;
	border-color: #123d73;
}

.c593-private-phone .c593-phone-consent__label input[type="checkbox"]:checked::after {
	transform: rotate(45deg) scale(1);
}

.c593-private-phone .c593-phone-consent__label input[type="checkbox"]:focus-visible {
	box-shadow: 0 0 0 3px rgba(18, 61, 115, .22);
	outline: 0;
}

.c593-phone-consent__help {
	color: #69788c;
	font-size: .85rem;
	line-height: 1.5;
	margin: 6px 0 0 28px;
}

.c593-phone-consent__help.is-public {
	color: #123d73;
}

.c593-phone-consent__help.is-private {
	color: #69788c;
}

.woocommerce-EditAccountForm .c593-password-match,
.c593-auth-card .c593-password-match,
.c593-auth-shortcode .c593-password-match {
	font-size: .84rem;
	line-height: 1.45;
	margin: 7px 0 0;
}

.woocommerce-EditAccountForm .c593-password-match.is-match,
.c593-auth-card .c593-password-match.is-match,
.c593-auth-shortcode .c593-password-match.is-match {
	color: #16714a;
}

.woocommerce-EditAccountForm .c593-password-match.is-mismatch,
.c593-auth-card .c593-password-match.is-mismatch,
.c593-auth-shortcode .c593-password-match.is-mismatch {
	color: #b42318;
}

body.c593-auth-surface .mfp-wrap {
	overflow-x: hidden !important;
	overflow-y: hidden !important;
}

body.c593-auth-surface .mfp-wrap .mfp-container {
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: hidden;
	padding: clamp(12px, 3vw, 24px);
}

body.c593-auth-surface .mfp-wrap .mfp-content {
	box-sizing: border-box;
	margin: 0 auto;
	max-height: 90vh;
	max-height: 90dvh;
	max-width: 900px;
	overflow-x: hidden;
	overflow-y: auto;
	padding-bottom: 4px;
	width: min(900px, 100%);
}

body.c593-auth-surface .mfp-wrap #login-form-popup,
body.c593-auth-surface .mfp-wrap #login-form-popup > .woocommerce,
body.c593-auth-surface .mfp-wrap #login-form-popup .account-container {
	background: transparent;
	box-sizing: border-box;
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

body.c593-auth-surface .mfp-wrap #login-form-popup .woocommerce-notices-wrapper {
	margin: 0 0 12px;
	width: 100%;
}

body.c593-auth-surface .mfp-wrap #customer_login.c593-auth-card {
	margin: 0 auto;
	max-width: none;
	max-height: none;
	overflow: visible;
	width: 100%;
}

body.c593-auth-surface .mfp-content > .c593-auth-consent {
	box-sizing: border-box;
	margin: 0 auto 12px;
	max-width: 900px;
	position: relative;
	right: auto;
	bottom: auto;
	width: 100%;
	z-index: 1;
}

body.c593-auth-surface .mfp-content > .c593-auth-consent .magre-consent__panel {
	align-items: center;
	display: grid;
	gap: 12px 20px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 14px 18px;
}

body.c593-auth-surface .mfp-content > .c593-auth-consent .magre-consent__actions {
	align-items: center;
	justify-content: flex-end;
	margin-top: 0;
}

body.c593-auth-surface .mfp-content > .c593-auth-consent-manage {
	bottom: auto;
	display: block;
	left: auto;
	margin: 0 auto 12px;
	position: relative;
	right: auto;
	top: auto;
	width: max-content;
}

@media screen and (max-width: 819px) {
	#customer_login.c593-auth-card {
		display: block;
		margin: 20px auto;
		padding: 28px 20px 24px;
		width: calc(100% - 24px);
	}

	#customer_login.c593-auth-card > .col-2 {
		border-left: 0;
		border-top: 1px solid #d8e1ec;
		margin-top: 28px;
		padding-left: 20px;
		padding-top: 28px;
	}

	#customer_login.c593-auth-card > .col-1,
	#customer_login.c593-auth-card > .col-2 {
		width: auto;
	}
}

@media screen and (max-width: 767px) {
	#customer_login.c593-auth-card {
		padding: 18px 16px 20px;
	}

	#customer_login.c593-auth-card .c593-auth-tabs {
		border-bottom: 1px solid #d8e1ec;
		display: grid;
		grid-template-columns: 1fr 1fr;
		margin: 0 0 22px;
	}

	#customer_login.c593-auth-card > .c593-auth-panel[hidden] {
		display: none;
	}

	#customer_login.c593-auth-card > .c593-auth-panel:not([hidden]) {
		display: block;
	}

	#customer_login.c593-auth-card > .col-2 {
		padding-left: 0;
	}
}

@media screen and (max-width: 600px) {
	#customer_login.c593-auth-card .c593-confirmation-resend__panel {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	#customer_login.c593-auth-card .c593-confirmation-resend__panel button {
		margin: 0;
		width: 100%;
	}

	body.c593-auth-surface .mfp-content > .c593-auth-consent .magre-consent__panel {
		display: block;
		padding: 14px;
	}

	body.c593-auth-surface .mfp-content > .c593-auth-consent .magre-consent__actions {
		margin-top: 12px;
	}
}

@media screen and (max-width: 360px) {
	#customer_login.c593-auth-card {
		border-radius: 12px;
		width: calc(100% - 16px);
	}
}

@media (prefers-reduced-motion: reduce) {
	#customer_login.c593-auth-card .woocommerce-form-login__submit,
	#customer_login.c593-auth-card .woocommerce-form-register__submit {
		transition: none;
	}
}

/* Standalone UX Builder shortcodes. The root stays content-only so the page
 * builder owns columns, backgrounds and outer spacing. */
.c593-auth-shortcode {
	box-sizing: border-box;
	color: #071f41;
	font-family: inherit;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.c593-auth-shortcode .woocommerce-form-login,
.c593-auth-shortcode .woocommerce-form-register {
	box-sizing: border-box;
	margin: 0;
	max-width: 100%;
	min-width: 0;
	padding: 0;
	width: 100%;
}

.c593-auth-shortcode .form-row,
.c593-auth-shortcode .woocommerce-form-row {
	box-sizing: border-box;
	margin: 0 0 16px;
	max-width: 100%;
	min-width: 0;
	padding: 0;
	width: 100%;
}

.c593-auth-shortcode label {
	color: #071f41;
	display: block;
	font-size: .875rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 7px;
}

.c593-auth-shortcode .input-text,
.c593-auth-shortcode select {
	background: #fff;
	border: 1px solid #d9e2ec;
	border-radius: 9px;
	box-sizing: border-box;
	color: #071f41;
	height: 48px;
	margin: 0;
	max-width: 100%;
	min-height: 48px;
	padding: 10px 13px;
	width: 100%;
}

.c593-auth-shortcode .input-text:focus,
.c593-auth-shortcode select:focus {
	border-color: #123d73;
	box-shadow: 0 0 0 3px rgba(18, 61, 115, .16);
	outline: 0;
}

.c593-auth-shortcode .password-input {
	display: block;
	position: relative;
	width: 100%;
}

.c593-auth-shortcode .password-input .input-text {
	padding-right: 48px;
}

.c593-auth-shortcode .c593-password-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 7px;
	color: #123d73;
	cursor: pointer;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	padding: 7px;
	position: absolute;
	right: 5px;
	top: 6px;
	width: 36px;
}

.c593-auth-shortcode .c593-password-toggle:hover {
	background: #f1f5f9;
}

.c593-auth-shortcode .c593-password-toggle:focus-visible,
.c593-auth-shortcode button:focus-visible,
.c593-auth-shortcode a:focus-visible {
	box-shadow: 0 0 0 3px rgba(18, 61, 115, .24);
	outline: 0;
}

.c593-auth-shortcode .c593-password-toggle svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 20px;
}

.c593-auth-shortcode .woocommerce-form-login__rememberme {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	margin: 0;
}

.c593-auth-shortcode .woocommerce-form-login__rememberme input {
	accent-color: #123d73;
	margin: 0;
}

.c593-auth-shortcode .woocommerce-form-login__submit,
.c593-auth-shortcode .woocommerce-form-register__submit {
	align-items: center;
	background: #ffdd00;
	border: 1px solid #ffdd00;
	border-radius: 9px;
	box-sizing: border-box;
	color: #071f41;
	display: flex;
	font-weight: 800;
	justify-content: center;
	margin: 6px 0 0;
	min-height: 48px;
	padding: 12px 16px;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
	width: 100%;
}

.c593-auth-shortcode .woocommerce-form-login__submit:hover,
.c593-auth-shortcode .woocommerce-form-register__submit:hover {
	background: #e8c900;
	border-color: #e8c900;
	transform: translateY(-1px);
}

.c593-auth-shortcode .lost_password {
	font-size: .9rem;
	margin: 12px 0 0;
	text-align: center;
}

.c593-auth-shortcode .lost_password a,
.c593-auth-shortcode .woocommerce-privacy-policy-text a,
.c593-auth-shortcode .c593-confirmation-resend__toggle {
	color: #123d73;
	font-weight: 700;
}

.c593-auth-shortcode .woocommerce-privacy-policy-text {
	color: #64748b;
	font-size: .82rem;
	line-height: 1.55;
	margin: 4px 0 14px;
}

.c593-auth-shortcode .c593-confirmation-resend {
	box-sizing: border-box;
	margin: 12px 0 0;
	max-width: 100%;
	width: 100%;
}

.c593-auth-shortcode .c593-confirmation-resend__toggle {
	appearance: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	display: block;
	font: inherit;
	font-size: .9rem;
	line-height: 1.5;
	margin: 0;
	min-height: 44px;
	padding: 8px 0;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 3px;
	width: 100%;
}

.c593-auth-shortcode .c593-confirmation-resend__panel {
	align-items: stretch;
	background: #f8fafc;
	border: 1px solid #d9e2ec;
	border-radius: 10px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 4px;
	max-width: 100%;
	padding: 14px;
	width: 100%;
}

.c593-auth-shortcode .c593-confirmation-resend__panel[hidden] {
	display: none !important;
}

.c593-auth-shortcode .c593-confirmation-resend__panel p {
	color: #64748b;
	font-size: .84rem;
	line-height: 1.5;
	margin: 0;
}

.c593-auth-shortcode .c593-confirmation-resend__panel label {
	font-size: .8rem;
	margIN: 0;
}

.c593-auth-shortcode .c593-confirmation-resend__panel input[type="email"],
.c593-auth-shortcode .c593-confirmation-resend__panel button {
	box-sizing: border-box;
	margin: 0;
	min-height: 44px;
	width: 100%;
}

.c593-auth-shortcode .c593-confirmation-resend__panel input[type="email"] {
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	padding: 9px 11px;
}

.c593-auth-shortcode .c593-confirmation-resend__panel button {
	background: #ffdd00;
	border: 1px solid #ffdd00;
	border-radius: 8px;
	color: #071f41;
	font-weight: 800;
	padding: 9px 14px;
}

.c593-auth-shortcode .c593-auth-form__password-notice {
	color: #64748b;
	font-size: .86rem;
	line-height: 1.5;
	margin: 0 0 16px;
}

@media (prefers-reduced-motion: reduce) {
	.c593-auth-shortcode .woocommerce-form-login__submit,
	.c593-auth-shortcode .woocommerce-form-register__submit {
		transition: none;
	}
}
