/* ===========================================
   AUTH PAGES - Bloomberg-Grade Fintech Design
   =========================================== */

.auth-page {
	min-height: 100vh;
	background: #0a0e17;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	position: relative;
	overflow: hidden;
}

/* Premium ambient glow */
.auth-page::before {
	content: '';
	position: absolute;
	top: -20%;
	left: 50%;
	transform: translateX(-50%);
	width: 1000px;
	height: 600px;
	background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
	pointer-events: none;
}

.auth-page::after {
	content: '';
	position: absolute;
	bottom: -30%;
	right: -10%;
	width: 800px;
	height: 800px;
	background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
	pointer-events: none;
}

.auth-container {
	display: grid;
	grid-template-columns: 460px 1fr;
	max-width: 1100px;
	width: 100%;
	min-height: 640px;
	background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1.25rem;
	overflow: hidden;
	position: relative;
	z-index: 1;
	box-shadow: 
		0 0 0 1px rgba(255, 255, 255, 0.03),
		0 25px 50px -12px rgba(0, 0, 0, 0.6),
		0 0 80px -20px rgba(59, 130, 246, 0.15);
	transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-container:hover {
	box-shadow: 
		0 0 0 1px rgba(59, 130, 246, 0.1),
		0 25px 50px -12px rgba(0, 0, 0, 0.6),
		0 0 100px -20px rgba(59, 130, 246, 0.2);
}

/* ===========================================
   LEFT: FORM SECTION
   =========================================== */

.auth-form-section {
	padding: 3rem 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

/* Subtle gradient accent on top */
.auth-form-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #3b82f6 0%, #10b981 50%, #8b5cf6 100%);
	opacity: 0.8;
}

.auth-header {
	margin-bottom: 2rem;
}

.auth-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #f9fafb;
	margin-bottom: 0.625rem;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.auth-subtitle {
	font-size: 0.9375rem;
	color: #94a3b8;
	line-height: 1.6;
}

/* Form */
.auth-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	flex: 1;
}

.auth-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.auth-label {
	font-size: 0.8125rem;
	font-weight: 500;
	color: #d1d5db;
}

.auth-input-wrapper {
	position: relative;
}

