/* WhatsApp OTP login card — my-account page (logged-out). */

.awtar-wa-auth {
	display: flex;
	justify-content: center;
	padding: 24px 16px 48px;
	font-family: inherit;
}

.awtar-wa-card {
	position: relative;
	width: 100%;
	max-width: 430px;
	background-color: #fff;
	background-image: repeating-linear-gradient(
		135deg,
		rgba(249, 115, 22, 0.045) 0,
		rgba(249, 115, 22, 0.045) 2px,
		transparent 2px,
		transparent 12px
	);
	border: 1px solid #f1e6dd;
	border-radius: 20px;
	box-shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
	padding: 34px 28px 26px;
	text-align: center;
}

/* Brand wordmark */
.awtar-wa-logo {
	font-size: 38px;
	font-weight: 900;
	letter-spacing: 1px;
	color: #f97316;
	line-height: 1.05;
	margin-bottom: 12px;
}

.awtar-wa-title {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 800;
	color: #1f2937;
}

/* Login / new-account tabs */
.awtar-wa-tabs {
	display: flex;
	gap: 8px;
	margin: 0 0 20px;
	border-bottom: 1px solid #eef0f3;
}

.awtar-wa-tab {
	flex: 1 1 0;
	appearance: none;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	padding: 12px 6px;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #9aa1ac;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.awtar-wa-tab.is-active {
	color: #1f2937;
	border-bottom-color: #f97316;
}

.awtar-wa-tab:focus-visible {
	outline: none;
	color: #f97316;
}

/* Info note (peach card, right accent) */
.awtar-wa-info {
	background: #fdf1e8;
	border: 1px solid #f7e0cd;
	border-inline-start: 4px solid #f97316;
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 22px;
	font-size: 14px;
	line-height: 1.75;
	color: #6b5b4d;
	text-align: center;
}

.awtar-wa-info .awtar-wa-wa {
	color: #25d366;
	font-weight: 800;
}

.awtar-wa-label {
	display: block;
	text-align: right;
	font-size: 13.5px;
	font-weight: 700;
	color: #374151;
	margin-bottom: 8px;
}

