/* ============================================
   LOGIN PAGE SPECIFIC STYLES
   Similar to signup but adapted for single form
============================================ */

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

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

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

/* 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;
}

/* Password toggle button */
.btn-link {
	border: none;
	background: none;
	color: inherit;
	text-decoration: none;
	padding: 0.5rem;
}

.btn-link:hover {
	color: white;
	text-decoration: none;
}

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

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

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

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

/* Form check labels and inputs */
.form-check-label {
	color: white !important;
}

.form-check-input {
	background-color: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-check-input:checked {
	background-color: #007bff;
	border-color: #007bff;
}

.form-check-input:focus {
	border-color: #007bff;
	box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

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

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

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

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

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

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

	.form-control {
		padding: 0.6rem;
	}
}

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

.login-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);
	}
}

/* Error state styling (for future use) */
.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);
}

.invalid-feedback {
	color: #dc3545;
	font-size: 0.875rem;
	margin-top: 0.25rem;
}

/* Success state styling (for future use) */
.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);
}

.valid-feedback {
	color: #28a745;
	font-size: 0.875rem;
	margin-top: 0.25rem;
}
