/* ===== Global ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f3f4f6;
}

/* ===== Layout: center the card ===== */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ===== Card ===== */
.login-card {
  background: #ffffff;
  width: 100%;
  max-width: 380px;
  border-radius: 18px;
  padding: 32px 30px 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  text-align: left;
}

/* ===== Heading ===== */
.login-card h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  background: linear-gradient(90deg, #111827, #facc15);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Optional small subtitle style if you add one later */
/*
.login-card h2 {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 22px;
}
*/

/* ===== Error message ===== */
.error-msg {
  font-size: 13px;
  color: #b91c1c;
  background: #fee2e2;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

/* ===== Form ===== */
form {
  margin-top: 16px;
}

/* Form groups */
.form-group {
  margin-bottom: 14px;
}

/* Labels */
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

/* Inputs & select */
.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  outline: none;
  background: #ffffff;
  color: #111827;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input::placeholder,
.form-group select {
  color: #9ca3af;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.35);
}

/* ===== Button ===== */
.join-btn {
  width: 100%;
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a, #111827, #facc15);
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.35);
  transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.12s ease;
}

.join-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.4);
  opacity: 0.96;
}

.join-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.35);
}

/* ===== Bottom text & link ===== */
.login-card p {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

.login-card p a {
  color: #1d4ed8;
  font-weight: 500;
  text-decoration: none;
}

.login-card p a:hover {
  text-decoration: underline;
}
