.breezan-auth {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
}
.breezan-auth__card {
	width: 100%;
	max-width: 440px;
	background: #fff;
	border-radius: var(--breezan-radius-lg);
	border: 1px solid var(--breezan-border);
	padding: 2.5rem 2rem;
}
.breezan-auth__header { text-align: center; margin-bottom: 2rem; }
.breezan-auth__header h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.breezan-auth__header p { color: var(--breezan-text-light); font-size: 0.875rem; }

/* ── Alert (shared error / success) ── */
.breezan-auth__alert { display: none; }
.breezan-auth__error,
.breezan-auth__alert.breezan-auth__error {
	background: #fef2f2; border: 1px solid #fecaca; color: #dc2626;
	border-radius: var(--breezan-radius-sm); padding: 0.75rem 1rem;
	font-size: 0.8125rem; margin-bottom: 1rem; text-align: center;
}
.breezan-auth__success,
.breezan-auth__alert.breezan-auth__success {
	background: #ecfdf5; border: 1px solid #a7f3d0; color: #059669;
	border-radius: var(--breezan-radius-sm); padding: 0.75rem 1rem;
	font-size: 0.8125rem; margin-bottom: 1rem; text-align: center;
}

/* ── Form ── */
.breezan-auth__form { display: flex; flex-direction: column; gap: 1rem; }
.breezan-auth__field label {
	display: block; font-size: 0.8125rem;
	color: var(--breezan-text-light); margin-bottom: 0.375rem;
}
.breezan-auth__footer {
	text-align: center; margin-top: 1.5rem;
	font-size: 0.8125rem; color: var(--breezan-text-light);
}

/* ── Tabs ── */
.breezan-auth__tabs {
	display: flex;
	gap: 0;
	margin-bottom: 1.5rem;
	border: 1px solid var(--breezan-border);
	border-radius: var(--breezan-radius-sm);
	overflow: hidden;
}
.breezan-auth__tab {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 0.5rem;
	font-size: 0.8125rem;
	color: var(--breezan-text-light);
	background: var(--breezan-bg-soft);
	border: none;
	cursor: pointer;
	transition: all var(--breezan-transition);
	font-family: inherit;
}
.breezan-auth__tab:not(:last-child) {
	border-left: 1px solid var(--breezan-border);
}
.breezan-auth__tab.is-active {
	background: #fff;
	color: var(--breezan-primary);
	font-weight: 600;
}
.breezan-auth__tab svg {
	flex-shrink: 0;
}

/* ── Phone input with prefix ── */
.breezan-auth__phone-wrap {
	display: flex;
	align-items: center;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	overflow: hidden;
	transition: border-color var(--breezan-transition);
	background: #fff;
}
.breezan-auth__phone-wrap:focus-within {
	border-color: var(--breezan-primary);
}
.breezan-auth__phone-prefix {
	padding: 0 0.75rem;
	font-size: 0.875rem;
	color: var(--breezan-text-light);
	background: var(--breezan-bg-soft);
	border-left: 1px solid #e5e7eb;
	display: flex;
	align-items: center;
	height: 100%;
	min-height: 2.75rem;
	user-select: none;
	direction: ltr;
}
.breezan-input--phone {
	border: none !important;
	border-radius: 0 !important;
	flex: 1;
}
.breezan-input--phone:focus {
	border-color: transparent !important;
	box-shadow: none;
}

/* ── OTP ── */
.breezan-auth__otp-header {
	text-align: center;
	margin-bottom: 1.5rem;
}
.breezan-auth__otp-header p {
	font-size: 0.875rem;
	color: var(--breezan-text-light);
	margin-bottom: 0.25rem;
}
.breezan-auth__otp-header strong {
	font-size: 1.125rem;
	color: var(--breezan-text);
	display: block;
	margin-bottom: 0.5rem;
	letter-spacing: 0.05em;
}
.breezan-auth__change-phone {
	background: none;
	border: none;
	color: var(--breezan-primary);
	font-size: 0.8125rem;
	cursor: pointer;
	text-decoration: underline;
	font-family: inherit;
	padding: 0;
}
.breezan-auth__otp-inputs {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	margin-bottom: 1.5rem;
	direction: ltr;
}
.breezan-otp-digit {
	width: 3.25rem;
	height: 3.25rem;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 600;
	border: 2px solid #e5e7eb;
	border-radius: var(--breezan-radius-sm);
	background: #fff;
	transition: border-color var(--breezan-transition);
	font-family: inherit;
}
.breezan-otp-digit:focus {
	border-color: var(--breezan-primary);
	outline: none;
}

/* ── Resend OTP ── */
.breezan-auth__resend {
	text-align: center;
	margin-top: 1rem;
}
.breezan-auth__resend-btn {
	background: none;
	border: none;
	color: var(--breezan-text-light);
	font-size: 0.8125rem;
	cursor: pointer;
	font-family: inherit;
	padding: 0.25rem 0.5rem;
	transition: color var(--breezan-transition);
}
.breezan-auth__resend-btn:hover:not(:disabled) {
	color: var(--breezan-primary);
}
.breezan-auth__resend-btn:disabled {
	cursor: default;
	opacity: 0.6;
}

/* ── Button spinner ── */
.breezan-btn__spinner {
	width: 1.25rem;
	height: 1.25rem;
	border: 2px solid rgba(255,255,255,0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: breezan-spin 0.6s linear infinite;
	display: inline-block;
}
@keyframes breezan-spin {
	to { transform: rotate(360deg); }
}
