/**
 * Aura OTP Pro - Modern Minimal Stylesheet
 * Native Vazirmatn Persian Typography, Dual Contrast Engine, and 2-Segment Auth
 */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
	--aura-font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Tahoma, sans-serif;
	
	/* Brand Color & Contrast Auto-Detection */
	--aura-primary: #4f46e5;
	--aura-primary-hover: #4338ca;
	--aura-btn-text: #ffffff;
	--aura-accent: #0284c7;
	
	/* Surfaces & Borders (Dark Theme Default) */
	--aura-bg-overlay: rgba(11, 15, 25, 0.78);
	--aura-card-bg: #111827;
	--aura-card-border: rgba(255, 255, 255, 0.1);
	--aura-card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
	
	/* Text */
	--aura-text: #f9fafb;
	--aura-subtext: #9ca3af;
	--aura-label: #e5e7eb;
	
	/* Inputs */
	--aura-input-bg: #1f2937;
	--aura-input-border: #374151;
	--aura-input-focus: #4f46e5;
	
	/* States */
	--aura-success: #10b981;
	--aura-danger: #ef4444;
	
	/* Radii */
	--aura-radius-lg: 16px;
	--aura-radius-md: 10px;
	--aura-radius-sm: 8px;
}

/* ==========================================================
   1. Modal Container & Flawless Responsive Centering
   ========================================================== */
.aura-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: flex-start; /* Crucial for mobile scrolling without top clipping */
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: clamp(0.75rem, 2.5vh, 2.5rem) clamp(0.5rem, 2vw, 1.25rem);
	padding-bottom: calc(clamp(0.75rem, 2.5vh, 2.5rem) + env(safe-area-inset-bottom, 0px));
	padding-top: calc(clamp(0.75rem, 2.5vh, 2.5rem) + env(safe-area-inset-top, 0px));
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	background: var(--aura-bg-overlay);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-family: var(--aura-font-family) !important;
	direction: rtl;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

.aura-modal-backdrop.is-modal:not(.is-open) {
	display: none !important;
	pointer-events: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

.aura-modal-backdrop.is-open {
	display: flex !important;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Inline Mode (Shortcode) */
.aura-modal-backdrop.is-inline {
	position: relative;
	inset: auto;
	z-index: 10;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	padding: 1.5rem 0;
	overflow: visible;
}

/* ==========================================================
   2. Clean Modal Dialog & Ricardo Oliva Alonso Sliding Architecture
   ========================================================== */
.aura-modal-dialog {
	position: relative;
	width: 100%;
	margin: auto;
	box-sizing: border-box;
}

.aura-modal-dialog.aura-ricardo-dialog {
	max-width: 860px;
	width: 100%;
	margin: auto;
}

.aura-roa-main {
	position: relative;
	width: 100%;
	height: 580px;
	min-height: 580px;
	background: var(--aura-card-bg);
	border: 1px solid var(--aura-card-border);
	border-radius: 24px;
	box-shadow: var(--aura-card-shadow);
	overflow: hidden;
	display: flex;
	box-sizing: border-box;
}

/* Close Button on Top Left */
.aura-roa-main .aura-close-btn {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 300;
}

/* Containers for Forms (Pane A: Register, Pane B: Login) */
.aura-roa-container {
	position: absolute;
	top: 0;
	height: 100%;
	width: calc(100% - 380px);
	padding: 1.5rem 2.5rem;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden !important; /* Zero scrollbars */
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}

.aura-roa-container::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

.aura-roa-form-wrap {
	width: 100%;
	max-width: 380px;
	margin: 0 auto;
}

.aura-roa-main .aura-auth-header {
	margin-bottom: 0.85rem;
}

.aura-roa-main .aura-brand-icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 0.4rem;
}

.aura-roa-main .aura-auth-title {
	font-size: 1.25rem;
	margin-bottom: 0.2rem;
}

.aura-roa-main .aura-auth-subtitle {
	font-size: 0.82rem;
	margin-bottom: 0.75rem;
}

.aura-roa-main .aura-input-field {
	margin-bottom: 0.65rem;
}

.aura-roa-main .aura-field-label {
	font-size: 0.8rem;
	margin-bottom: 0.25rem;
}

.aura-roa-main .aura-text-input,
.aura-roa-main .aura-text-input-full {
	height: 42px;
	font-size: 0.92rem;
}

.aura-roa-main .aura-creative-btn {
	padding: 0.72rem 1.4rem;
	margin-top: 0.25rem;
}

.aura-roa-main .aura-terms-note {
	margin-top: 0.45rem;
	font-size: 0.72rem;
}

/* In RTL:
   Registration (Pane A) is fixed on the left (left: 0).
   Login (Pane B) is fixed on the right (right: 0).
   The Switch Panel slides smoothly across from left: 0 to the right side.
*/
.aura-roa-a-container {
	left: 0;
	z-index: 10;
	opacity: 0;
	transform: translate3d(24px, 0, 0);
	pointer-events: none;
	transition: opacity 0.45s ease, transform 0.75s cubic-bezier(0.65, 0, 0.35, 1);
	will-change: transform, opacity;
}

.aura-roa-b-container {
	right: 0;
	z-index: 50;
	opacity: 1;
	transform: translate3d(0, 0, 0);
	pointer-events: auto;
	transition: opacity 0.45s ease, transform 0.75s cubic-bezier(0.65, 0, 0.35, 1);
	will-change: transform, opacity;
}

/* When .is-switched (User clicked "ثبت‌نام جدید" / Sign Up): */
.aura-roa-main.is-switched .aura-roa-b-container {
	opacity: 0;
	transform: translate3d(-24px, 0, 0);
	pointer-events: none;
	z-index: 10;
}

.aura-roa-main.is-switched .aura-roa-a-container {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	pointer-events: auto;
	z-index: 50;
}

/* Sliding Switch Panel (Pure GPU-Accelerated Hardware Transform) */
.aura-roa-switch {
	position: absolute;
	top: 0;
	left: 0;
	width: 380px;
	height: 100%;
	background: linear-gradient(135deg, var(--aura-grad-1, var(--aura-primary)), var(--aura-grad-2, var(--aura-accent)));
	color: #ffffff;
	z-index: 100;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 2rem;
	box-sizing: border-box;
	text-align: center;
	box-shadow: 4px 0 25px rgba(0, 0, 0, 0.2);
	transform: translate3d(0, 0, 0);
	transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1), box-shadow 0.75s ease;
	will-change: transform;
}

