/* ============================================================
   LOGIN PAGE — MODERN ANIMATED UI
   ============================================================ */
:root {
  --primary-green: #2e7d32;
  --dark-green: #1b5e20;
  --light-green: #4caf50;
}

.login-container {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  background: #f8fafc;
  overflow: hidden;
  font-family: 'Inter', -apple-system, sans-serif;
}

/* CỘT TRÁI: HERO SECTION */
.login-hero {
  flex: 1.2;
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 50%, var(--light-green) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  position: relative;
  overflow: hidden;
  animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Hiệu ứng nền chuyển động */
.login-hero::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
.login-hero::after {
  content: '';
  position: absolute;
  bottom: -10%; right: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.logo-placeholder {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 2px dashed rgba(255,255,255,0.4);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  animation: pulse 3s infinite;
}

.login-hero h1 {
  font-size: 42px; font-weight: 800;
  letter-spacing: -1px; line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s 0.2s both;
}

.login-hero p {
  font-size: 16px; opacity: 0.9; line-height: 1.6;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s 0.3s both;
}

.hero-features { list-style: none; padding: 0; margin-bottom: 40px; }
.hero-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; margin-bottom: 16px;
  animation: fadeInUp 0.8s both;
}
.hero-features li:nth-child(1) { animation-delay: 0.4s; }
.hero-features li:nth-child(2) { animation-delay: 0.5s; }
.hero-features li:nth-child(3) { animation-delay: 0.6s; }

.btn-hero-request {
  background: #fff; color: var(--primary-green);
  border: none; padding: 16px 32px;
  border-radius: 50px; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: inline-flex; align-items: center; gap: 10px;
  animation: fadeInUp 0.8s 0.7s both;
}
.btn-hero-request:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.hero-hotline {
  margin-top: 32px; font-size: 14px; opacity: 0.8;
  display: flex; align-items: center; gap: 8px;
  animation: fadeInUp 0.8s 0.8s both;
}

/* CỘT PHẢI: LOGIN FORM */
.login-form-wrapper {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  background: #ffffff;
  position: relative;
  animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.login-box {
  width: 100%; max-width: 420px;
  animation: fadeIn 1s 0.5s both;
}

.login-box h2 {
  font-size: 28px; font-weight: 800; color: #1e293b;
  margin-bottom: 8px;
}
.login-box p.subtitle {
  font-size: 14px; color: #64748b; margin-bottom: 32px;
}
.login-box .form-group { margin-bottom: 20px; }
.login-box label {
  font-size: 13px; font-weight: 600; color: #334155;
  margin-bottom: 8px; display: block;
}
.login-box .input {
  width: 100%; padding: 14px 16px;
  border: 2px solid #e2e8f0; border-radius: 10px;
  font-size: 15px; transition: all 0.3s;
  background: #f8fafc;
}
.login-box .input:focus {
  border-color: var(--primary-green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46,125,50,0.1);
  outline: none;
}

.btn-login {
  width: 100%; padding: 16px;
  background: var(--primary-green); color: white;
  border: none; border-radius: 10px;
  font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.3s;
  margin-top: 16px;
}
.btn-login:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46,125,50,0.3);
}
/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0% { transform: translate(0, 0); }
  50% { transform: translate(20px, 20px); }
  100% { transform: translate(0, 0); }
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* RESPONSIVE (Mobile) */
@media (max-width: 1024px) {
  .login-container { flex-direction: column; }
  .login-hero {
    padding: 40px 24px;
    text-align: center;
    align-items: center;
    flex: none;
    animation: fadeInUp 0.8s both;
  }
  .logo-placeholder { margin: 0 auto 20px; }
  .login-hero h1 { font-size: 32px; }
  .hero-features { display: none; }
  .hero-hotline { justify-content: center; }
  .login-form-wrapper {
    padding: 32px 24px;
    flex: 1;
  }
}
/* =========================================
   ANIMATION CHO HÌNH MINH HOẠ SVG
   ========================================= */

/* Lá cây bay lượn */
@keyframes floatLeaf {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, -15px) rotate(15deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Xe rác nhấp nhô */
@keyframes truckFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

/* Vòng tròn xoay */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
