/* auth.css */

.auth-page {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.auth-card {
  background: var(--card);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.auth-card h1 {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.auth-form input {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.auth-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.form-error {
  margin-top: 14px;
  color: #ef4444;
  font-weight: 600;
  font-size: 14px;
}

.auth-links {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  gap: 10px;
}

.auth-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.auth-links a:hover {
  text-decoration: underline;
}
