/* ====================================
   LOGIN PAGE STYLES
   ==================================== */

body {
	background: linear-gradient(135deg, #00c89d 0%, #00997a 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
	background: white;
	border-radius: 15px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.2);
	overflow: hidden;
	max-width: 400px;
	width: 100%;
}

.login-header {
	background: linear-gradient(135deg, #00c89d 0%, #00997a 100%);
	color: white;
	padding: 30px;
	text-align: center;
}

.login-header h1 {
	font-size: 24px;
	margin: 0;
	font-weight: 600;
}

.login-header p {
	margin: 10px 0 0 0;
	opacity: 0.9;
	font-size: 14px;
}

.login-body {
	padding: 30px;
}

.form-group label {
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

.form-control {
	border-radius: 8px;
	border: 2px solid #e0e0e0;
	padding: 12px 15px;
	font-size: 14px;
	transition: all 0.3s;
}

.form-control:focus {
	border-color: #00c89d;
	box-shadow: 0 0 0 0.2rem rgba(0,200,157,0.25);
}

.btn-login {
	background: linear-gradient(135deg, #00c89d 0%, #00997a 100%);
	border: none;
	border-radius: 8px;
	color: white;
	padding: 12px;
	font-size: 16px;
	font-weight: 600;
	width: 100%;
	transition: all 0.3s;
	cursor: pointer;
}

.btn-login:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(0,200,157,0.4);
	color: white;
}

.btn-login:disabled,
.btn-login.loading {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Alerts */
.alert {
	border-radius: 8px;
	border: none;
}

.alert-timeout {
	background-color: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 8px;
	color: #856404;
	padding: 12px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.alert-timeout i {
	font-size: 20px;
}

.alert-danger {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	border-radius: 8px;
	color: #721c24;
	padding: 12px;
	margin-bottom: 20px;
}

/* Forgot Password */
.forgot-password {
	text-align: center;
	margin-top: 20px;
}

.forgot-password a {
	color: #00c89d;
	font-size: 14px;
	text-decoration: none;
}

.forgot-password a:hover {
	text-decoration: underline;
}

/* Loading */
.loading {
	display: none;
}

/* Input Group Icon */
.input-group-icon {
	position: relative;
}

.input-group-icon i {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
	z-index: 2;
}

.input-group-icon .form-control {
	padding-left: 45px;
}

/* Loading Spinner */
.spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,0.3);
	border-top-color: white;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin-right: 8px;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Footer */
.login-footer {
	background: #f8f9fa;
	padding: 20px 30px;
	text-align: center;
	color: #666;
	font-size: 13px;
}

.login-footer a {
	color: #00c89d;
	text-decoration: none;
}

.login-footer a:hover {
	text-decoration: underline;
}