/* Phone field — kept as the current boxed style */
.awtar-wa-phone-field {
	display: flex;
	align-items: stretch;
	direction: ltr;
	border: 1.5px solid #d1d5db;
	border-radius: 12px;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.awtar-wa-phone-field:focus-within {
	border-color: #f97316;
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.awtar-wa-input {
	width: 100%;
	border: none;
	outline: none;
	padding: 14px 14px;
	font-size: 16px;
	color: #111827;
	background: transparent;
}

.awtar-wa-input--phone {
	letter-spacing: 2px;
	text-align: left;
	direction: ltr;
	border-radius: 0 12px 12px 0;
}

/* Country code dropdown (+970 / +972 with Palestine flag) — left side */
.awtar-wa-cc {
	position: relative;
	flex: 0 0 auto;
	border-inline-end: 1px solid #e5e7eb;
}

.awtar-wa-cc-toggle {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 100%;
	padding: 0 12px;
	background: #f9fafb;
	border: none;
	border-radius: 12px 0 0 12px;
	cursor: pointer;
	font-weight: 700;
	font-size: 15px;
	color: #374151;
}

.awtar-wa-cc-code {
	direction: ltr;
}

.awtar-wa-flag {
	display: inline-block;
	width: 22px;
	height: 15px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
	flex: 0 0 auto;
}

.awtar-wa-caret {
	width: 0;
	height: 0;
	border-inline-start: 4px solid transparent;
	border-inline-end: 4px solid transparent;
	border-top: 5px solid #9ca3af;
	transition: transform 0.15s ease;
}

.awtar-wa-cc.is-open .awtar-wa-caret {
	transform: rotate(180deg);
}

.awtar-wa-cc-menu {
	position: absolute;
	top: calc(100% + 6px);
	inset-inline-start: 0;
	min-width: 130px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(17, 17, 17, 0.12);
	z-index: 20;
}

.awtar-wa-cc-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 700;
	font-size: 14.5px;
	color: #374151;
	direction: ltr;
	justify-content: flex-start;
}

.awtar-wa-cc-option:hover,
.awtar-wa-cc-option.is-selected {
	background: #fdf1e8;
	color: #c2540a;
}

.awtar-wa-input--code {
	border: 1.5px solid #d1d5db;
	border-radius: 12px;
	text-align: center;
	letter-spacing: 10px;
	font-size: 24px;
	font-weight: 700;
	direction: ltr;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.awtar-wa-input--code:focus {
	border-color: #f97316;
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.awtar-wa-btn {
	width: 100%;
	border: none;
	border-radius: 14px;
	padding: 16px 18px;
	margin-top: 18px;
	font-size: 17px;
	font-weight: 800;
	cursor: pointer;
	line-height: 1.4;
	transition: background 0.15s ease, transform 0.05s ease, opacity 0.15s ease;
}

.awtar-wa-btn--primary {
	background: #f97316;
	color: #fff;
	box-shadow: 0 8px 20px rgba(249, 115, 22, 0.28);
}

.awtar-wa-btn--primary:hover {
	background: #ea6a0c;
}

.awtar-wa-btn:active {
	transform: translateY(1px);
}

.awtar-wa-btn[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

.awtar-wa-step {
	display: none;
}

.awtar-wa-step.is-active {
	display: block;
}

.awtar-wa-hint {
	margin: 0 0 14px;
	font-size: 14px;
	color: #4b5563;
	line-height: 1.6;
	text-align: center;
}

.awtar-wa-resend-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
}

.awtar-wa-link {
	background: none;
	border: none;
	padding: 4px 2px;
	font-size: 13.5px;
	font-weight: 700;
	color: #f97316;
	cursor: pointer;
}

.awtar-wa-link[disabled] {
	color: #9ca3af;
	cursor: default;
}

.awtar-wa-link--muted {
	color: #6b7280;
}

.awtar-wa-feedback {
	min-height: 0;
	margin-bottom: 10px;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.5;
}

.awtar-wa-feedback.is-error {
	color: #dc2626;
}

.awtar-wa-feedback.is-success {
	color: #16a34a;
}

.awtar-wa-alert {
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.6;
}

.awtar-wa-alert--error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.awtar-wa-target {
	direction: ltr;
	unicode-bidi: embed;
	color: #111827;
}

.awtar-wa-divider {
	height: 1px;
	background: #eee3d9;
	margin: 22px 0 16px;
}

.awtar-wa-support {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.awtar-wa-support-q {
	font-size: 14px;
	font-weight: 800;
	color: #374151;
	text-decoration: none;
	cursor: pointer;
}

.awtar-wa-support-q:hover,
.awtar-wa-support-q:focus {
	color: #374151;
	text-decoration: none;
}

.awtar-wa-foot {
	margin: 16px 0 0;
	font-size: 11.5px;
	color: #9ca3af;
	line-height: 1.7;
}

/* ------------------------------------------------------------------
   Full-page treatment (this stylesheet loads only on the account page
   for logged-out visitors, so these overrides are scoped to it).
------------------------------------------------------------------ */

/* Hide the dark site footer on the login screen. */
#footer {
	display: none !important;
}

/* Neutralise theme containers so the login frame is full-bleed. */
#main-content,
#main-content .bzotech-container,
#main-content .bzotech-row,
#main-content .content-wrap,
#main-content .content-page-default,
#main-content article,
#main-content .entry-content,
#main-content .woocommerce {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.awtar-wa-auth {
	padding: 0;
	min-height: 100vh;
	align-items: stretch;
}

.awtar-wa-card {
	width: 100%;
	max-width: 100%;
	min-height: 100vh;
	border: none;
	border-radius: 0;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px 22px calc(40px + env(safe-area-inset-bottom, 0px));
}

/* Keep inner content readable and centered within the full-bleed frame. */
.awtar-wa-card > * {
	width: 100%;
	max-width: 460px;
	margin-inline: auto;
}

@media (max-width: 480px) {
	.awtar-wa-logo {
		font-size: 34px;
	}
	.awtar-wa-title {
		font-size: 19px;
	}
}
