/* ============================================
   Auth Page - Modern Green Design
   ============================================ */

.auth-wrapper {
  min-height: 100vh; display: flex;
}

/* ---- Left Panel ---- */
.auth-left {
  flex: 1; padding: 3rem; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #064e3b 0%, #065f46 30%, #047857 60%, #059669 100%);
  color: #fff; position: relative; overflow: hidden; justify-content: center; align-items: center;
}

/* Animated gradient orbs */
.auth-left::before {
  content: ''; position: absolute; top: -30%; left: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(167,243,208,.15) 0%, transparent 60%);
  animation: orbMove1 12s ease-in-out infinite alternate;
}
.auth-left::after {
  content: ''; position: absolute; bottom: -40%; right: -15%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(209,250,229,.1) 0%, transparent 60%);
  animation: orbMove2 10s ease-in-out infinite alternate;
}

@keyframes orbMove1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes orbMove2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, -50px) scale(1.05); }
}

/* Floating grid dots */
.auth-dots {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
}
.auth-dots span {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.auth-dots span:nth-child(1) { top: 15%; left: 10%; animation: dotFloat 6s ease-in-out infinite; }
.auth-dots span:nth-child(2) { top: 25%; left: 80%; animation: dotFloat 8s ease-in-out infinite 1s; }
.auth-dots span:nth-child(3) { top: 60%; left: 20%; animation: dotFloat 7s ease-in-out infinite 2s; }
.auth-dots span:nth-child(4) { top: 75%; left: 70%; animation: dotFloat 9s ease-in-out infinite 0.5s; }
.auth-dots span:nth-child(5) { top: 45%; left: 50%; animation: dotFloat 5s ease-in-out infinite 1.5s; }
.auth-dots span:nth-child(6) { top: 85%; left: 35%; animation: dotFloat 8s ease-in-out infinite 3s; }

@keyframes dotFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .08; }
  50% { transform: translateY(-20px) scale(1.5); opacity: .2; }
}

.auth-left .auth-brand {
  display: flex; align-items: center; gap: .75rem;
  font-weight: 800; font-size: 1.5rem; color: #fff;
  position: absolute; top: 3rem; left: 3rem; z-index: 2; text-decoration: none;
  letter-spacing: -.02em;
}
.auth-left .auth-brand .brand-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: all .3s;
}
.auth-left .auth-brand:hover .brand-icon {
  transform: scale(1.1) rotate(-5deg); background: rgba(255,255,255,.25);
}

/* Illustration area */
.auth-left .auth-illust {
  position: relative; z-index: 2; text-align: center;
}
.auth-left .auth-illust img {
  max-width: 300px; margin-bottom: 2rem;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,.3));
  animation: imgFloat 7s ease-in-out infinite;
}
@keyframes imgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.auth-left .auth-illust h2 {
  color: #fff; font-size: 1.6rem; font-weight: 700;
  margin-bottom: .5rem; letter-spacing: -.02em;
}
.auth-left .auth-illust p {
  color: rgba(255,255,255,.7); font-size: 14px; max-width: 360px;
  margin: 0 auto; line-height: 1.7;
}

/* Feature badges */
.auth-features {
  display: flex; gap: .75rem; margin-top: 2rem; justify-content: center;
  flex-wrap: wrap; position: relative; z-index: 2;
}
.auth-feature {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border-radius: 50px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  font-size: 13px; color: rgba(255,255,255,.9); font-weight: 500;
  backdrop-filter: blur(10px);
  transition: all .3s;
}
.auth-feature:hover {
  background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3);
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.auth-feature i {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,.15); color: #d1fae5;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
}

.auth-left .auth-copyright {
  color: rgba(255,255,255,.4); font-size: 12px;
  position: relative; z-index: 2; text-align: center;
  margin-top: 2rem;
}

/* ---- Right Panel ---- */
.auth-right {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 3rem; background: var(--rt-body-bg);
}
.auth-form { width: 100%; max-width: 420px; }
.auth-form .auth-header { text-align: center; margin-bottom: 1.75rem; }
.auth-form h2 { font-size: 2rem; margin-bottom: .35rem; font-weight: 700; }
.auth-form .auth-subtitle { color: var(--rt-text-muted); margin-bottom: 0; font-size: 15px; }
.auth-form .form-label { font-size: 14px; font-weight: 500; }
.auth-form .form-control { font-size: 15px; padding: .7rem 1rem; }
.auth-form .input-group-text { font-size: 15px; }
.auth-form .fs-12 { font-size: 13px !important; }
.auth-form .fs-13 { font-size: 14px !important; }
.auth-form .form-check-label { font-size: 14px; }
.auth-form .btn { font-size: 15px; padding: .7rem; font-weight: 600; }
.auth-form .social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; flex: 1; padding: .65rem; border: 1px solid var(--rt-border);
  border-radius: 10px; background: var(--rt-card-bg); color: var(--rt-text);
  font-size: 13px; font-weight: 500; transition: var(--rt-trans);
}
.auth-form .social-btn:hover { background: var(--rt-body-bg); border-color: var(--rt-primary); }

[data-theme="dark"] .auth-right { background: var(--rt-card-bg); }

@media (max-width: 991.98px) {
  .auth-left { display: none; }
}
