/* ===== RESET / BASE ===== */
* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

/* ===== CARD ===== */
.auth-card {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.logo svg {
  display: block;
}

.logo-text {
  margin-top: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #667eea;
  letter-spacing: 0.3px;
}

/* ===== TYPOGRAPHY ===== */
h2 {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 1.6rem;
  color: #333;
}

p {
  font-size: 0.95rem;
  color: #555;
  text-align: center;
  margin-bottom: 1.25rem;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.35rem;
}

input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* ===== BUTTONS ===== */
button,
.button {
  margin-top: 1.25rem;
  padding: 0.75rem;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  width: auto;
  margin: 1.25rem auto 0;
}

button:hover,
.button:hover {
  background: #5a67d8;
}

/* ===== LINKS ===== */
.auth-links {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
}

.auth-links a {
  color: #667eea;
  text-decoration: none;
}

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

/* ===== FEEDBACK ===== */
.error {
  background: #fed7d7;
  color: #9b2c2c;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

.success {
  background: #c6f6d5;
  color: #22543d;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

