:root {
  --green-dark: #2e7d32;
  --green: #43a047;
  --green-light: #66bb6a;
  --green-hover: #81c784;
  --white: #ffffff;
  --radius: 0.75rem;
  --transition: 0.3s ease;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  --bg-blur: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "poppins", "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: fadeIn 0.5s ease-in;
}

.background-green-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--green-light) 0%,
    var(--green) 50%,
    var(--green-dark) 100%
  );
  z-index: -2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.login-container {
  display: flex;
  max-width: 900px;
  width: 95%;
  height: 600px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-panel {
  flex: 1.3;
  overflow: hidden;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.5s ease;
}

.form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--white);
}

.form-wrapper {
  max-width: 320px;
  width: 100%;
  text-align: center;
  color: #333;
}

.logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--green-dark);
}

.subtitle {
  font-size: 1rem;
  color: var(--green);
  margin-bottom: 2rem;
}

.input-group {
  text-align: left;
  margin-bottom: 1.25rem;
}

.input-group label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: #333;
}

.input-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  background: #f9f9f9;
  border-radius: var(--radius);
  font-size: 1rem;
  color: #333;
  transition: all var(--transition);
}

.input-group input:focus {
  border-color: var(--green-hover);
  outline: none;
  background: #fff;
}

.btn-primary {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(90deg, var(--green-light), var(--green));
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--green-hover);
}

.footer-text {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #555;
}

.footer-text a {
  color: var(--green-hover);
  text-decoration: none;
  font-weight: 600;
}

.footer-text a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
    height: auto;
  }

  .image-panel {
    display: none;
  }

  .form-panel {
    padding: 2rem 1rem;
  }
}
