:root {
  --primary-color: #007bff; 
  --secondary-color: #6c757d;
  --background-color: #f4f7f6;
  --card-background: #ffffff;
  --text-color: #343a40;
  --error-color: #dc3545;
  --font-family: 'Poppins', sans-serif;
}

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

body {
  font-family: var(--font-family);
  background: linear-gradient(135deg, #e0f7fa 0%, #b3e5fc 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
}
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
}
.login-card {
  background: var(--card-background);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px; 
  overflow: hidden;
  padding: 40px;
}
.logo-area {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.logo-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--primary-color);
}

.subtitle {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-top: 5px;
  font-weight: 300;
}


.login-form h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 25px;
  text-align: center;
}
.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  padding: 0 15px;
  transition: all 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.input-group .icon {
  color: var(--secondary-color);
  font-size: 1rem;
  margin-right: 15px;
}

.input-group input {
  flex-grow: 1;
  border: none;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--text-color);
  outline: none;
}
.input-group input::placeholder {
  color: #adb5bd;
}
.login-button {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  margin-top: 10px;
}
.login-button:hover {
  background-color: #0056b3;
}
.login-button:active {
  transform: translateY(1px); 
}
.error-message {
  color: var(--error-color);
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
  height: 18px;
}
.forgot-password {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}
.forgot-password:hover {
  color: var(--primary-color);
}