:root {
	--elwan-primary: #044167;
	--elwan-primary-hover: #073651;
	--elwan-secondary: #ae8b39;
	--elwan-ink: #142b3a;
	--elwan-muted: #5d6d78;
	--elwan-line: #dce4e9;
	--elwan-surface: #ffffff;
	--elwan-page: #f3f6f8;
}

/* Header account drawer */
.mfn-header-login.mfn-header-modal-login {
	width: 380px;
	max-width: 100%;
	padding: 30px;
	border-inline-start: 1px solid rgba(4, 65, 103, 0.1);
	background: #fff;
	box-shadow: 0 20px 55px rgba(10, 38, 55, 0.18);
	color: var(--elwan-ink);
	font-family: inherit;
}

.mfn-header-login.mfn-header-modal-login h4,
.mfn-header-login.mfn-header-modal-login.is-side h4 {
	width: auto;
	margin: 0 0 24px;
	padding: 0 0 18px;
	border-bottom: 1px solid #e3e9ed;
	color: var(--elwan-primary);
	font-family: inherit;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.35;
	text-align: start;
}

.mfn-header-login.mfn-header-modal-login .mfn-close-icon {
	inset-block-start: 18px;
	inset-inline-end: 18px;
	inset-inline-start: auto;
	display: grid;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	place-items: center;
	border-radius: 9px;
	color: #667b88;
	text-decoration: none;
}

.mfn-header-login.mfn-header-modal-login .mfn-close-icon:hover {
	background: #edf2f5;
	color: var(--elwan-primary);
}

.mfn-header-login.mfn-header-modal-login .woocommerce-form.login {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: start;
}

.mfn-header-login.mfn-header-modal-login .woocommerce-form .form-row {
	float: none;
	width: 100%;
	margin: 0 0 18px;
	padding: 0;
	position: relative;
}

.mfn-header-login.mfn-header-modal-login .woocommerce-form .form-row.form-row-first::after,
.mfn-header-login.mfn-header-modal-login .woocommerce-form .form-row.form-row-last::after {
	display: none !important;
	content: none !important;
}

.mfn-header-login.mfn-header-modal-login .woocommerce-form .form-row.form-row-first label,
.mfn-header-login.mfn-header-modal-login .woocommerce-form .form-row.form-row-last label {
	position: static !important;
	display: inline-block;
	margin: 0 0 8px;
	transform: none !important;
	color: #263e4d;
	font-size: 14px !important;
	font-weight: 700;
	line-height: 1.5;
	opacity: 1 !important;
	pointer-events: auto;
}

.mfn-header-login.mfn-header-modal-login .woocommerce-form .form-row.form-row-first input.input-text,
.mfn-header-login.mfn-header-modal-login .woocommerce-form .form-row.form-row-last input.input-text {
	display: block;
	width: 100% !important;
	height: 54px !important;
	min-height: 54px;
	margin: 0 !important;
	padding: 0 15px !important;
	border: 1px solid #c8d5dc !important;
	border-radius: 10px !important;
	background: #f8fafb !important;
	box-shadow: none !important;
	color: #142b3a !important;
	font: inherit;
	font-size: 15px;
	line-height: normal !important;
	text-align: start;
}

.mfn-header-login.mfn-header-modal-login .woocommerce-form input.input-text:hover {
	border-color: #8fa5b1 !important;
	background: #fff !important;
}

.mfn-header-login.mfn-header-modal-login .woocommerce-form input.input-text:focus {
	border-color: var(--elwan-primary) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(4, 65, 103, 0.11) !important;
	outline: 0;
}

.mfn-header-login.mfn-header-modal-login .password-input {
	position: relative;
	display: block;
	width: 100%;
}

.mfn-header-login.mfn-header-modal-login .password-input input.input-text {
	padding-inline-end: 54px !important;
}

.mfn-header-login.mfn-header-modal-login .show-password-input {
	position: absolute;
	inset-block-start: 50%;
	inset-inline-end: 8px;
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	color: #607784;
	transform: translateY(-50%);
}

