/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  min-height: 100vh;
  background: radial-gradient(
    circle at top right,
    #7aa7ff 0%,
    #e9f6f4 45%,
    #ffffff 75%
  );
  color: #111;
}

/* ================= AUTH WRAPPER ================= */
.auth-wrapper {
  min-height: calc(100vh - 140px); /* header + footer space */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

/* ================= CARD ================= */
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 36px 34px;
  border-radius: 20px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef1f5;
}

/* ================= LOGO ================= */
.logo {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.tagline {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
  margin-bottom: 24px;
}

/* ================= HEADING ================= */
.auth-card h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
}

/* ================= FORM ================= */
.auth-card form {
  display: flex;
  flex-direction: column;
}

.auth-card label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.auth-card input {
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  margin-bottom: 16px;
  outline: none;
  transition: all 0.25s ease;
}

.auth-card input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* ================= BUTTON ================= */
.auth-card button {
  margin-top: 6px;
  padding: 13px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(90deg, #1a73e8, #2ecc71);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(26, 115, 232, 0.25);
}

/* ================= SWITCH ================= */
.switch {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: #6b7280;
}

.switch a {
  color: #1a73e8;
  font-weight: 500;
  text-decoration: none;
}

.switch a:hover {
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .auth-card {
    padding: 28px 22px;
  }

  .logo {
    font-size: 24px;
  }
}
