* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	/* line-height: 1.6; */
	color: #333;
	background: #f5f5f5;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-container {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	width: 100%;
	max-width: 450px;
	padding: 2rem;
	margin: 1rem;
}

.login-header {
	text-align: center;
	margin-bottom: 2rem;
}

.login-header h1 {
	font-size: 1.75rem;
	color: #2c3e50;
	margin-bottom: 0.5rem;
}

.login-header p {
	color: #7f8c8d;
	font-size: 0.95rem;
}

.form-group {
	margin-bottom: 0.5rem;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	color: #2c3e50;
	font-weight: 500;
	font-size: 0.95rem;
}

.form-input {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 2px solid #e1e1e1;
	border-radius: 6px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: #3498db;
}

.error-message {
	color: #e74c3c;
	font-size: 0.9rem;
	margin-top: 0.5rem;
	display: none;
}

.btn {
	display: block;
	width: 100%;
	padding: 0.875rem;
	background: #3498db;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.3s ease;
}

.btn:hover {
	background: #2980b9;
}

.btn:disabled {
	background: #bdc3c7;
	cursor: not-allowed;
}

/* Loading spinner */
.spinner {
	display: none;
	width: 20px;
	height: 20px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid #3498db;
	border-radius: 50%;
	margin: 0 auto;
	animation: spin 1s linear infinite;
}

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

	100% {
		transform: rotate(360deg);
	}
}

.btn-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

/* Password visibility toggle */
.password-container {
	position: relative;
}

.password-toggle {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	color: #7f8c8d;
	padding: 0.25rem;
}

.password-toggle:hover {
	color: #2c3e50;
}

/* Utility classes */
.text-center {
	text-align: center;
}

.mt-3 {
	margin-top: 1rem;
}

.mt-4 {
	margin-top: 1.5rem;
}

.btn-primary {
	background: #3498db;
	color: #fff;
}

.btn-primary:hover {
	background: #2980b9;
}

.position-relative {
	position: relative;
}
