/* === Base Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a1930, #1e3a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.auth-container {
  background: white;
  width: 380px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  animation: fadeIn 0.4s ease;
}

.auth-tabs {
  display: flex;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tab.active {
  background: white;
  color: #111;
  border-bottom: 2px solid #2563eb;
}

.form {
  display: none;
  padding: 28px 24px 32px;
  animation: fadeIn 0.3s ease;
}

.form.active {
  display: block;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #1e3a8a;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #444;
}

input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  margin-bottom: 16px;
  transition: border-color 0.2s ease;
}

input:focus {
  border-color: #2563eb;
  outline: none;
}

button {
  width: 100%;
  background: #2563eb;
  color: white;
  font-weight: 600;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover {
  background: #1e40af;
}

.extra-links {
  text-align: center;
  margin-top: 10px;
}

.extra-links a {
  color: #2563eb;
  text-decoration: none;
  font-size: 14px;
}

.extra-links a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
