:root {
  --primary-color: #2c3e50;
  --secondary-color: #27ae60;
  --bg-color: #f4f7f6;
  --text-color: #333;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body.login-body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-logo {
  max-width: 150px;
  margin-bottom: 30px;
}

.login-container h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.login-container p {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  margin-left: 5px;
}

.form-group input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.1);
}

.btn-login {
  width: 100%;
  padding: 14px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-login:hover {
  background: #219150;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

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

.footer-links {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.error-msg {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  margin-left: 5px;
}

/* Responsive */
@media (max-width: 480px) {
  .login-container {
    margin: 20px;
    padding: 30px;
  }
}
