/* Login Page Styles */
.card {
	background: var(--bg-main);
	border-radius: 15px;
	box-shadow: var(--shadow-lg);
	transition: transform 0.3s ease;
	width: 100%;
}

.card:hover {
	transform: translateY(-5px);
}

/* Header Section */
.card-title {
	color: var(--text-primary);
	font-weight: 600;
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

/* Icon Styles */
.fa-user-circle {
	color: #3498db;
	transition: transform 0.3s ease;
}

.card:hover .fa-user-circle {
	transform: scale(1.1);
}

/* Form Styles */
.form-label {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
}

.input-group {
	transition: all 0.3s ease;
	border-radius: 10px;
	overflow: hidden;
	background: var(--bg-main);
	border: 1px solid var(--border-light);
}

.input-group:focus-within {
	box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.input-group-text {
	background: var(--bg-main);
	border: 2px solid var(--border-light);
	border-right: none;
	color: var(--text-primary);
	padding: 0.75rem 1rem;
}

.form-control {
	border: 2px solid var(--border-light);
	border-left: none;
	padding: 1rem;
	font-size: 1rem;
	color: var(--text-primary);
	background: var(--bg-secondary);
}

.form-control:focus {
	box-shadow: none;
	border: none;
	border-left: 1px solids rgba(52, 152, 219, 0.25);
}

.form-control::placeholder {
	color: var(--text-secondary);
	font-size: 0.9rem;
}

/* Button Styles */
.btn-primary {
	background: linear-gradient(45deg, #3498db, #2980b9);
	border: none;
	padding: 1rem 2rem;
	font-weight: 500;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	border-radius: 10px;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

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

/* Alert Styling */
.alert {
	border: none;
	border-radius: 10px;
	background-color: #f8d7da;
	border-left: 4px solid #dc3545;
}

.alert i {
	color: #dc3545;
}

.text-center > p {
	color: var(--text-primary);
}

/* Register Link */
.text-primary {
	color: #3498db !important;
	transition: color 0.3s ease;
}

.text-primary:hover {
	color: #2980b9 !important;
	text-decoration: none;
}

/* Tablet Styles (≥768px and <992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
	.col-md-6 {
		width: 70%;
	}

	.card-body {
		padding: 2rem !important;
	}

	.card-title {
		font-size: 1.75rem;
	}

	.fa-user-circle {
		font-size: 3.5em;
	}

	.form-control-lg {
		font-size: 1rem;
	}
}

/* Mobile Styles (<768px) */
@media (max-width: 767.98px) {
	.container {
		padding: 1rem;
	}

	.col-md-6 {
		width: 100%;
		padding: 0 0.5rem;
	}

	.card {
		margin: 0.5rem;
	}

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

	.card-title {
		font-size: 1.5rem;
	}

	.fa-user-circle {
		font-size: 3em;
	}

	.form-label {
		font-size: 0.9rem;
	}

	.input-group {
		margin-bottom: 1rem;
	}

	.form-control-lg {
		font-size: 0.95rem;
		padding: 0.75rem;
	}

	.btn-lg {
		padding: 0.75rem 1rem;
		font-size: 1rem;
	}
}

/* Small Mobile Styles (<576px) */
@media (max-width: 575.98px) {
	.container {
		padding: 0.5rem;
	}

	.card-body {
		padding: 1rem !important;
	}

	.card-title {
		font-size: 1.25rem;
	}

	.text-muted {
		font-size: 0.85rem;
	}

	.form-control-lg {
		font-size: 0.9rem;
		padding: 0.5rem;
	}

	.input-group-text {
		padding: 0.5rem;
	}

	.btn-lg {
		padding: 0.5rem;
		font-size: 0.9rem;
	}
}

/* Landscape Mode Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
	.container {
		padding: 0.5rem;
	}

	.card-body {
		padding: 1rem !important;
	}

	.fa-user-circle {
		font-size: 2.5em;
	}

	.card-title {
		font-size: 1.25rem;
		margin-bottom: 0.25rem;
	}
}
