/* ============================================
   FORGOT PASSWORD PAGE SPECIFIC STYLES
   Consistent with login/signup design
============================================ */

/* Dark theme background */
body {
	background: url("../images/background.png") center/cover fixed;
	background-color: #000000;
	min-height: 100vh;
}

/* Forgot password container */
.forgot-password-container {
	min-height: 100vh;
	padding-top: 120px;
	padding-bottom: 50px;
	display: flex;
	align-items: center;
}

.forgot-password-form {
	background: transparent;
	border-radius: 0;
	padding: 0;
	backdrop-filter: none;
	border: none;
}

/* Form steps */
.form-step {
	display: none;
}

.form-step.active {
	display: block;
}

/* Form inputs */
.form-control {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	padding: 0.75rem;
	transition: all 0.3s ease;
}

.form-control:focus {
	background: rgba(255, 255, 255, 0.15);
	border-color: #007bff;
	color: white;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.form-label {
	color: white !important;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

/* Primary button */
.btn-forgot-primary {
	background-color: #007bff !important;
	transition: all 0.3s ease;
}

.btn-forgot-primary:hover {
	background-color: #0056b3 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-forgot-primary:disabled {
	background-color: #6c757d !important;
	transform: none;
	box-shadow: none;
}

/* Outline button for resend */
.btn-outline-light {
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: white !important;
	background: rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

.btn-outline-light:hover {
	background: rgba(255, 255, 255, 0.2) !important;
	border-color: rgba(255, 255, 255, 0.5);
	color: white !important;
	transform: translateY(-1px);
}

.btn-outline-light:disabled {
	background: rgba(255, 255, 255, 0.05) !important;
	border-color: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.5) !important;
	transform: none;
}

/* Text colors */
.text-white {
	color: white !important;
}

.text-success {
	color: #28a745 !important;
}

/* Links styling */
a {
	transition: all 0.3s ease;
}

a.hover-opacity-100:hover {
	opacity: 1 !important;
}

/* Success icon styling */
.fa-envelope-circle-check {
	color: #28a745;
	text-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

/* Alert styling for success messages */
.alert-success {
	background: rgba(40, 167, 69, 0.1);
	border: 1px solid rgba(40, 167, 69, 0.3);
	color: #28a745;
	border-radius: 10px;
}

/* Card styling for help section */
.card {
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 15px;
}

.card-body {
	padding: 2rem;
}

/* Validation states */
.form-control.is-invalid {
	border-color: #dc3545;
	background: rgba(220, 53, 69, 0.1);
}

.form-control.is-invalid:focus {
	border-color: #dc3545;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
	border-color: #28a745;
	background: rgba(40, 167, 69, 0.1);
}

.form-control.is-valid:focus {
	border-color: #28a745;
	box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Responsive design */
@media (max-width: 768px) {
	.forgot-password-container {
		padding-top: 100px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.display-6 {
		font-size: 2rem;
	}

	.card-body {
		padding: 1.5rem;
	}
}

@media (max-width: 576px) {
	.forgot-password-container {
		padding-top: 80px;
	}

	.display-6 {
		font-size: 1.8rem;
	}

	.form-control {
		padding: 0.6rem;
	}

	.card-body {
		padding: 1rem;
	}

	.fa-envelope-circle-check {
		font-size: 3rem !important;
	}
}

/* Custom animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.forgot-password-form {
	animation: fadeInUp 0.6s ease-out;
}

/* Loading spinner */
.fa-spinner {
	animation: spin 1s linear infinite;
}

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

/* Success step animation */
#success-step.active {
	animation: fadeInUp 0.6s ease-out;
}

/* Pulse animation for success icon */
@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

.fa-envelope-circle-check {
	animation: pulse 2s ease-in-out infinite;
}

/* Hover effects for help section */
.card:hover {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
	transform: translateY(-2px);
	transition: all 0.3s ease;
}