.mfn-header-login.mfn-header-modal-login .woocommerce-form > .form-row:not(.form-row-first):not(.form-row-last) {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.mfn-header-login.mfn-header-modal-login label.woocommerce-form-login__rememberme {
	display: inline-flex;
	width: 100%;
	min-height: 32px;
	align-items: center;
	margin: 0;
	color: #425968;
	font-size: 14px;
	font-weight: 600;
}

.mfn-header-login.mfn-header-modal-login input[type="checkbox"] {
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	margin-inline-end: 9px !important;
	padding: 0 !important;
	flex: 0 0 20px;
	appearance: none !important;
	border: 1.5px solid #91a5b0 !important;
	border-radius: 5px !important;
	background: #fff !important;
	box-shadow: none !important;
}

.mfn-header-login.mfn-header-modal-login input[type="checkbox"]:checked {
	border-color: var(--elwan-primary) !important;
	background-color: var(--elwan-primary) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3.5 8 3 3 6-6'/%3E%3C/svg%3E") !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 14px 14px !important;
}

.mfn-header-login.mfn-header-modal-login label.woocommerce-form-login__rememberme > span::before,
.mfn-header-login.mfn-header-modal-login label.woocommerce-form-login__rememberme > span::after,
.mfn-header-login.mfn-header-modal-login .woocommerce-form-login__submit::before,
.mfn-header-login.mfn-header-modal-login .woocommerce-form-login__submit::after {
	display: none !important;
	content: none !important;
}

.mfn-header-login.mfn-header-modal-login .woocommerce-form-login__submit,
.woocommerce .mfn-header-login.mfn-header-modal-login button.button.woocommerce-form-login__submit {
	display: inline-flex;
	width: 100%;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 12px 20px;
	border: 1px solid var(--elwan-primary);
	border-radius: 10px;
	background: var(--elwan-primary);
	box-shadow: 0 9px 20px rgba(4, 65, 103, 0.16);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.mfn-header-login.mfn-header-modal-login .woocommerce-form-login__submit:hover,
.woocommerce .mfn-header-login.mfn-header-modal-login button.button.woocommerce-form-login__submit:hover {
	border-color: var(--elwan-primary-hover);
	background: var(--elwan-primary-hover);
	color: #fff;
}

.mfn-header-login.mfn-header-modal-login .lost_password {
	margin: -2px 0 16px;
	font-size: 14px;
	text-align: center;
}

.mfn-header-login.mfn-header-modal-login .lost_password a {
	color: var(--elwan-primary) !important;
	font-weight: 700;
}

.mfn-header-login.mfn-header-modal-login .create_account {
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid #e3e9ed;
}

.mfn-header-login.mfn-header-modal-login .create_account a {
	display: flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border: 1px solid rgba(4, 65, 103, 0.24);
	border-radius: 10px;
	background: #f1f5f7;
	color: var(--elwan-primary) !important;
	font-weight: 800;
	text-decoration: none;
}

.mfn-header-login.mfn-header-modal-login .create_account a:hover {
	border-color: var(--elwan-secondary);
	background: #fff;
}

html[dir="rtl"] .mfn-header-login.mfn-header-modal-login,
body.rtl .mfn-header-login.mfn-header-modal-login {
	direction: rtl;
	text-align: right;
}

html[dir="rtl"] .mfn-header-login.mfn-header-modal-login .show-password-input,
body.rtl .mfn-header-login.mfn-header-modal-login .show-password-input,
html[dir="rtl"] .elwan-account-portal .elwan-password-toggle,
body.rtl .elwan-account-portal .elwan-password-toggle {
	right: auto !important;
	left: 8px !important;
}

html[dir="ltr"] .mfn-header-login.mfn-header-modal-login,
body:not(.rtl) .mfn-header-login.mfn-header-modal-login {
	direction: ltr;
	text-align: left;
}

html[dir="ltr"] .mfn-header-login.mfn-header-modal-login .show-password-input,
body:not(.rtl) .mfn-header-login.mfn-header-modal-login .show-password-input,
html[dir="ltr"] .elwan-account-portal .elwan-password-toggle,
body:not(.rtl) .elwan-account-portal .elwan-password-toggle {
	left: auto !important;
	right: 8px !important;
}

body.woocommerce-account:not(.logged-in) #Content {
	background-color: var(--elwan-page);
	background-image: none;
}

body.woocommerce-account:not(.logged-in) #Content .section.the_content,
body.woocommerce-account:not(.logged-in) #Content .section_wrapper,
body.woocommerce-account:not(.logged-in) #Content .the_content_wrapper {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

body.woocommerce-account:not(.logged-in) #Content .woocommerce {
	display: flow-root;
	box-sizing: border-box;
	width: calc(100% - 32px);
	max-width: 1220px;
	margin: clamp(32px, 5vw, 72px) auto;
	padding: 0 0 48px;
	border: 0;
	border-radius: 0;
	background: transparent !important;
}

