/* body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.login-container {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 300px;
  text-align: center;
}

.login-container h2 {
  margin-bottom: 20px;
}

.login-container input {
  width: 90%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.login-container button {
  padding: 10px 20px;
  background-color: #1976d2;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
}

.login-container button:hover {
  background-color: #1565c0;
}

#loginMessage {
  margin-top: 10px;
  color: red;
}


.signup-text {
  margin-top: 15px;
  font-size: 14px;
  color: #555;
}

.signup-text a {
  color: #1976d2;
  text-decoration: none;
  font-weight: bold;
}

.signup-text a:hover {
  text-decoration: underline;
} */


/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Root Variables (same as index.css for consistency) */
:root {
  --primary-color: #00b894;
  --primary-hover: #00cec9;
  --secondary-color: #007bff;
  --secondary-hover: #0056b3;
  --accent-color: #00e5ff;
  --accent-hover: #00bcd4;
  --bg-color: #ffffff;
  --bg-light: #f9f9f9;
  --bg-gradient: linear-gradient(to right, #eef2f3, #ffffff);
  --text-color: #2c3e50;
  --text-light: #666;
  --text-muted: #888;
  --border-color: #ccc;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --input-radius: 8px;
  --input-padding: 12px;
}

/* Base Styles */
body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(80,120,255,.12), transparent 60%),
              linear-gradient(180deg, #0b1020 0%, #0a0d18 100%);
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  display: flex;
  max-width: 900px;
  width: 100%;
  margin: 20px;
  background: var(--bg-color);
  border-radius: 20px;
  box-shadow: 0 0 30px var(--shadow-light);
  overflow: hidden;
}

/* Hero Section (Left) */
.hero-section {
  flex: 1;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(80,120,255,.12), transparent 60%),
              linear-gradient(180deg, #0b1020 0%, #0a0d18 100%);
  color: #eef2ff;
}

.hero-inner {
  max-width: 400px;
  width: 100%;
  z-index: 1;
}

.hero-section .badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.4px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  margin-bottom: 14px;
  color: #c7d2fe;
  background: rgba(255,255,255,.04);
}

.hero-section h1 {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.08;
  margin: 0 0 12px;
  font-weight: 800;
  background: linear-gradient(90deg, #dbe3ff, #a7b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-section .sub {
  max-width: 360px;
  margin: 0 auto 22px;
  color: #cbd5e1;
  font-size: clamp(14px, 2vw, 16px);
}

.hero-section .highlights {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #9aa6ff;
  font-size: 14px;
}

.hero-section .highlights li {
  padding: 8px 12px;
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 10px;
}

.hero-section .blob {
  position: absolute;
  filter: blur(40px);
  opacity: 0.35;
  z-index: 0;
}

.hero-section .blob.b1 {
  width: 200px;
  height: 200px;
  background: #5b8bff;
  border-radius: 50%;
  top: -40px;
  left: -40px;
  opacity: 0.22;
}

.hero-section .blob.b2 {
  width: 240px;
  height: 240px;
  background: #7aa2ff;
  border-radius: 50%;
  bottom: -60px;
  right: -70px;
  opacity: 0.18;
}

/* Login Container (Right) */
.login-container {
  flex: 1;
  background: var(--bg-color);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-container .logo {
  height: 42px;
  margin-bottom: 20px;
}

.login-container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #dbe3ff, #a7b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.login-container input {
  width: 100%;
  max-width: 320px;
  padding: var(--input-padding);
  margin: 10px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--input-radius);
  font-size: 1rem;
  background: var(--bg-light);
  box-shadow: inset 0 1px 3px var(--shadow-light);
  transition: border-color 0.3s ease;
}

.login-container input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

.login-container button {
  width: 100%;
  max-width: 320px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
  color: white;
  border: none;
  border-radius: var(--input-radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.login-container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, var(--secondary-hover), var(--secondary-color));
}

#loginMessage {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #e53e3e;
  min-height: 20px;
  text-align: center;
}

.signup-text {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.signup-text a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.signup-text a:hover {
  color: var(--secondary-hover);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .auth-container {
    flex-direction: column;
    margin: 10px;
  }

  .hero-section {
    padding: 20px;
  }

  .login-container {
    padding: 20px;
  }

  .hero-section .blob.b1 {
    width: 150px;
    height: 150px;
  }

  .hero-section .blob.b2 {
    width: 180px;
    height: 180px;
  }
}