body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #e0f2f1, #f1f8e9);
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.login-card {
  display: flex;
  width: 900px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: fadeIn 1s ease forwards;
}

.login-image {
  flex: 1;
  background: url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=800&q=80') no-repeat center center/cover;
  position: relative;
}

.login-image .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(46, 125, 50, 0.6);
}

.welcome-text {
  position: absolute;
  bottom: 30px;
  left: 20px;
  color: #fff;
  font-size: 2rem;
  animation: slideInUp 1s ease forwards;
}

.login-form {
  flex: 1;
  padding: 40px;
  animation: slideInRight 1s ease forwards;
}

.login-form h3 {
  color: #2E7D32;
  font-weight: bold;
}

.form-control {
  border-radius: 8px;
  padding: 12px;
}

.form-control:focus {
  border-color: #2E7D32;
  box-shadow: 0 0 5px rgba(46, 125, 50, 0.5);
}

.btn-login {
  background-color: #2E7D32;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: #256b29;
}

.links a {
  color: #2E7D32;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.links a:hover {
  text-decoration: underline;
  color: #1d5d21;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .login-card {
    flex-direction: column;
    width: 90%;
  }
  .login-image {
    height: 200px;
  }
  .welcome-text {
    font-size: 1.5rem;
    bottom: 15px;
  }
  
}
