/* Register / login modal + My Account auth card */

.exhale-auth-modal-layer {
	padding: 1rem;
}

.exhale-auth-dialog {
	max-width: 520px;
}

.exhale-auth-panel {
	display: flex;
	flex-direction: column;
	max-height: min(92vh, 820px);
	padding: 1.75rem 1.5rem 1.25rem;
	border-radius: 1.25rem;
	background: #fffdfb;
	border: 1px solid rgba(212, 178, 164, 0.45);
	box-shadow: 0 24px 60px rgba(61, 56, 53, 0.14);
}

.exhale-auth-panel.is-hidden {
	display: none;
}

.exhale-auth-header {
	flex-shrink: 0;
	margin-bottom: 1.25rem;
	padding-right: 2.25rem;
}

.exhale-auth-eyebrow {
	margin: 0 0 0.35rem;
	font-family: Montserrat, sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #6e7d6d;
}

.exhale-auth-title {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.2;
	color: #3d3835;
}

.exhale-auth-lead {
	margin: 0.55rem 0 0;
	font-family: Montserrat, sans-serif;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(61, 56, 53, 0.68);
}

.exhale-auth-cf7 {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 0.15rem;
	-webkit-overflow-scrolling: touch;
}

.exhale-auth-cf7 .wpcf7,
.exhale-auth-cf7 .wpcf7-form {
	width: 100%;
}

.exhale-auth-cf7 .wpcf7-form > p {
	margin: 0 0 1rem;
}

.exhale-auth-cf7 .wpcf7-form label {
	display: block;
	margin: 0;
	font-family: Montserrat, sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	color: #6e7d6d;
}

.exhale-auth-cf7 .wpcf7-form label .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.4rem;
}

.exhale-auth-cf7 .wpcf7-form br {
	display: none;
}

.exhale-auth-cf7 .wpcf7-form-control,
.exhale-auth-cf7 .exhale-custom-select__trigger,
.exhale-auth-cf7 .exhale-password-field input {
	width: 100%;
	min-height: 3rem;
	border: 1px solid rgba(212, 178, 164, 0.55);
	border-radius: 0.75rem;
	padding: 0.72rem 0.95rem;
	font-family: Montserrat, sans-serif;
	font-size: 0.92rem;
	color: #3d3835;
	background: #fff;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.exhale-auth-cf7 .wpcf7-form-control::placeholder {
	color: rgba(61, 56, 53, 0.42);
}

.exhale-auth-cf7 .wpcf7-form-control:focus,
.exhale-auth-cf7 .exhale-custom-select--open .exhale-custom-select__trigger,
.exhale-auth-cf7 .exhale-password-field input:focus {
	outline: none;
	border-color: #6e7d6d;
	box-shadow: 0 0 0 3px rgba(110, 125, 109, 0.16);
}

.exhale-auth-cf7 .exhale-password-field {
	display: block;
	position: relative;
}

.exhale-auth-cf7 .exhale-password-toggle {
	position: absolute;
	top: 50%;
	right: 0.75rem;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(61, 56, 53, 0.5);
	cursor: pointer;
}

.exhale-auth-cf7 .exhale-password-field input {
	padding-right: 2.75rem;
}

.exhale-auth-cf7 .exhale-intl-phone-wrap .iti,
.exhale-auth-cf7 .iti {
	width: 100%;
}

.exhale-auth-cf7 .iti input.exhale-intl-phone {
	min-height: 3rem;
	border-radius: 0.75rem;
}

.exhale-auth-cf7 .iti--separate-dial-code .iti__selected-country {
	background: #f5f1ea;
	border-right: 1px solid rgba(212, 178, 164, 0.55);
	border-radius: 0.75rem 0 0 0.75rem;
}

.exhale-auth-cf7 .program-note,
.exhale-auth-cf7 .exhale-custom-select__note {
	margin: 0.65rem 0 0;
	padding: 0.85rem 0.95rem;
	border: 1px solid rgba(201, 214, 197, 0.9);
	border-radius: 0.75rem;
	background: rgba(201, 214, 197, 0.28);
	font-family: Montserrat, sans-serif;
	font-size: 0.78rem;
	line-height: 1.55;
	color: rgba(61, 56, 53, 0.82);
}

.exhale-auth-cf7 .exhale-register-community {
	margin: 0.25rem 0 0.35rem;
	text-align: center;
	font-family: Montserrat, sans-serif;
	font-size: 0.82rem;
	font-weight: 500;
	color: rgba(61, 56, 53, 0.62);
}

