/* ============================================
   AUTH PAGES CSS (Login/Register)
   ============================================ */

.auth-body {
  background: linear-gradient(135deg, #0f172a 0%, #064e3b 50%, #0f172a 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.auth-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.auth-particles .particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  animation: floatParticle 8s ease-in-out infinite;
}

.auth-particles .particle:nth-child(1) {
  width: 350px; height: 350px; top: -100px; left: -100px;
}

.auth-particles .particle:nth-child(2) {
  width: 280px; height: 280px; bottom: -80px; right: -80px;
  background: rgba(59,130,246,0.1); animation-delay: 3s;
}

.auth-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
}

.auth-card {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.auth-back:hover {
  color: #10b981;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.auth-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(16,185,129,0.35);
}

.auth-logo h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.auth-logo h1 span {
  color: #10b981;
}

.auth-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 28px;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-wrap > i:first-child {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

.auth-input-wrap .form-control {
  padding-left: 40px;
}

.auth-input-wrap .toggle-pw {
  position: absolute;
  right: 14px;
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.2s;
}

.auth-input-wrap .toggle-pw:hover {
  color: #10b981;
}

.auth-footer-text {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-top: 20px;
}

.auth-footer-text a {
  color: #10b981;
  font-weight: 700;
}

.auth-footer-text a:hover {
  text-decoration: underline;
}

.auth-demo {
  margin-top: 24px;
  padding: 14px 16px;
  background: #f0fdf4;
  border: 1px dashed #10b981;
  border-radius: 12px;
}

.auth-demo p {
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-creds {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-creds span {
  font-size: 12px;
  color: #475569;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 28px 24px;
    border-radius: 18px;
  }
  .auth-title {
    font-size: 20px;
  }
}