:root {
  --primary: #00c853; /* Vivid Green */
  --primary-dark: #007e33; /* Deep Green */
  --background: #121212; /* Dark background */
  --surface: #1e1e1e; /* Surface panels */
  --card: #212121; /* Glossy card surface */
  --text-primary: #ffffff; /* White text */
  --text-secondary: #bbbbbb; /* Light grey text */
  --accent: #00e676; /* Neon Green Accent */
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
* {
  box-sizing: border-box;
}

/* LOGIN PAGE SPECIFIC */
.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--background), var(--surface));
  padding: 20px;
  position: relative;
}

/* 🔙 Back Button */
.back-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  background-color: var(--card);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

.back-btn:hover {
  background-color: var(--primary-dark);
  color: var(--text-primary);
  transform: rotate(-5deg) scale(1.1);
}

.auth-container {
  background-color: var(--card);
  padding: 40px 30px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 450px;
  text-align: center;
  animation: fadeIn 0.8s ease;
}

.auth-container h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.auth-container .subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.auth-container input {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--surface);
  color: var(--text-primary);
  transition: border-color 0.3s ease;
}

.auth-container input:focus {
  border-color: var(--primary);
  outline: none;
}

.auth-container input::placeholder {
  color: var(--text-secondary);
}

.auth-container .btn {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  font-size: 1rem;
  border-radius: 8px;
}

.switch-auth {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.switch-auth a {
  color: var(--primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.switch-auth a:hover {
  color: var(--primary-dark);
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