.auth-input {
	width: 100%;
	padding: 0.875rem 1rem;
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.625rem;
	color: #f9fafb;
	font-size: 0.9375rem;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-input::placeholder {
	color: #64748b;
}

.auth-input:hover {
	border-color: rgba(255, 255, 255, 0.15);
	background: rgba(15, 23, 42, 0.8);
}

.auth-input:focus {
	outline: none;
	border-color: #3b82f6;
	background: rgba(15, 23, 42, 0.9);
	box-shadow: 
		0 0 0 3px rgba(59, 130, 246, 0.15),
		0 0 20px -5px rgba(59, 130, 246, 0.2);
}

.auth-input-error {
	border-color: #ef4444 !important;
}

.auth-input-valid {
	border-color: #10b981;
}

.auth-input-toggle {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #6b7280;
	cursor: pointer;
	padding: 0.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.15s;
}

.auth-input-toggle:hover {
	color: #9ca3af;
}

.auth-field-error {
	font-size: 0.8125rem;
	color: #ef4444;
	margin: 0;
}

/* Password Strength */
.password-strength {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.password-strength-bar {
	flex: 1;
	height: 3px;
	background: #374151;
	border-radius: 2px;
	overflow: hidden;
}

.password-strength-fill {
	height: 100%;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.password-strength-fill.strength-1 { background: #ef4444; }
.password-strength-fill.strength-2 { background: #f59e0b; }
.password-strength-fill.strength-3 { background: #10b981; }
.password-strength-fill.strength-4 { background: #10b981; }

/* Alternate class names */
.password-strength-fill.strength-weak { background: #ef4444; }
.password-strength-fill.strength-fair { background: #f59e0b; }
.password-strength-fill.strength-good { background: #10b981; }
.password-strength-fill.strength-strong { background: #22c55e; }

.password-strength-label {
	font-size: 0.75rem;
	color: #9ca3af;
	min-width: 60px;
}

.password-strength-text {
	font-size: 0.75rem;
	color: #9ca3af;
	min-width: 50px;
	text-align: right;
}

/* Login Options Row (Remember me + Forgot password) */
.auth-login-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.auth-link-secondary {
	font-size: 0.8125rem;
	color: #60a5fa;
	text-decoration: none;
	transition: color 0.15s;
}

.auth-link-secondary:hover {
	color: #93c5fd;
	text-decoration: underline;
}

:root:not(.dark) .auth-link-secondary {
	color: #3b82f6;
}

:root:not(.dark) .auth-link-secondary:hover {
	color: #2563eb;
}

/* Terms Checkbox */
.auth-terms {
	margin-top: 0.5rem;
}

.auth-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	cursor: pointer;
}

.auth-checkbox input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.auth-checkbox-mark {
	width: 1.125rem;
	height: 1.125rem;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 0.25rem;
	background: #1f2937;
	flex-shrink: 0;
	margin-top: 0.125rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}

.auth-checkbox input:checked + .auth-checkbox-mark {
	background: #3b82f6;
	border-color: #3b82f6;
}

.auth-checkbox input:checked + .auth-checkbox-mark::after {
	content: '';
	width: 5px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-bottom: 2px;
}

.auth-checkbox-text {
	font-size: 0.8125rem;
	color: #9ca3af;
	line-height: 1.5;
}

.auth-checkbox-text a {
	color: #60a5fa;
	text-decoration: none;
}

.auth-checkbox-text a:hover {
	text-decoration: underline;
}

/* Messages (Error/Success) */
.auth-message {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

.auth-message svg {
	flex-shrink: 0;
}

.auth-message-error {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.2);
	color: #fca5a5;
}

.auth-message-success {
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.2);
	color: #34d399;
}

/* Submit Button */
.auth-submit {
	width: 100%;
	padding: 0.9375rem 1.5rem;
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	border: none;
	border-radius: 0.625rem;
	color: white;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	margin-top: 0.5rem;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 15px -3px rgba(59, 130, 246, 0.4);
}

.auth-submit::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.auth-submit:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 8px 25px -5px rgba(59, 130, 246, 0.5);
}

.auth-submit:hover:not(:disabled)::before {
	opacity: 1;
}

.auth-submit:active:not(:disabled) {
	transform: translateY(0);
}

.auth-submit span {
	position: relative;
	z-index: 1;
}

.auth-submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	box-shadow: none;
}

.auth-submit-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.auth-submit-text {
	display: inline;
}

.auth-submit-spinner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

/* Footer */
.auth-footer {
	margin-top: 1.5rem;
	text-align: center;
}

.auth-footer p {
	font-size: 0.875rem;
	color: #9ca3af;
	margin: 0;
}

.auth-footer a {
	color: #60a5fa;
	text-decoration: none;
	font-weight: 500;
}

.auth-footer a:hover {
	text-decoration: underline;
}

/* ===========================================
   RIGHT: VALUE PROPOSITION
   =========================================== */

.auth-value-section {
	background: linear-gradient(160deg, #0c1222 0%, #111d32 50%, #0f172a 100%);
	padding: 3rem 2.5rem;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	border-left: 1px solid rgba(255, 255, 255, 0.04);
}

.auth-value-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(ellipse at 10% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 45%),
		radial-gradient(ellipse at 90% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 45%),
		radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
	pointer-events: none;
}

/* Floating grid pattern */
.auth-value-section::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: 
		linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
	pointer-events: none;
}

.auth-value-content {
	position: relative;
	z-index: 1;
	width: 100%;
}

.auth-value-header {
	margin-bottom: 2rem;
}

.auth-value-badge {
	display: inline-block;
	padding: 0.375rem 0.875rem;
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: 2rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: #34d399;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
}

.auth-value-title {
	font-size: 1.75rem;
	font-weight: 600;
	color: #f9fafb;
	margin-bottom: 0.75rem;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.auth-value-desc {
	font-size: 1rem;
	color: #9ca3af;
	line-height: 1.6;
	margin: 0;
}

/* Features */
.auth-value-features {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2rem;
}

.auth-value-feature {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 0.75rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.auth-value-feature::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, #3b82f6 0%, #10b981 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.auth-value-feature:hover {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(59, 130, 246, 0.25);
	transform: translateX(4px);
}

.auth-value-feature:hover::before {
	opacity: 1;
}

.auth-value-feature-icon {
	width: 2.5rem;
	height: 2.5rem;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
	border: 1px solid rgba(59, 130, 246, 0.2);
	border-radius: 0.625rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #60a5fa;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.auth-value-feature:hover .auth-value-feature-icon {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
	border-color: rgba(59, 130, 246, 0.3);
	box-shadow: 0 0 15px -3px rgba(59, 130, 246, 0.3);
}

.auth-value-feature-text {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.auth-value-feature-text strong {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #f9fafb;
}

.auth-value-feature-text span {
	font-size: 0.8125rem;
	color: #9ca3af;
	line-height: 1.4;
}

/* Stats */
.auth-value-stats {
	display: flex;
	gap: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-value-stat {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1;
	padding: 0.75rem 0;
}

.auth-value-stat-number {
	font-size: 1.625rem;
	font-weight: 700;
	background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -0.02em;
}

.auth-value-stat-label {
	font-size: 0.75rem;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 1024px) {
	.auth-container {
		grid-template-columns: 1fr;
		max-width: 480px;
	}

	.auth-value-section {
		display: none;
	}
}

@media (max-width: 640px) {
	.auth-page {
		padding: 1rem;
		align-items: flex-start;
		padding-top: 2rem;
	}

	.auth-form-section {
		padding: 2rem 1.5rem;
	}

	.auth-title {
		font-size: 1.375rem;
	}
}

/* ===========================================
   LIGHT MODE
   =========================================== */

:root:not(.dark) .auth-page {
	background: #f8fafc;
}

:root:not(.dark) .auth-page::before {
	background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
}

:root:not(.dark) .auth-page::after {
	background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.03) 0%, transparent 60%);
}

:root:not(.dark) .auth-container {
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border-color: rgba(226, 232, 240, 0.8);
	box-shadow: 
		0 0 0 1px rgba(0, 0, 0, 0.02),
		0 25px 50px -12px rgba(0, 0, 0, 0.08),
		0 0 80px -20px rgba(59, 130, 246, 0.08);
}

:root:not(.dark) .auth-container:hover {
	box-shadow: 
		0 0 0 1px rgba(59, 130, 246, 0.1),
		0 25px 50px -12px rgba(0, 0, 0, 0.1),
		0 0 100px -20px rgba(59, 130, 246, 0.12);
}

:root:not(.dark) .auth-form-section::before {
	opacity: 0.6;
}

:root:not(.dark) .auth-title {
	color: #0f172a;
}

:root:not(.dark) .auth-subtitle,
:root:not(.dark) .auth-label {
	color: #64748b;
}

:root:not(.dark) .auth-input {
	background: rgba(248, 250, 252, 0.8);
	border-color: rgba(226, 232, 240, 0.8);
	color: #0f172a;
}

:root:not(.dark) .auth-input::placeholder {
	color: #94a3b8;
}

:root:not(.dark) .auth-input:hover {
	background: #ffffff;
	border-color: #cbd5e1;
}

:root:not(.dark) .auth-input:focus {
	background: #ffffff;
	border-color: #3b82f6;
}

:root:not(.dark) .auth-checkbox-mark {
	background: #f8fafc;
	border-color: #e2e8f0;
}

:root:not(.dark) .auth-checkbox-text {
	color: #64748b;
}

:root:not(.dark) .auth-checkbox-text a {
	color: #3b82f6;
}

:root:not(.dark) .auth-checkbox-text a:hover {
	color: #1d4ed8;
}

:root:not(.dark) .auth-footer p {
	color: #64748b;
}

:root:not(.dark) .auth-value-section {
	background: linear-gradient(160deg, #f1f5f9 0%, #e8eef5 50%, #f1f5f9 100%);
	border-left-color: rgba(0, 0, 0, 0.06);
}

:root:not(.dark) .auth-value-section::before {
	background: 
		radial-gradient(ellipse at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 45%),
		radial-gradient(ellipse at 90% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 45%);
}

:root:not(.dark) .auth-value-section::after {
	background-image: 
		linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

:root:not(.dark) .auth-value-title {
	color: #0f172a;
}

:root:not(.dark) .auth-value-desc,
:root:not(.dark) .auth-value-feature-text span {
	color: #64748b;
}

:root:not(.dark) .auth-value-feature {
	background: rgba(255, 255, 255, 0.6);
	border-color: rgba(0, 0, 0, 0.06);
}

:root:not(.dark) .auth-value-feature::before {
	background: linear-gradient(180deg, #3b82f6 0%, #10b981 100%);
}

:root:not(.dark) .auth-value-feature:hover {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(59, 130, 246, 0.3);
}

:root:not(.dark) .auth-value-feature-icon {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
	border-color: rgba(59, 130, 246, 0.15);
}

:root:not(.dark) .auth-value-feature-text strong {
	color: #0f172a;
}

:root:not(.dark) .auth-value-stat-label {
	color: #64748b;
}

:root:not(.dark) .password-strength-bar {
	background: #e2e8f0;
}

/* Submit Button - Light Mode */
:root:not(.dark) .auth-submit {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	box-shadow: 0 4px 15px -3px rgba(59, 130, 246, 0.35);
}

:root:not(.dark) .auth-submit:hover:not(:disabled) {
	box-shadow: 0 8px 25px -5px rgba(59, 130, 246, 0.45);
}

:root:not(.dark) .auth-submit::before {
	background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

/* Messages - Light Mode */
:root:not(.dark) .auth-message-error {
	background: rgba(239, 68, 68, 0.08);
	border-color: rgba(239, 68, 68, 0.2);
	color: #dc2626;
}

:root:not(.dark) .auth-message-success {
	background: rgba(16, 185, 129, 0.08);
	border-color: rgba(16, 185, 129, 0.2);
	color: #059669;
}

/* Field Errors - Light Mode */
:root:not(.dark) .auth-field-error {
	color: #dc2626;
}

/* Password Strength Text - Light Mode */
:root:not(.dark) .password-strength-label {
	color: #64748b;
}

/* Input Toggle Button - Light Mode */
:root:not(.dark) .auth-input-toggle {
	color: #94a3b8;
}

:root:not(.dark) .auth-input-toggle:hover {
	color: #64748b;
}

/* Checkbox Checked State - Light Mode */
:root:not(.dark) .auth-checkbox input:checked + .auth-checkbox-mark {
	background: #3b82f6;
	border-color: #3b82f6;
}

/* Footer Links - Light Mode */
:root:not(.dark) .auth-footer a {
	color: #3b82f6;
}

:root:not(.dark) .auth-footer a:hover {
	color: #1d4ed8;
}

/* Value Section Stats - Light Mode */
:root:not(.dark) .auth-value-stat-number {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Value Section Border - Light Mode */
:root:not(.dark) .auth-value-stats {
	border-top-color: rgba(0, 0, 0, 0.08);
}

/* Hover glow on feature icons - Light Mode */
:root:not(.dark) .auth-value-feature:hover .auth-value-feature-icon {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
	border-color: rgba(59, 130, 246, 0.25);
	box-shadow: 0 0 15px -3px rgba(59, 130, 246, 0.25);
}

/* ===========================================
   LEGACY SUPPORT (Login page compatibility)
   =========================================== */

.auth-form-wrapper {
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
}

.auth-logo {
	margin-bottom: 1.5rem;
}

.auth-button {
	width: 100%;
	padding: 0.875rem 1.5rem;
	border-radius: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
	border: none;
}

.auth-button-primary {
	background: #3b82f6;
	color: white;
}

.auth-button-primary:hover:not(:disabled) {
	background: #2563eb;
}

.auth-button-primary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.auth-error {
	font-size: 0.8125rem;
	color: #ef4444;
	margin: 0.25rem 0 0;
}

.auth-hint {
	font-size: 0.75rem;
	color: #6b7280;
	margin: 0.25rem 0 0;
}

.auth-checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.auth-checkbox-info {
	font-size: 0.75rem;
	color: #6b7280;
	margin: 0;
	padding-left: 1.875rem;
}

.auth-checkbox-info a {
	color: #60a5fa;
}

.auth-label-required {
	color: #ef4444;
	margin-left: 0.25rem;
}

.auth-input-group {
	position: relative;
}

.auth-input-success {
	border-color: #10b981;
}

.auth-footer-text {
	font-size: 0.875rem;
	color: #9ca3af;
}

.auth-footer-link {
	color: #60a5fa;
	text-decoration: none;
	font-weight: 500;
}

.auth-footer-link:hover {
	text-decoration: underline;
}

.auth-button-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.auth-button-spinner {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.password-strength-weak { background: #ef4444; }
.password-strength-fair { background: #f59e0b; }
.password-strength-good { background: #10b981; }
.password-strength-strong { background: #10b981; }

.strength-weak { background: #ef4444; }
.strength-fair { background: #f59e0b; }
.strength-good { background: #10b981; }
.strength-strong { background: #10b981; }

/* ===========================================
   MFA Login Form Styles
   =========================================== */

#mfa-field {
	margin-bottom: 1.5rem;
}

#mfa-field label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #e2e8f0;
}
   
.auth-field-hint {
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	color: #64748b;
	text-align: center;
}

.mfa-code-wrapper {
	position: relative;
}

.mfa-code-wrapper input {
	width: 100%;
	text-align: center;
	font-size: 1.75rem;
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
	letter-spacing: 0.75rem;
	padding: 1.25rem 1rem;
	background: rgba(255, 255, 255, 0.03);
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.75rem;
	color: #f8fafc;
	transition: all 0.2s ease;
}

.mfa-code-wrapper input:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
	background: rgba(255, 255, 255, 0.05);
}

.mfa-code-wrapper input::placeholder {
	font-size: 1rem;
	letter-spacing: normal;
	color: #475569;
}

/* Light mode MFA styles */
:root:not(.dark) #mfa-field label {
	color: #374151;
}

:root:not(.dark) .mfa-code-wrapper input {
	background: #f8fafc;
	border-color: #d1d5db;
	color: #1e293b;
}

:root:not(.dark) .mfa-code-wrapper input:focus {
	background: white;
	border-color: #3b82f6;
}

:root:not(.dark) .auth-field-hint {
	color: #6b7280;
}