.exhale-auth-cf7 .wpcf7-form > p:has(.wpcf7-submit),
.exhale-auth-cf7 .wpcf7-form > p:has(input[type='submit']) {
	margin-top: 0.35rem;
	margin-bottom: 0;
}

.exhale-auth-cf7 input[type='submit'],
.exhale-auth-cf7 .wpcf7-submit {
	display: block;
	width: 100%;
	min-height: 3.1rem;
	margin: 0;
	border: 0;
	border-radius: 9999px;
	padding: 0.85rem 1.5rem;
	font-family: Montserrat, sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(90deg, #6e7d6d 0%, #3d3835 100%);
	box-shadow: 0 10px 24px rgba(61, 56, 53, 0.18);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exhale-auth-cf7 input[type='submit']:hover,
.exhale-auth-cf7 .wpcf7-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(61, 56, 53, 0.22);
}

.exhale-auth-cf7 form.exhale-auth-submitting .wpcf7-submit,
.exhale-auth-cf7 form.submitting .wpcf7-submit {
	pointer-events: none;
}

.exhale-auth-submit-wrap {
	position: relative;
	display: block;
	width: 100%;
	margin-top: 0.35rem;
}

.exhale-auth-submit-spinner {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 1.35rem;
	height: 1.35rem;
	margin: -0.675rem 0 0 -0.675rem;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	pointer-events: none;
	animation: exhale-auth-spin 0.65s linear infinite;
}

.exhale-auth-submit-wrap.is-loading .exhale-auth-submit-spinner {
	display: block;
}

.exhale-auth-submit-wrap.is-loading .wpcf7-submit,
.exhale-auth-submit-wrap.is-loading input[type='submit'] {
	color: transparent !important;
	text-shadow: none;
	pointer-events: none;
	opacity: 0.92;
}

.exhale-auth-cf7 .wpcf7-submit.is-loading,
.exhale-auth-cf7 input[type='submit'].is-loading {
	position: relative;
	pointer-events: none;
}

@keyframes exhale-auth-spin {
	to {
		transform: rotate(360deg);
	}
}

.exhale-auth-cf7 form.submitting .wpcf7-spinner {
	display: none !important;
}

.exhale-auth-cf7 .wpcf7-not-valid-tip {
	margin-top: 0.35rem;
	font-size: 0.78rem;
	color: #b42318;
}

.exhale-auth-cf7 .wpcf7-response-output {
	margin: 0.85rem 0 0;
	border-radius: 0.75rem;
	font-size: 0.85rem;
}

.exhale-auth-switch {
	flex-shrink: 0;
	margin: 1rem 0 0;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(212, 178, 164, 0.28);
	text-align: center;
	font-family: Montserrat, sans-serif;
	font-size: 0.88rem;
	color: rgba(61, 56, 53, 0.72);
}

.exhale-auth-switch--page {
	border-top: 0;
	padding-top: 0;
}

.exhale-auth-switch__link {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 700;
	color: #3d3835;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	cursor: pointer;
}

.exhale-auth-switch__link:hover {
	color: #6e7d6d;
}

.exhale-auth-close-btn {
	top: 0.85rem;
	right: 0.85rem;
	background: #fff;
	color: rgba(61, 56, 53, 0.55);
}

/* My Account guest login page */
.exhale-myaccount--guest {
	max-width: 520px;
	margin: 0 auto;
}

.exhale-myaccount-page-title {
	margin: 0 0 1.5rem;
	font-family: 'DM Sans', sans-serif;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	color: #3d3835;
}

body.woocommerce-account:not(.logged-in) .exhale-myaccount-auth {
	border: 1px solid rgba(212, 178, 164, 0.4);
	border-radius: 1.25rem;
	background: #fffdfb;
	padding: 1.75rem 1.5rem 1.25rem;
	box-shadow: 0 24px 60px rgba(61, 56, 53, 0.1);
}

body.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content {
	padding-top: 0.5rem;
}

@media (min-width: 640px) {
	.exhale-auth-panel {
		padding: 2rem 1.85rem 1.35rem;
	}

	body.woocommerce-account:not(.logged-in) .exhale-myaccount-auth {
		padding: 2rem 1.85rem 1.35rem;
	}
}

@media (max-width: 480px) {
	.exhale-auth-modal-layer {
		align-items: flex-end;
		padding: 0;
	}

	.exhale-auth-dialog {
		max-width: none;
		width: 100%;
	}

	.exhale-auth-panel {
		max-height: 94vh;
		border-radius: 1.25rem 1.25rem 0 0;
	}
}
