:root {
  --login-primary: #2d6a4f;
  --login-accent: #52b788;
  --login-bg: #e8f5e9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 40%, #40916c 100%);
  position: relative;
  overflow: hidden;
}

body::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -200px; right: -100px;
}

body::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  bottom: -150px; left: -100px;
}

.login-wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.login-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  color: #fff;
}

.brand-logo {
  width: 90px; height: 90px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255,255,255,0.2);
}

.login-brand h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.login-brand p {
  opacity: 0.85;
  font-size: 1.05rem;
  text-align: center;
  max-width: 380px;
  line-height: 1.6;
}

.brand-features {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.brand-feature .icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.login-form-area {
  width: 480px;
  max-width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  box-shadow: -20px 0 60px rgba(0,0,0,0.15);
}

.login-form-area h2 {
  font-size: 1.6rem;
  color: #1b4332;
  margin-bottom: 0.5rem;
}

.login-form-area .subtitle {
  color: #5c7368;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a2e25;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d8e9e0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--login-accent);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.2);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #5c7368;
  cursor: pointer;
}

.remember-me input { accent-color: var(--login-primary); }

.forgot-link {
  color: var(--login-primary);
  text-decoration: none;
  font-weight: 500;
}

.forgot-link:hover { color: var(--login-accent); }

.btn-login {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #2d6a4f, #40916c);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(45, 106, 79, 0.35);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 106, 79, 0.4);
}

.login-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #5c7368;
}

@media (max-width: 768px) {
  .login-wrapper { flex-direction: column; }
  .login-brand { padding: 2rem; min-height: auto; }
  .brand-features { display: none; }
  .login-form-area { width: 100%; box-shadow: none; border-radius: 24px 24px 0 0; margin-top: -20px; }
}