/* When switched to register, slide switch panel smoothly across to right side */
.aura-roa-main.is-switched .aura-roa-switch {
	transform: translate3d(calc(860px - 380px), 0, 0);
	box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2);
}

/* Decorative Morphing Background Circles (Silky Smooth Floating) */
.aura-roa-circle {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(4px);
	pointer-events: none;
	transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1);
	will-change: transform;
}

.aura-roa-circle.circle-1 {
	width: 360px;
	height: 360px;
	bottom: -30%;
	left: -20%;
	transform: translate3d(0, 0, 0);
}

.aura-roa-circle.circle-2 {
	width: 260px;
	height: 260px;
	top: -20%;
	right: -15%;
	transform: translate3d(0, 0, 0);
}

.aura-roa-main.is-switched .aura-roa-circle.circle-1 {
	transform: translate3d(140px, -40px, 0) scale(1.1);
}

.aura-roa-main.is-switched .aura-roa-circle.circle-2 {
	transform: translate3d(-120px, 40px, 0) scale(0.9);
}

/* Switch Contents (c1 and c2) */
.aura-roa-switch-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 2rem;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	transform: scale(0.92);
	pointer-events: none;
	transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.4s ease;
	will-change: transform, opacity;
	z-index: 10;
}

.aura-roa-switch-content.is-active {
	opacity: 1 !important;
	visibility: visible !important;
	transform: scale(1) !important;
	pointer-events: auto !important;
	z-index: 20 !important;
}

.aura-roa-switch-icon {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.2rem;
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.aura-roa-switch-title {
	font-size: 1.55rem;
	font-weight: 800;
	margin: 0 0 0.55rem 0;
	color: #ffffff;
	letter-spacing: normal !important;
}

.aura-roa-switch-desc {
	font-size: 0.88rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 1.6rem 0;
	max-width: 270px;
}

/* The Switch Button */
.aura-roa-switch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0.75rem 1.8rem;
	background: rgba(255, 255, 255, 0.18);
	border: 1.5px solid rgba(255, 255, 255, 0.75);
	border-radius: var(--aura-radius-md);
	color: #ffffff !important;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	font-family: inherit;
}

