body {
	font-family: 'Poppins', sans-serif;
	background: linear-gradient(135deg, #AF312D 0%, #C93C38 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.login-container {
	width: 100%;
	max-width: 420px;
}

.login-card {
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	padding: 2.5rem 2rem;
	animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.logo-section {
	text-align: center;
	margin-bottom: 2rem;
}

/* Logo Image Styles */
.logo-img {
	width: 120px;
	height: auto;
	max-height: 120px;
	object-fit: contain;
	margin: 0 auto 1rem;
	display: block;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.logo-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #AF312D 0%, #D14A46 100%);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	box-shadow: 0 8px 24px rgba(175, 49, 45, 0.3);
}

.logo-icon i {
	font-size: 2.5rem;
	color: #ffffff;
}

.app-name {
	font-size: 1.75rem;
	font-weight: 700;
	color: #212529;
	margin-bottom: 0.5rem;
}

.app-tagline {
	color: #6c757d;
	font-size: 0.95rem;
}

.form-section {
	margin-top: 2rem;
}

.step-indicator {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.step-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e9ecef;
	transition: all 0.3s ease;
}

.step-dot.active {
	width: 24px;
	border-radius: 4px;
	background: linear-gradient(135deg, #AF312D 0%, #D14A46 100%);
}

.form-label {
	font-weight: 600;
	color: #212529;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.form-control {
	border: 2px solid #e9ecef;
	border-radius: 12px;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-control:focus {
	border-color: #AF312D;
	box-shadow: 0 0 0 0.2rem rgba(175, 49, 45, 0.1);
}

.input-group-text {
	background: transparent;
	border: 2px solid #e9ecef;
	border-right: none;
	border-radius: 12px 0 0 12px;
	color: #6c757d;
}

.input-group .form-control {
	border-left: none;
	border-radius: 0 12px 12px 0;
}

.input-group:focus-within .input-group-text {
	border-color: #AF312D;
}

.btn-primary {
	background: linear-gradient(135deg, #AF312D 0%, #D14A46 100%);
	border: none;
	border-radius: 12px;
	padding: 0.875rem;
	font-weight: 600;
	font-size: 1rem;
	width: 100%;
	margin-top: 1.5rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(175, 49, 45, 0.3);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(175, 49, 45, 0.4);
}

.btn-primary:active {
	transform: translateY(0);
}

.btn-secondary {
	background: #f8f9fa;
	border: 2px solid #e9ecef;
	border-radius: 12px;
	padding: 0.875rem;
	font-weight: 600;
	font-size: 1rem;
	width: 100%;
	color: #6c757d;
	margin-top: 0.75rem;
	transition: all 0.3s ease;
}

.btn-secondary:hover {
	background: #e9ecef;
	border-color: #dee2e6;
	color: #495057;
}

.otp-inputs {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	margin: 1.5rem 0;
}

.otp-input {
	width: 50px;
	height: 58px;
	text-align: center;
	font-size: 1.75rem;
	font-weight: 700;
	border: 2px solid #e9ecef;
	border-radius: 12px;
	transition: all 0.3s ease;
	color: #212529;
	background: #ffffff;
	line-height: 1;
	padding: 0;
	-webkit-appearance: none;
	-moz-appearance: textfield;
}

/* Remove spinner buttons for number input */
.otp-input::-webkit-outer-spin-button,
.otp-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.otp-input:focus {
	border-color: #AF312D;
	box-shadow: 0 0 0 0.2rem rgba(175, 49, 45, 0.15);
	outline: none;
	background: #fff;
}

/* Make the digit more prominent and centered */
.otp-input::placeholder {
	color: #dee2e6;
	font-weight: 400;
}

.resend-link {
	text-align: center;
	margin-top: 1rem;
	font-size: 0.9rem;
	color: #6c757d;
}

.resend-link a {
	color: #AF312D;
	font-weight: 600;
	text-decoration: none;
}

.resend-link a:hover {
	text-decoration: underline;
}

.alert {
	border-radius: 12px;
	border: none;
	padding: 0.875rem 1rem;
	margin-bottom: 1rem;
}

.alert-success {
	background: rgba(69, 160, 73, 0.1);
	color: #45a049;
}

.alert-danger {
	background: rgba(217, 83, 79, 0.1);
	color: #d9534f;
}

.form-step {
	display: none;
}

.form-step.active {
	display: block;
	animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.info-text {
	text-align: center;
	color: #6c757d;
	font-size: 0.85rem;
	margin-top: 1rem;
	line-height: 1.5;
}

.back-link {
	display: inline-flex;
	align-items: center;
	color: #6c757d;
	text-decoration: none;
	font-size: 0.9rem;
	margin-bottom: 1rem;
	transition: color 0.3s ease;
}

.back-link:hover {
	color: #AF312D;
}

.back-link i {
	margin-right: 0.5rem;
}

.spinner-border-sm {
	width: 1rem;
	height: 1rem;
	border-width: 0.15rem;
}

@media (max-width: 480px) {
	.login-card {
		padding: 2rem 1.5rem;
	}

	.logo-img {
		width: 100px;
		max-height: 100px;
	}

	.otp-input {
		width: 45px;
		height: 54px;
		font-size: 1.5rem;
	}

	.otp-inputs {
		gap: 0.5rem;
	}
}