.elwan-account-portal,
.elwan-account-portal * {
	box-sizing: border-box;
}

.elwan-account-portal {
	width: 100%;
	color: var(--elwan-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.65;
}

.elwan-account-portal__card {
	display: flex;
	width: 100%;
	min-height: 660px;
	height: auto !important;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid rgba(4, 65, 103, 0.12);
	border-radius: 24px;
	background: var(--elwan-surface);
	box-shadow: 0 24px 70px rgba(9, 43, 64, 0.12);
}

.elwan-account-form-side {
	display: flex;
	width: 56%;
	height: auto !important;
	flex: 1 1 56%;
	align-items: flex-start;
	min-width: 0;
	padding: clamp(34px, 4.2vw, 62px);
	background: var(--elwan-surface);
}

.elwan-account-form-side__inner {
	width: 100%;
	max-width: 560px;
	margin-inline: auto;
}

.elwan-account-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	margin: 0 0 34px;
	padding: 6px;
	border: 1px solid #e0e7eb;
	border-radius: 14px;
	background: #f2f5f7;
}

.woocommerce .elwan-account-portal button.elwan-account-tab {
	position: relative;
	min-height: 48px;
	margin: 0;
	padding: 10px 16px;
	border: 0 !important;
	border-radius: 10px;
	background: transparent !important;
	box-shadow: none !important;
	color: #526572 !important;
	font: inherit;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.woocommerce .elwan-account-portal button.elwan-account-tab:hover {
	background: #e8eef2 !important;
	color: var(--elwan-primary) !important;
}

.woocommerce .elwan-account-portal button.elwan-account-tab.is-active,
.woocommerce .elwan-account-portal button.elwan-account-tab.is-active:hover {
	background: var(--elwan-primary) !important;
	box-shadow: 0 7px 18px rgba(4, 65, 103, 0.2) !important;
	color: #fff !important;
}

.elwan-account-tab.is-active::after {
	position: absolute;
	inset-inline: 28%;
	bottom: -6px;
	height: 2px;
	border-radius: 2px;
	background: var(--elwan-secondary);
	content: "";
}

.elwan-account-panel {
	width: 100%;
}

.elwan-account-portal.is-enhanced .elwan-account-panel:not(.is-active) {
	display: none;
}

.elwan-account-panel__header {
	margin-bottom: 28px;
}

.elwan-account-panel__header h1,
.elwan-account-panel__header h2 {
	margin: 0 0 9px;
	color: var(--elwan-primary);
	font-family: inherit;
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.25;
}

.elwan-account-panel__header p {
	max-width: 46ch;
	margin: 0;
	color: var(--elwan-muted);
	font-size: 16px;
	line-height: 1.75;
}

/* Password recovery */
.elwan-account-portal--recovery .elwan-account-portal__card {
	min-height: 660px;
}

.elwan-account-portal--recovery .elwan-account-form-side {
	align-items: flex-start;
}

.elwan-account-portal--recovery .elwan-account-form-side__inner {
	max-width: 530px;
}

.elwan-account-portal--recovery .elwan-account-panel__header {
	margin-bottom: 32px;
}

.elwan-recovery-icon {
	display: grid;
	width: 54px;
	height: 54px;
	margin-bottom: 22px;
	padding: 12px;
	place-items: center;
	border: 1px solid rgba(174, 139, 57, 0.38);
	border-radius: 14px;
	background: #fbf8f0;
	color: var(--elwan-secondary);
}

.elwan-recovery-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.elwan-account-portal--recovery form.lost_reset_password {
	display: block;
	width: 100%;
	max-width: none;
}

/* Betheme constrains WooCommerce recovery rows; keep them level with the CTA. */
.woocommerce .elwan-account-portal--recovery form.lost_reset_password .form-row,
.woocommerce-page .elwan-account-portal--recovery form.lost_reset_password .form-row {
	display: block;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin-inline: 0 !important;
}

.woocommerce .elwan-account-portal--recovery form.lost_reset_password .elwan-input-control,
.woocommerce .elwan-account-portal--recovery form.lost_reset_password input.input-text {
	display: block;
	width: 100% !important;
	max-width: none !important;
}

.elwan-account-portal--recovery .elwan-account-submit {
	margin-top: 5px;
}

.elwan-recovery-back {
	display: flex;
	width: fit-content;
	min-height: 44px;
	align-items: center;
	gap: 8px;
	margin: 16px auto 0;
	padding: 5px 8px;
	color: var(--elwan-primary);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.elwan-recovery-back:hover {
	color: var(--elwan-primary-hover);
	text-decoration: underline;
	text-underline-offset: 4px;
}

html[dir="rtl"] .elwan-recovery-back > span,
body.rtl .elwan-recovery-back > span {
	transform: scaleX(-1);
}

.elwan-account-portal--recovery .woocommerce-password-strength {
	margin-top: 9px;
}

.elwan-account-portal--recovery .woocommerce-password-hint {
	display: block;
	margin-top: 8px;
}

.elwan-account-portal .elwan-account-form {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-align: start;
}

.elwan-account-fieldset {
	display: block;
	width: 100% !important;
	max-width: none;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.elwan-account-fieldset legend {
	width: 100%;
	margin: 0 0 17px;
	padding: 0 0 9px;
	border-bottom: 1px solid #e8edf0;
	color: var(--elwan-primary);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.elwan-account-portal .form-row,
.elwan-account-portal .woocommerce-form-row {
	float: none;
	width: 100%;
	margin: 0 0 19px;
	padding: 0;
}

.elwan-account-portal .elwan-register-name-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.elwan-account-portal .elwan-register-name-row .woocommerce-form-row {
	margin-bottom: 19px;
}

@media (max-width: 640px) {
	.elwan-account-portal .elwan-register-name-row {
		grid-template-columns: 1fr;
	}
}

.elwan-account-portal .form-row label:not(.woocommerce-form__label-for-checkbox) {
	display: inline-block;
	margin: 0 0 8px;
	color: #263e4d;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.elwan-account-portal .required {
	margin-inline-start: 3px;
	color: #a44939;
	font-weight: 700;
	text-decoration: none;
}

.elwan-input-control {
	position: relative;
	display: block;
	width: 100%;
}

.elwan-field-icon {
	display: none;
}

.elwan-field-icon svg,
.elwan-password-toggle svg,
.elwan-secure-message svg,
.elwan-account-benefits__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.woocommerce .elwan-account-portal form.elwan-account-form input.input-text,
.woocommerce .elwan-account-portal form.elwan-account-form input[type="text"],
.woocommerce .elwan-account-portal form.elwan-account-form input[type="email"],
.woocommerce .elwan-account-portal form.elwan-account-form input[type="password"],
.woocommerce .elwan-account-portal form.elwan-account-form input[type="tel"] {
	display: block;
	width: 100% !important;
	height: 56px !important;
	min-height: 56px;
	margin: 0 !important;
	padding: 0 17px !important;
	border: 1px solid #c8d5dc !important;
	border-radius: 10px !important;
	background: #f8fafb !important;
	box-shadow: 0 1px 2px rgba(11, 45, 65, 0.03) !important;
	color: #142b3a !important;
	font: inherit;
	font-size: 16px;
	line-height: normal !important;
	text-align: start;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.woocommerce .elwan-account-portal .elwan-account-field .elwan-input-control input {
	padding-inline-start: 17px !important;
}

.woocommerce .elwan-account-portal .elwan-account-field--password .elwan-input-control input {
	padding-inline-end: 54px !important;
}

.woocommerce .elwan-account-portal form.elwan-account-form input.input-text:hover,
.woocommerce .elwan-account-portal form.elwan-account-form input[type="text"]:hover,
.woocommerce .elwan-account-portal form.elwan-account-form input[type="email"]:hover,
.woocommerce .elwan-account-portal form.elwan-account-form input[type="password"]:hover,
.woocommerce .elwan-account-portal form.elwan-account-form input[type="tel"]:hover {
	border-color: #8fa5b1 !important;
	background: #fff !important;
}

.woocommerce .elwan-account-portal form.elwan-account-form input.input-text:focus,
.woocommerce .elwan-account-portal form.elwan-account-form input[type="text"]:focus,
.woocommerce .elwan-account-portal form.elwan-account-form input[type="email"]:focus,
.woocommerce .elwan-account-portal form.elwan-account-form input[type="password"]:focus,
.woocommerce .elwan-account-portal form.elwan-account-form input[type="tel"]:focus {
	border-color: var(--elwan-primary) !important;
	outline: 0;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(4, 65, 103, 0.11) !important;
}

.elwan-account-portal input:-webkit-autofill {
	-webkit-text-fill-color: #142b3a;
	box-shadow: 0 0 0 1000px #fff inset;
	transition: background-color 9999s ease-out 0s;
}

.woocommerce .elwan-account-portal button.elwan-password-toggle {
	position: absolute;
	z-index: 3;
	inset-block-start: 28px;
	inset-inline-end: 8px;
	display: grid;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 9px;
	place-items: center;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #607784 !important;
	cursor: pointer;
	transform: translateY(-50%);
	transition: color 170ms ease, background-color 170ms ease;
}

.woocommerce .elwan-account-portal button.elwan-password-toggle:hover {
	background: #e9f0f4 !important;
	color: var(--elwan-primary) !important;
}

.woocommerce .elwan-account-portal button.elwan-password-toggle::before,
.woocommerce .elwan-account-portal button.elwan-password-toggle::after,
.woocommerce .elwan-account-portal button.elwan-account-tab::before {
	display: none !important;
	content: none !important;
}

.elwan-password-toggle svg {
	width: 21px;
	height: 21px;
}

.elwan-password-toggle__hide,
.elwan-password-toggle[aria-pressed="true"] .elwan-password-toggle__show {
	display: none !important;
}

.elwan-password-toggle[aria-pressed="true"] .elwan-password-toggle__hide {
	display: block !important;
}

.woocommerce .elwan-account-portal .show-password-input {
	display: none !important;
}

.elwan-account-portal input[type="password"]::-ms-reveal,
.elwan-account-portal input[type="password"]::-ms-clear {
	display: none;
}

.elwan-account-options {
	display: flex;
	width: 100% !important;
	align-items: center;
	justify-content: space-between !important;
	gap: 18px;
	margin: 3px 0 24px;
}

.woocommerce .elwan-account-portal label.woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center !important;
	justify-content: flex-start;
	min-height: 44px;
	margin: 0 !important;
	padding: 0 !important;
	color: #425968;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4 !important;
	vertical-align: middle;
	cursor: pointer;
}

.woocommerce .elwan-account-portal label.woocommerce-form-login__rememberme input[type="checkbox"] {
	position: relative;
	display: inline-block !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px;
	min-height: 20px;
	margin: 0 !important;
	margin-inline-end: 9px !important;
	padding: 0 !important;
	flex: 0 0 20px;
	-webkit-appearance: none !important;
	appearance: none !important;
	border: 1.5px solid #91a5b0 !important;
	border-radius: 5px !important;
	background: #fff !important;
	box-shadow: none !important;
	vertical-align: middle;
	cursor: pointer;
}

.woocommerce .elwan-account-portal label.woocommerce-form-login__rememberme input[type="checkbox"]:checked {
	border-color: var(--elwan-primary) !important;
	background: var(--elwan-primary) !important;
}

.woocommerce .elwan-account-portal label.woocommerce-form-login__rememberme > span::before,
.woocommerce .elwan-account-portal label.woocommerce-form-login__rememberme > span::after {
	display: none !important;
	content: none !important;
}

.woocommerce .elwan-account-portal label.woocommerce-form-login__rememberme input[type="checkbox"]:checked::after {
	position: absolute;
	inset-block-start: 3px;
	inset-inline-start: 6px;
	width: 6px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	transform: rotate(45deg);
}

html[dir="rtl"] .woocommerce .elwan-account-portal label.woocommerce-form-login__rememberme input[type="checkbox"]:checked::after,
body.rtl .woocommerce .elwan-account-portal label.woocommerce-form-login__rememberme input[type="checkbox"]:checked::after {
	transform: rotate(45deg);
}

.elwan-lost-password {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--elwan-primary);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4 !important;
	text-decoration: none;
	vertical-align: middle;
}

.elwan-lost-password:hover {
	color: #072f48;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.elwan-account-portal .elwan-account-submit,
.woocommerce .elwan-account-portal button.button.elwan-account-submit {
	position: relative;
	display: inline-flex;
	width: 100%;
	min-height: 56px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 13px 24px;
	border: 1px solid var(--elwan-primary);
	border-radius: 11px;
	background: var(--elwan-primary);
	box-shadow: 0 10px 22px rgba(4, 65, 103, 0.18);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.elwan-account-portal .elwan-account-submit::after {
	position: absolute;
	inset-inline: 24px;
	bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--elwan-secondary);
	content: "";
	opacity: 0.9;
}

.elwan-account-portal .elwan-account-submit:hover,
.woocommerce .elwan-account-portal button.button.elwan-account-submit:hover {
	border-color: var(--elwan-primary-hover);
	background: var(--elwan-primary-hover);
	box-shadow: 0 13px 28px rgba(4, 65, 103, 0.23);
	color: #fff;
	transform: translateY(-1px);
}

.elwan-account-portal .elwan-account-submit:disabled,
.elwan-account-portal .elwan-account-submit.disabled {
	border-color: #9aabb5;
	background: #9aabb5;
	box-shadow: none;
	cursor: not-allowed;
	opacity: 0.72;
	transform: none;
}

.elwan-account-submit__spinner {
	display: none;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: elwan-account-spin 650ms linear infinite;
}

.elwan-account-submit.is-loading .elwan-account-submit__label {
	display: none;
}

.elwan-account-submit.is-loading .elwan-account-submit__spinner {
	display: block;
}

@keyframes elwan-account-spin {
	to { transform: rotate(360deg); }
}

.elwan-secure-message {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 14px 0 0;
	color: #657783;
	font-size: 13px;
	font-weight: 600;
}

.elwan-secure-message svg {
	width: 16px;
	height: 16px;
	color: var(--elwan-secondary);
}

.elwan-account-help {
	margin: 0 0 20px;
	padding: 13px 15px;
	border-inline-start: 3px solid var(--elwan-secondary);
	border-radius: 8px;
	background: #f8f5ec;
	color: #556772;
	font-size: 14px;
}

.elwan-account-portal .woocommerce-password-strength {
	margin-top: 8px;
	padding: 7px 10px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 700;
}

.elwan-account-portal .woocommerce-password-hint,
.elwan-account-portal .woocommerce-privacy-policy-text {
	color: var(--elwan-muted);
	font-size: 13px;
	line-height: 1.7;
}

.elwan-account-portal .woocommerce-privacy-policy-text a {
	color: var(--elwan-primary);
	font-weight: 700;
}

.elwan-account-brand {
	position: relative;
	display: flex;
	width: 44%;
	height: auto !important;
	flex: 1 1 44%;
	align-self: stretch;
	min-width: 0;
	overflow: hidden;
	background: var(--elwan-primary);
	color: #fff;
}

.elwan-account-brand::after {
	position: absolute;
	inset-inline-end: -85px;
	bottom: -110px;
	width: 270px;
	height: 270px;
	border: 1px solid rgba(174, 139, 57, 0.35);
	border-radius: 50%;
	box-shadow: 0 0 0 34px rgba(174, 139, 57, 0.06), 0 0 0 68px rgba(255, 255, 255, 0.025);
	content: "";
}

.elwan-account-brand__pattern {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(to bottom, #000, transparent 72%);
	pointer-events: none;
}

.elwan-account-brand__content {
	position: relative;
	z-index: 1;
	display: flex;
	width: 100%;
	flex-direction: column;
	justify-content: flex-start;
	padding: clamp(40px, 4vw, 62px);
}

.elwan-account-brand__logo {
	display: inline-flex;
	width: min(100%, 250px);
	max-width: 250px;
	min-height: 72px;
	align-self: center;
	align-items: center;
	justify-content: center;
	margin-bottom: clamp(34px, 5vw, 62px);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-decoration: none;
}

.elwan-account-brand__logo-image {
	display: block;
	width: 100%;
	max-width: 230px;
	height: auto;
	max-height: 76px;
	object-fit: contain;
}

.elwan-account-brand__wordmark {
	color: var(--elwan-primary);
	font-size: 23px;
	font-weight: 900;
}

.elwan-account-brand__heading {
	margin-bottom: 30px;
}

.elwan-account-brand__eyebrow {
	display: block;
	width: 46px;
	height: 3px;
	margin-bottom: 18px;
	border-radius: 3px;
	background: var(--elwan-secondary);
}

.elwan-account-brand__heading h2 {
	margin: 0 0 13px;
	color: #fff;
	font-family: inherit;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.3;
}

.elwan-account-brand__heading p {
	max-width: 42ch;
	margin: 0;
	color: rgba(255, 255, 255, 0.77);
	font-size: 15px;
	line-height: 1.8;
}

.elwan-account-benefits {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.elwan-account-benefits li {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.elwan-account-benefits li:last-child {
	border-bottom: 0;
}

.elwan-account-benefits__icon {
	display: grid;
	width: 46px;
	height: 46px;
	padding: 11px;
	place-items: center;
	border: 1px solid rgba(205, 170, 86, 0.42);
	border-radius: 12px;
	background: rgba(174, 139, 57, 0.14);
	color: #d8bb71;
}

.elwan-account-benefits strong,
.elwan-account-benefits small {
	display: block;
}

.elwan-account-benefits strong {
	margin-bottom: 2px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
}

.elwan-account-benefits small {
	color: rgba(255, 255, 255, 0.68);
	font-size: 12.5px;
	line-height: 1.55;
}

.elwan-account-portal :focus-visible {
	outline: 3px solid rgba(174, 139, 57, 0.72);
	outline-offset: 3px;
}

.woocommerce .elwan-account-portal button.elwan-account-tab:focus:not(:focus-visible),
.woocommerce .elwan-account-portal button.elwan-password-toggle:focus:not(:focus-visible) {
	outline: 0;
	box-shadow: none !important;
}

.elwan-account-portal input:focus-visible {
	outline: 0;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	border-radius: 10px;
}

html[dir="rtl"] .elwan-account-portal,
body.rtl .elwan-account-portal {
	direction: rtl;
	text-align: right;
}

html[dir="ltr"] .elwan-account-portal,
body:not(.rtl) .elwan-account-portal {
	direction: ltr;
	text-align: left;
}

@media (max-width: 991px) {
	.elwan-account-portal__card {
		min-height: 620px;
		border-radius: 20px;
	}

	.elwan-account-form-side,
	.elwan-account-brand__content {
		padding: 34px;
	}

	.elwan-account-brand__logo {
		margin-bottom: 34px;
	}

	.elwan-account-benefits li {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 11px;
	}

	.elwan-account-benefits__icon {
		width: 42px;
		height: 42px;
		padding: 10px;
	}
}

@media (max-width: 767px) {
	body.woocommerce-account:not(.logged-in) #Content .woocommerce {
		width: calc(100% - 24px);
		margin: 24px auto 34px;
	}

	.elwan-account-portal__card {
		flex-direction: column;
		min-height: 0;
		border-radius: 18px;
	}

	.elwan-account-form-side,
	.elwan-account-brand {
		width: 100%;
		flex-basis: auto;
	}

	.elwan-account-form-side {
		padding: 28px 22px 32px;
	}

	.elwan-account-tabs {
		margin-bottom: 28px;
	}

	.elwan-account-tab {
		min-height: 48px;
		padding-inline: 9px;
		font-size: 14px;
	}

	.elwan-account-panel__header {
		margin-bottom: 24px;
	}

	.elwan-account-panel__header h1,
	.elwan-account-panel__header h2 {
		font-size: 28px;
	}

	.elwan-account-portal--recovery .elwan-account-portal__card {
		min-height: 0;
	}

	.elwan-recovery-icon {
		width: 50px;
		height: 50px;
		margin-bottom: 18px;
	}

	.elwan-account-options {
		align-items: flex-start;
		gap: 8px 16px;
		flex-wrap: wrap;
	}

	.elwan-account-brand__content {
		padding: 34px 24px 38px;
	}

	.elwan-account-brand__logo {
		min-height: 60px;
		margin-bottom: 30px;
	}

	.elwan-account-brand__heading h2 {
		font-size: 28px;
	}
}

@media (max-width: 420px) {
	.elwan-account-form-side {
		padding-inline: 17px;
	}

	.elwan-account-options {
		display: block;
	}

	.elwan-lost-password {
		display: flex;
		width: fit-content;
		margin-top: 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.elwan-account-portal *,
	.elwan-account-portal *::before,
	.elwan-account-portal *::after {
		scroll-behavior: auto;
		transition-duration: 0.01ms;
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
	}
}