.aura-roa-switch-btn:hover {
	background: #ffffff;
	color: var(--aura-primary, #4f46e5) !important;
	border-color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Desktop Screen Constraints */
@media (min-width: 821px) {
	.aura-modal-dialog.aura-ricardo-dialog {
		width: 860px;
		max-width: 860px;
	}
	.aura-roa-main {
		height: 580px;
		min-height: 580px;
	}
	.aura-mobile-nav-bar,
	.aura-mobile-footer-switcher {
		display: none !important;
	}
}

/* Master Mobile & Tablet Breakpoint (Flawless UX on all phones & foldables) */
@media (max-width: 820px) {
	.aura-modal-backdrop {
		padding: 0.75rem 0.5rem;
		padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
		padding-top: calc(1rem + env(safe-area-inset-top, 0px));
	}
	.aura-modal-dialog.aura-ricardo-dialog {
		width: 100%;
		max-width: 440px;
		margin: auto;
	}
	.aura-roa-main {
		height: auto !important;
		min-height: auto !important;
		border-radius: 20px;
		display: grid !important;
		grid-template-columns: 100%;
		grid-template-rows: auto 1fr;
		overflow: hidden !important;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	}
	/* Hide desktop sliding switch panel on mobile */
	.aura-roa-switch {
		display: none !important;
	}
	/* Mobile Segmented Navigation Bar */
	.aura-mobile-nav-bar {
		grid-row: 1;
		grid-column: 1;
		display: flex !important;
		background: rgba(255, 255, 255, 0.05);
		border-bottom: 1px solid var(--aura-card-border);
		padding: 6px 6px 6px 54px !important;
		gap: 6px;
		box-sizing: border-box;
		width: 100%;
		z-index: 20;
	}
	.aura-mobile-tab {
		flex: 1;
		min-height: 46px;
		height: 46px;
		display: flex;
		align-items: center;
		justify-content: center;
		border: none;
		border-radius: var(--aura-radius-sm);
		background: transparent;
		color: var(--aura-subtext);
		font-size: 0.95rem;
		font-weight: 700;
		font-family: inherit;
		cursor: pointer;
		touch-action: manipulation;
		transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
		-webkit-tap-highlight-color: transparent;
	}
	.aura-mobile-tab.is-active {
		background: var(--aura-primary);
		color: var(--aura-btn-text, #ffffff) !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	}
	body.theme-light .aura-mobile-nav-bar {
		background: #f1f5f9;
		border-bottom-color: #e2e8f0;
	}
	body.theme-light .aura-mobile-tab {
		color: #64748b;
	}
	body.theme-light .aura-mobile-tab.is-active {
		background: var(--aura-primary);
		color: var(--aura-btn-text, #ffffff) !important;
	}
	/* Mobile Form Containers: Overlapping Grid Cell for Buttery-Smooth 60fps Slide */
	.aura-roa-a-container,
	.aura-roa-b-container {
		grid-row: 2;
		grid-column: 1;
		position: relative !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		width: 100% !important;
		height: auto !important;
		padding: 1.5rem 1.25rem 1.75rem !important;
		box-sizing: border-box;
		display: flex !important;
		flex-direction: column;
		justify-content: center;
		transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
		            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		            visibility 0.35s ease !important;
		will-change: transform, opacity;
	}
	.aura-roa-form-wrap {
		width: 100%;
		max-width: 100%;
	}
	/* Default on mobile: Login (B) is active and visible, Register (A) is shifted and hidden */
	.aura-roa-b-container {
		opacity: 1 !important;
		transform: translate3d(0, 0, 0) !important;
		pointer-events: auto !important;
		z-index: 10;
		visibility: visible !important;
	}
	.aura-roa-a-container {
		opacity: 0 !important;
		transform: translate3d(-35px, 0, 0) !important;
		pointer-events: none !important;
		z-index: 1;
		visibility: hidden !important;
	}
	/* When switched on mobile: Register (A) is active and visible, Login (B) is shifted and hidden */
	.aura-roa-main.is-switched .aura-roa-b-container {
		opacity: 0 !important;
		transform: translate3d(35px, 0, 0) !important;
		pointer-events: none !important;
		z-index: 1;
		visibility: hidden !important;
	}
	.aura-roa-main.is-switched .aura-roa-a-container {
		opacity: 1 !important;
		transform: translate3d(0, 0, 0) !important;
		pointer-events: auto !important;
		z-index: 10;
		visibility: visible !important;
	}
	/* Mobile Footer Switcher Links */
	.aura-mobile-footer-switcher {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		margin-top: 1.2rem;
		padding-top: 0.9rem;
		border-top: 1px solid rgba(255, 255, 255, 0.06);
		font-size: 0.84rem;
		color: var(--aura-subtext);
	}
	.aura-mobile-footer-switcher .aura-inline-link {
		font-weight: 700;
		color: var(--aura-accent);
		background: none;
		border: none;
		cursor: pointer;
		font-family: inherit;
		font-size: 0.84rem;
		padding: 4px 6px;
		text-decoration: underline;
	}
	/* Mobile Inputs & Touch Targets */
	.aura-roa-main .aura-text-input,
	.aura-roa-main .aura-text-input-full,
	.aura-roa-main .aura-creative-btn,
	.aura-roa-main .aura-switch-method-btn {
		min-height: 48px !important;
		height: 48px !important;
		font-size: 16px !important; /* Critical: stops iOS Safari auto-zoom! */
		border-radius: var(--aura-radius-md);
	}
	.aura-close-btn {
		top: 11px !important;
		left: 10px !important;
		width: 34px !important;
		height: 34px !important;
		z-index: 100 !important;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
}

@media (max-width: 480px) {
	.aura-form-grid-2 {
		flex-direction: column !important;
		gap: 0 !important;
	}
	.aura-roa-container {
		padding: 1.25rem 1rem 1.5rem !important;
	}
	.aura-auth-title {
		font-size: 1.15rem;
	}
	.aura-auth-subtitle {
		font-size: 0.8rem;
	}
	.aura-otp-digit {
		width: clamp(38px, 12vw, 44px) !important;
		height: clamp(44px, 14vw, 50px) !important;
		font-size: 1.2rem !important;
	}
}

.aura-card-3d-wrap {
	width: 100%;
	transform: none !important;
}

.aura-auth-card {
	position: relative;
	background: var(--aura-card-bg);
	border: 1px solid var(--aura-card-border);
	border-radius: var(--aura-radius-lg);
	padding: clamp(1.4rem, 4vw, 1.85rem);
	color: var(--aura-text);
	box-shadow: var(--aura-card-shadow);
	box-sizing: border-box;
	max-height: calc(100dvh - 3rem);
	overflow-y: auto;
	overscroll-behavior: contain;
	font-family: var(--aura-font-family) !important;
}

/* Sleek Scrollbar */
.aura-auth-card::-webkit-scrollbar {
	width: 4px;
}
.aura-auth-card::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 10px;
}

/* Close Button */
.aura-close-btn {
	position: absolute;
	top: 1rem;
	left: 1rem;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--aura-subtext);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s ease;
	z-index: 10;
}

.aura-close-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

/* ==========================================================
   3. Light Theme Variant (Full Contrast Protected)
   ========================================================== */
.aura-modal-backdrop.glass_light,
.aura-modal-backdrop.theme-light,
body.theme-light .aura-modal-backdrop {
	--aura-bg-overlay: rgba(15, 23, 42, 0.5);
	--aura-card-bg: #ffffff;
	--aura-card-border: #e2e8f0;
	--aura-card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
	--aura-text: #0f172a;
	--aura-subtext: #64748b;
	--aura-label: #334155;
	--aura-input-bg: #f8fafc;
	--aura-input-border: #cbd5e1;
}

.aura-modal-backdrop.glass_light .aura-flow-nav,
.aura-modal-backdrop.theme-light .aura-flow-nav,
body.theme-light .aura-flow-nav {
	background: #f1f5f9;
	border-color: #e2e8f0;
}

.aura-modal-backdrop.glass_light .aura-flow-tab,
.aura-modal-backdrop.theme-light .aura-flow-tab,
body.theme-light .aura-flow-tab {
	color: #64748b;
}

.aura-modal-backdrop.glass_light .aura-flow-tab.active,
.aura-modal-backdrop.theme-light .aura-flow-tab.active,
body.theme-light .aura-flow-tab.active {
	background: #ffffff !important;
	color: #0f172a !important;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.aura-modal-backdrop.glass_light .aura-close-btn,
.aura-modal-backdrop.theme-light .aura-close-btn,
body.theme-light .aura-close-btn {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #475569;
}

.aura-modal-backdrop.glass_light .aura-switch-method-btn,
.aura-modal-backdrop.theme-light .aura-switch-method-btn,
body.theme-light .aura-switch-method-btn {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #334155;
}

/* ==========================================================
   4. Header & 2-Segment Control (ورود / ثبت‌نام)
   ========================================================== */
.aura-auth-header {
	text-align: center;
	margin-bottom: 1.35rem;
}

.aura-brand-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 0.75rem;
	background: rgba(79, 70, 229, 0.1);
	border: 1px solid rgba(79, 70, 229, 0.25);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--aura-primary);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
}

.aura-brand-icon:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(79, 70, 229, 0.22);
}

.aura-brand-icon:has(.aura-custom-logo-img),
.aura-brand-icon.has-custom-logo {
	width: auto !important;
	height: auto !important;
	max-width: 160px;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	margin-bottom: 0.6rem !important;
}

.aura-custom-logo-img {
	max-width: 150px;
	max-height: 48px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.aura-brand-svg {
	width: 32px;
	height: 32px;
	display: block;
}

.aura-brand-shield {
	transform-box: fill-box;
	transform-origin: center;
	transition: stroke 0.3s ease;
}

.aura-brand-check {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
	animation: auraCheckDraw 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes auraCheckDraw {
	from { stroke-dashoffset: 1; opacity: 0; }
	to { stroke-dashoffset: 0; opacity: 1; }
}

.aura-auth-title {
	font-size: 1.25rem;
	font-weight: 800;
	margin: 0 0 0.35rem 0;
	color: var(--aura-text);
	letter-spacing: normal !important;
	line-height: 1.45;
}

.aura-auth-subtitle {
	font-size: 0.86rem;
	color: var(--aura-subtext);
	margin: 0;
	line-height: 1.6;
	font-weight: 400;
}

/* Segmented Tabs (Exactly 2 Tabs: ورود و ثبت‌نام) */
.aura-flow-nav {
	display: flex;
	background: #1f2937;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--aura-radius-md);
	padding: 3px;
	margin-bottom: 1.35rem;
	gap: 3px;
}

.aura-flow-tab {
	flex: 1;
	background: none;
	border: none;
	padding: 8px 12px;
	border-radius: var(--aura-radius-sm);
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--aura-subtext);
	cursor: pointer;
	transition: all 0.15s ease;
	text-align: center;
	font-family: inherit;
}

.aura-flow-tab:hover {
	color: var(--aura-text);
}

.aura-flow-tab.active {
	background: var(--aura-primary) !important;
	color: var(--aura-btn-text, #ffffff) !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* ==========================================================
   5. Form Controls & In-Login Method Switcher
   ========================================================== */
.aura-step-view {
	display: none;
}

.aura-step-view.active {
	display: block;
	animation: auraFadeIn 0.18s ease;
}

@keyframes auraFadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

.aura-input-field {
	margin-bottom: 1.1rem;
}

.aura-field-label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	color: var(--aura-label);
}

/* ==========================================================
   UNIFIED MODAL INPUT SURFACES (Bulletproof Theme Overrides)
   ========================================================== */
#aura-auth-modal input,
#aura-auth-modal input[type="tel"],
#aura-auth-modal input[type="text"],
#aura-auth-modal input[type="password"],
#aura-auth-modal input[type="email"],
#aura-auth-modal select,
.aura-roa-main input[type="tel"],
.aura-roa-main input[type="text"],
.aura-roa-main input[type="password"],
.aura-roa-main input[type="email"],
.aura-roa-main .aura-text-input,
.aura-roa-main .aura-text-input-full {
	width: 100% !important;
	height: 48px !important;
	background: rgba(255, 255, 255, 0.08) !important;
	background-color: rgba(255, 255, 255, 0.08) !important;
	border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
	border-radius: var(--aura-radius-md) !important;
	padding: 0 1rem !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.03), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
	outline: none !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

/* Password input: extra left padding so eye toggle button never collides with entered characters */
#aura-auth-modal .aura-password-wrap input,
#aura-auth-modal .aura-password-wrap input[type="password"],
.aura-roa-main .aura-password-wrap input {
	padding-left: 2.8rem !important;
}

/* Phone input: Left-to-Right from the left, clean number spacing */
#aura-auth-modal input[type="tel"],
#aura-auth-modal .aura-phone-field,
.aura-roa-main input[type="tel"],
.aura-roa-main .aura-phone-field {
	direction: ltr !important;
	text-align: left !important;
	font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, monospace, sans-serif !important;
	letter-spacing: 0.08em !important;
	font-variant-numeric: tabular-nums !important;
}

/* Unified Focus States */
#aura-auth-modal input:focus,
#aura-auth-modal input[type="tel"]:focus,
#aura-auth-modal input[type="text"]:focus,
#aura-auth-modal input[type="password"]:focus,
#aura-auth-modal input[type="email"]:focus,
.aura-roa-main input:focus,
.aura-roa-main .aura-text-input:focus,
.aura-roa-main .aura-text-input-full:focus {
	background: rgba(255, 255, 255, 0.12) !important;
	background-color: rgba(255, 255, 255, 0.12) !important;
	border-color: #818cf8 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3), 0 4px 14px rgba(99, 102, 241, 0.2) !important;
}

/* Placeholder Styling: high contrast & vanishes smoothly when user clicks/focuses */
#aura-auth-modal input::placeholder,
.aura-roa-main input::placeholder {
	color: #94a3b8 !important;
	-webkit-text-fill-color: #94a3b8 !important;
	opacity: 1 !important;
	transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease !important;
}

#aura-auth-modal input:focus::placeholder,
.aura-roa-main input:focus::placeholder {
	opacity: 0 !important;
	-webkit-text-fill-color: transparent !important;
	transform: translateX(6px) !important;
}

/* Light Mode Overrides for Full Consistency */
.aura-modal-backdrop.theme-light input,
.aura-modal-backdrop.theme-light input[type="tel"],
.aura-modal-backdrop.theme-light input[type="text"],
.aura-modal-backdrop.theme-light input[type="password"],
.aura-modal-backdrop.theme-light input[type="email"],
.aura-modal-backdrop.theme-light .aura-roa-main input {
	background: #f1f5f9 !important;
	background-color: #f1f5f9 !important;
	border: 1.5px solid #cbd5e1 !important;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.aura-modal-backdrop.theme-light input:focus,
.aura-modal-backdrop.theme-light .aura-roa-main input:focus {
	background: #ffffff !important;
	background-color: #ffffff !important;
	border-color: #6366f1 !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
}

.aura-modal-backdrop.theme-light input::placeholder,
.aura-modal-backdrop.theme-light .aura-roa-main input::placeholder {
	color: #64748b !important;
	-webkit-text-fill-color: #64748b !important;
}

.aura-form-grid-2 {
	display: flex;
	gap: 10px;
}

.aura-form-grid-2 .aura-input-field {
	flex: 1;
}

.aura-field-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.4rem;
}

.aura-field-header-row .aura-field-label {
	margin-bottom: 0;
}

.aura-inline-link {
	background: none;
	border: none;
	color: var(--aura-accent);
	font-size: 0.76rem;
	cursor: pointer;
	padding: 0;
	font-family: inherit;
}

.aura-inline-link:hover {
	text-decoration: underline;
}

.aura-password-wrap {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

.aura-password-wrap .aura-text-input-full,
.aura-password-wrap input[type="password"],
.aura-password-wrap input {
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	margin: 0 !important;
	margin-bottom: 0 !important;
	padding-left: 2.8rem !important;
	padding-right: 1rem !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	box-sizing: border-box !important;
}

.aura-toggle-pass-visibility {
	position: absolute !important;
	left: 12px !important;
	top: 0 !important;
	bottom: 0 !important;
	margin-top: auto !important;
	margin-bottom: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	transform: none !important;
	-webkit-transform: none !important;
	z-index: 10 !important;
	width: 26px !important;
	height: 26px !important;
	min-width: 26px !important;
	min-height: 26px !important;
	max-width: 26px !important;
	max-height: 26px !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	background-color: transparent !important;
	color: #94a3b8 !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
	box-shadow: none !important;
	outline: none !important;
	transition: color 0.2s ease !important;
}

.aura-toggle-pass-visibility:hover {
	color: #ffffff !important;
}

.aura-eye-svg {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	pointer-events: none !important;
}

/* Forgot Password Link Row under password input */
.aura-forgot-pass-row {
	display: flex !important;
	justify-content: flex-start !important;
	margin-top: 8px !important;
	margin-bottom: 4px !important;
}

.aura-forgot-link-btn {
	background: none !important;
	border: none !important;
	color: #38bdf8 !important;
	font-size: 0.82rem !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	padding: 2px 0 !important;
	font-family: inherit !important;
	text-decoration: none !important;
	transition: color 0.2s ease, opacity 0.2s ease !important;
	outline: none !important;
}

.aura-forgot-link-btn:hover {
	color: #7dd3fc !important;
	text-decoration: underline !important;
}

.theme-light .aura-forgot-link-btn {
	color: #0284c7 !important;
}

.theme-light .aura-forgot-link-btn:hover {
	color: #0369a1 !important;
}

/* Eradicate any legacy country tag or dial code completely */
.aura-country-tag,
.aura-flag,
.aura-dial-code {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

.aura-eye-slash {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	opacity: 0;
	transition: stroke-dashoffset 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.aura-toggle-pass-visibility.is-visible .aura-eye-slash {
	stroke-dashoffset: 0;
	opacity: 1;
}

.aura-toggle-pass-visibility.is-visible .aura-eye-pupil {
	transform-box: fill-box;
	transform-origin: center;
	transform: scale(0.65);
	opacity: 0.5;
	transition: all 0.25s ease;
}

/* In-Login Switcher Button */
.aura-method-switcher-wrap {
	margin-top: 1rem;
	text-align: center;
}

.aura-switch-method-btn {
	width: 100%;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--aura-input-border);
	border-radius: var(--aura-radius-md);
	color: var(--aura-text);
	font-size: 0.86rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	font-family: inherit;
}

.aura-switch-method-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--aura-primary);
	color: var(--aura-primary);
	transform: translateY(-1px);
}

.aura-switch-icon-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Shackle Lift on Padlock SVG */
.aura-padlock-shackle {
	transform-box: fill-box;
	transform-origin: bottom center;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aura-switch-method-btn:hover .aura-padlock-shackle {
	transform: translateY(-2.5px);
}

/* Signal Waves Pulse on Phone SVG */
.aura-wave-arc {
	transition: all 0.25s ease;
	opacity: 0.5;
}

.aura-switch-method-btn:hover .aura-wave-r,
.aura-switch-method-btn:hover .aura-wave-l {
	opacity: 1;
}

/* OTP Digits Boxes - High Contrast Verified */
.aura-phone-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	border-radius: var(--aura-radius-sm);
	padding: 0.6rem 0.9rem;
	font-size: 0.82rem;
	margin-bottom: 1.25rem;
	color: #e2e8f0 !important;
}

.aura-phone-summary span {
	color: #cbd5e1 !important;
	font-weight: 500;
	font-size: 0.82rem;
}

.aura-phone-summary strong {
	color: #ffffff !important;
	font-size: 0.96rem;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.aura-edit-phone-btn {
	background: rgba(56, 189, 248, 0.12) !important;
	border: 1px solid rgba(56, 189, 248, 0.3) !important;
	color: #38bdf8 !important;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.78rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	font-family: inherit;
	transition: all 0.2s ease;
}

.aura-edit-phone-btn:hover {
	background: rgba(56, 189, 248, 0.25) !important;
	color: #ffffff !important;
	border-color: #38bdf8 !important;
}

/* OTP Digits Container */
.aura-otp-boxes {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 0.8rem 0 1.4rem 0 !important;
	direction: ltr !important;
	text-align: center !important;
	perspective: 600px;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aura-otp-boxes[data-digits="5"] {
	gap: 9px !important;
}

.aura-otp-boxes[data-digits="6"] {
	gap: 7px !important;
}

/* Fluid Error Shake Animation */
.aura-otp-boxes.is-error {
	animation: auraErrorFluidShake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Individual OTP Digit Box - Ultra-Hardened Dark Glass, NEVER Solid White, NEVER Dark Text */
.aura-otp-digit,
.aura-roa-main .aura-otp-digit,
.aura-modal-backdrop .aura-otp-digit,
.aura-modal-backdrop input[type="text"].aura-otp-digit,
.aura-modal-backdrop.theme-light .aura-roa-main .aura-otp-digit,
.aura-modal-backdrop.theme-dark .aura-roa-main .aura-otp-digit,
.aura-modal-backdrop input.aura-otp-digit,
.aura-otp-boxes input[type="text"].aura-otp-digit,
.aura-otp-boxes .aura-otp-digit {
	width: 54px !important;
	height: 60px !important;
	max-width: 18vw !important;
	text-align: center !important;
	direction: ltr !important;
	text-indent: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: normal !important;
	font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, monospace, sans-serif !important;
	font-size: 1.7rem !important;
	font-weight: 700 !important;
	font-variant-numeric: tabular-nums !important;
	letter-spacing: 0 !important;
	caret-color: #818cf8 !important;
	border-radius: 13px !important;
	outline: none !important;
	box-sizing: border-box !important;
	vertical-align: middle !important;
	display: inline-block !important;
	cursor: text !important;
	user-select: text !important;
	-webkit-user-select: text !important;
	background: rgba(255, 255, 255, 0.08) !important;
	background-color: rgba(255, 255, 255, 0.08) !important;
	border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
	            border-color 0.2s ease,
	            background-color 0.2s ease,
	            box-shadow 0.2s ease,
	            color 0.2s ease !important;
}

.aura-otp-boxes[data-digits="5"] .aura-otp-digit {
	width: 48px !important;
	height: 54px !important;
	font-size: 1.45rem !important;
	line-height: normal !important;
}

.aura-otp-boxes[data-digits="6"] .aura-otp-digit {
	width: 42px !important;
	height: 50px !important;
	font-size: 1.35rem !important;
	line-height: normal !important;
}

/* Hover State */
.aura-otp-digit:hover:not(:disabled):not(.is-error):not(.is-success),
.aura-roa-main .aura-otp-digit:hover:not(:disabled):not(.is-error):not(.is-success) {
	background: rgba(255, 255, 255, 0.12) !important;
	background-color: rgba(255, 255, 255, 0.12) !important;
	border-color: rgba(255, 255, 255, 0.35) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* Focus State: Glowing Ring + Focused Violet Caret */
.aura-otp-digit:focus,
.aura-roa-main .aura-otp-digit:focus,
.aura-modal-backdrop .aura-otp-digit:focus,
.aura-modal-backdrop.theme-light .aura-roa-main .aura-otp-digit:focus {
	transform: translateY(-2px) scale(1.06) !important;
	background: rgba(255, 255, 255, 0.14) !important;
	background-color: rgba(255, 255, 255, 0.14) !important;
	border-color: #818cf8 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	box-shadow: 0 0 0 3.5px rgba(99, 102, 241, 0.35), 0 8px 24px rgba(99, 102, 241, 0.28) !important;
}

/* Filled State */
.aura-otp-digit.is-filled,
.aura-roa-main .aura-otp-digit.is-filled,
.aura-modal-backdrop .aura-otp-digit.is-filled,
.aura-modal-backdrop.theme-light .aura-roa-main .aura-otp-digit.is-filled {
	background: rgba(99, 102, 241, 0.18) !important;
	background-color: rgba(99, 102, 241, 0.18) !important;
	border-color: rgba(99, 102, 241, 0.8) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.4) !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(99, 102, 241, 0.35) !important;
	animation: auraDigitPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Success State (All Emerald Green) */
.aura-otp-digit.is-success,
.aura-otp-boxes.is-success .aura-otp-digit,
.aura-modal-backdrop .aura-otp-digit.is-success,
.aura-modal-backdrop.theme-light .aura-roa-main .aura-otp-digit.is-success {
	background: rgba(16, 185, 129, 0.25) !important;
	background-color: rgba(16, 185, 129, 0.25) !important;
	border-color: #10b981 !important;
	color: #34d399 !important;
	-webkit-text-fill-color: #34d399 !important;
	box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.38), 0 10px 28px rgba(16, 185, 129, 0.4) !important;
	animation: auraSuccessGlow 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Error State (All Luminous Red) */
.aura-otp-digit.is-error,
.aura-otp-boxes.is-error .aura-otp-digit,
.aura-modal-backdrop .aura-otp-digit.is-error,
.aura-modal-backdrop.theme-light .aura-roa-main .aura-otp-digit.is-error {
	background: rgba(244, 63, 94, 0.25) !important;
	background-color: rgba(244, 63, 94, 0.25) !important;
	border-color: #f43f5e !important;
	color: #fb7185 !important;
	-webkit-text-fill-color: #fb7185 !important;
	box-shadow: 0 0 0 3.5px rgba(244, 63, 94, 0.38), 0 10px 28px rgba(244, 63, 94, 0.4) !important;
}

/* Physics-based Keyframes */
@keyframes auraDigitPop {
	0% {
		transform: scale(0.88);
		opacity: 0.6;
	}
	60% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes auraSuccessGlow {
	0% {
		transform: scale(1);
	}
	45% {
		transform: scale(1.08) translateY(-2px);
		box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.45), 0 12px 32px rgba(16, 185, 129, 0.45);
	}
	100% {
		transform: scale(1.03);
		box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.35), 0 10px 28px rgba(16, 185, 129, 0.38);
	}
}

@keyframes auraErrorFluidShake {
	0%, 100% {
		transform: translateX(0);
	}
	15% {
		transform: translateX(-7px) rotate(-1deg);
	}
	30% {
		transform: translateX(6px) rotate(1deg);
	}
	45% {
		transform: translateX(-5px) rotate(-0.5deg);
	}
	60% {
		transform: translateX(4px) rotate(0.5deg);
	}
	75% {
		transform: translateX(-2px);
	}
	90% {
		transform: translateX(1px);
	}
}

/* ==========================================================
   6. Primary Button with Contrast Safety
   ========================================================== */
.aura-creative-btn {
	position: relative;
	width: 100%;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--aura-primary) !important;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: var(--aura-radius-md);
	color: var(--aura-btn-text, #ffffff) !important;
	font-size: 0.94rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: all 0.15s ease;
	user-select: none;
	font-family: inherit;
}

.aura-creative-btn:hover {
	filter: brightness(0.92);
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.aura-creative-btn:active {
	transform: scale(0.98);
}

.aura-btn-spinner {
	display: none;
	position: absolute;
	animation: auraSpin 0.8s linear infinite;
}

.aura-creative-btn.is-loading .aura-btn-text { opacity: 0; }
.aura-creative-btn.is-loading .aura-btn-spinner { display: flex; }

@keyframes auraSpin { 100% { transform: rotate(360deg); } }

.aura-terms-note {
	font-size: 0.72rem;
	color: var(--aura-subtext);
	text-align: center;
	margin: 0.9rem 0 0 0;
	line-height: 1.5;
}

/* Minimal Luxury Stopwatch Countdown */
.aura-resend-wrapper {
	margin-top: 1.15rem;
	text-align: center;
}

.aura-countdown-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 5px 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	font-size: 0.8rem;
	color: var(--aura-subtext);
	direction: rtl;
	transition: all 0.25s ease;
}

.aura-clock-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: var(--aura-primary);
}

.aura-stopwatch-svg {
	display: block;
	overflow: visible;
}

.aura-clock-arc {
	transform: rotate(-90deg);
	transform-origin: 12px 12px;
	transition: stroke-dasharray 1s linear;
}

.aura-clock-second-hand {
	transform-origin: 12px 12px;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aura-countdown-txt {
	font-size: 0.8rem;
	color: #cbd5e1 !important;
	font-weight: 500;
}

.aura-timer-badge {
	font-family: 'Vazirmatn', monospace, sans-serif !important;
	font-weight: 700 !important;
	font-size: 0.9rem !important;
	color: #818cf8 !important;
	direction: ltr !important;
	display: inline-block;
	letter-spacing: 0.5px;
}

.theme-light .aura-countdown-txt {
	color: #475569 !important;
}

.theme-light .aura-timer-badge {
	color: #4f46e5 !important;
}

.theme-light .aura-countdown-box {
	background: rgba(0, 0, 0, 0.04);
	border-color: rgba(0, 0, 0, 0.08);
}

.aura-resend-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 0.6rem;
}

.aura-link-action {
	background: none;
	border: none;
	color: var(--aura-accent);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 8px;
	border-radius: var(--aura-radius-sm);
	transition: all 0.2s ease;
	font-family: inherit;
}

.aura-link-action:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--aura-text);
}

.aura-link-action svg {
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.aura-link-action:hover svg {
	transform: rotate(-45deg);
}

.aura-voice-action {
	color: #f59e0b;
}

.aura-voice-action:hover {
	color: #fbbf24;
}

.aura-voice-svg .aura-sound-wave {
	transition: all 0.25s ease;
	opacity: 0.5;
}

.aura-voice-action:hover .aura-sound-wave {
	opacity: 1;
}

.aura-divider { color: var(--aura-input-border); }
.req { color: var(--aura-danger); margin-right: 2px; }

/* Alerts */
.aura-alert {
	padding: 0.65rem 0.9rem;
	border-radius: var(--aura-radius-sm);
	font-size: 0.82rem;
	margin-bottom: 1.1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.aura-alert.is-error {
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #fca5a5;
}

.aura-alert.is-success {
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.3);
	color: #6ee7b7;
}

/* Step Success */
.aura-success-animation {
	width: 58px;
	height: 58px;
	margin: 0.75rem auto 1rem;
}

.aura-checkmark-svg {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	display: block;
	stroke-width: 3;
	stroke: var(--aura-success);
	box-shadow: inset 0 0 0 var(--aura-success);
	animation: auraSuccessFill 0.4s ease-in-out 0.4s forwards;
}

.aura-checkmark-circle {
	stroke-dasharray: 166;
	stroke-dashoffset: 166;
	stroke-width: 3;
	stroke: var(--aura-success);
	fill: none;
	animation: auraSuccessStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.aura-checkmark-check {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	stroke: #ffffff;
	animation: auraSuccessStrokeCheck 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.7s forwards;
}

@keyframes auraSuccessStroke { 100% { stroke-dashoffset: 0; } }
@keyframes auraSuccessStrokeCheck { 100% { stroke-dashoffset: 0; } }
@keyframes auraSuccessFill { 100% { box-shadow: inset 0 0 0 30px var(--aura-success); } }

.aura-success-title {
	font-size: 1.15rem;
	font-weight: 800;
	text-align: center;
	margin: 0 0 0.3rem 0;
	color: var(--aura-text);
}

.aura-success-desc {
	font-size: 0.82rem;
	color: var(--aura-subtext);
	text-align: center;
	margin: 0 0 1.25rem 0;
}

.aura-progress-bar {
	width: 100%;
	height: 4px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	overflow: hidden;
}

.aura-progress-fill {
	width: 0%;
	height: 100%;
	background: var(--aura-primary);
	animation: auraProgressLoad 1.5s ease-in-out forwards;
}

@keyframes auraProgressLoad { to { width: 100%; } }

/* Footer Branding */
.aura-footer-branding {
	margin-top: 1.25rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

.aura-secure-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.72rem;
	color: var(--aura-subtext);
}

/* Trigger Button */
.aura-trigger-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.6rem;
	background: var(--aura-primary);
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: var(--aura-radius-md);
	color: var(--aura-btn-text, #ffffff) !important;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	font-family: inherit;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.aura-trigger-btn:hover {
	filter: brightness(0.92);
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.aura-trigger-btn .aura-btn-content {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* User SVG Micro-Animation */
.aura-trigger-btn .aura-user-svg {
	width: 20px;
	height: 20px;
	display: block;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aura-trigger-btn:hover .aura-user-svg {
	transform: scale(1.15) translateY(-1px);
}

.aura-user-svg {
	display: block;
	transition: transform 0.2s ease;
}

.aura-trigger-btn:hover .aura-user-svg {
	transform: scale(1.05);
}

.aura-user-head,
.aura-user-body {
	transition: none;
}

.aura-user-halo {
	display: none;
}

/* Focus Visible */
button:focus-visible, 
input:focus-visible, 
a:focus-visible {
	outline: 2px solid var(--aura-primary) !important;
	outline-offset: 2px !important;
}

/* Mobile Breakpoints */
@media (max-width: 480px) {
	.aura-modal-backdrop {
		padding: 0.5rem;
	}
	.aura-modal-dialog {
		max-width: 100%;
	}
	.aura-auth-card {
		padding: 1.4rem 1.1rem 1.6rem;
		border-radius: 14px;
	}
	.aura-otp-digit {
		width: 42px;
		height: 48px;
		font-size: 1.25rem;
	}
}
