/* ============================================
   Customer Authentication Styles (Login, Verify) - Dark Theme
   ============================================ */

.auth-container {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-dark);
	padding: 20px;
	position: relative;
	overflow: hidden;
}

.auth-container::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
	background-size: 50px 50px;
	animation: float 20s linear infinite;
	opacity: 0.3;
}

@keyframes float {
	0% { transform: translate(0, 0) rotate(0deg); }
	100% { transform: translate(50px, 50px) rotate(360deg); }
}

.auth-card {
	background: var(--bg-card);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	padding: 48px 40px;
	max-width: 440px;
	width: 100%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--glow-primary);
	position: relative;
	z-index: 1;
	animation: slideUp 0.4s ease-out;
}

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

.auth-header {
	text-align: center;
	margin-bottom: 32px;
}

.auth-logo {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px var(--glow-primary);
}

.auth-logo i {
	font-size: 40px;
	color: var(--bg-dark);
}

.auth-header h1 {
	margin: 0 0 8px 0;
	color: var(--text-main);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.auth-header p {
	margin: 0;
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.6;
}

.auth-header p strong {
	color: var(--text-main);
	font-weight: 600;
}

.auth-form {
	margin-top: 32px;
}

.form-group {
	margin-bottom: 24px;
}

.form-group label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-weight: 600;
	color: var(--text-main);
	font-size: 14px;
}

.form-group label i {
	color: var(--primary);
	font-size: 16px;
}

.form-group input {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	font-size: 16px;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-main);
	font-family: inherit;
}

.form-group input:focus {
	outline: none;
	border-color: var(--primary);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15), 0 0 20px var(--glow-primary);
	transform: translateY(-1px);
}

.form-group input::placeholder {
	color: var(--text-muted);
	opacity: 0.6;
}

/* OTP Input specific styles */
.otp-input-container {
	position: relative;
}

.otp-input {
	width: 100%;
	padding: 18px 20px;
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	letter-spacing: 8px;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-main);
	font-family: 'Courier New', monospace;
}

.otp-input:focus {
	outline: none;
	border-color: var(--primary);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15), 0 0 20px var(--glow-primary);
	transform: translateY(-1px);
}

.otp-input::placeholder {
	letter-spacing: 4px;
	color: var(--text-muted);
	font-weight: 400;
	opacity: 0.6;
}

.otp-hint {
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--text-muted);
	justify-content: center;
}

.otp-hint i {
	font-size: 14px;
	color: var(--primary);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border: none;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	font-family: inherit;
	position: relative;
	min-height: 48px;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: var(--bg-dark);
	box-shadow: 0 4px 14px var(--glow-primary);
}

.btn-primary:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px var(--glow-primary);
}

.btn-primary:active:not(:disabled) {
	transform: translateY(0);
}

.btn-primary:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.btn-block {
	width: 100%;
}

.btn-loader {
	display: none;
	position: absolute;
}

.btn:disabled .btn-text {
	display: none;
}

.btn:disabled .btn-loader {
	display: inline-block;
}

.alert {
	padding: 14px 16px;
	border-radius: 12px;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.alert i {
	font-size: 18px;
	flex-shrink: 0;
}

.alert-error {
	background: rgba(239, 68, 68, 0.2);
	color: #f87171;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-error i {
	color: #f87171;
}

.alert-info {
	background: rgba(59, 130, 246, 0.2);
	color: #60a5fa;
	border: 1px solid rgba(59, 130, 246, 0.3);
}

.alert-info i {
	color: #60a5fa;
}

.auth-footer {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	font-size: 14px;
	color: var(--text-muted);
}

.auth-footer a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s;
}

.auth-footer a:hover {
	color: var(--secondary);
	text-shadow: 0 0 10px var(--glow-primary);
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s;
	margin-bottom: 12px;
}

.back-link:hover {
	color: var(--secondary);
	transform: translateX(-4px);
	text-shadow: 0 0 10px var(--glow-primary);
}

.resend-hint {
	margin: 0;
	font-size: 13px;
}

.resend-link {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s;
}

.resend-link:hover {
	color: var(--secondary);
	text-shadow: 0 0 10px var(--glow-primary);
}

@media (max-width: 480px) {
	.auth-card {
		padding: 32px 24px;
		border-radius: 20px;
	}
	
	.auth-header h1 {
		font-size: 24px;
	}
	
	.auth-logo {
		width: 64px;
		height: 64px;
	}
	
	.auth-logo i {
		font-size: 32px;
	}
	
	.otp-input {
		font-size: 28px;
		letter-spacing: 6px;
		padding: 16px 18px;
	}
}
