.auth-btn {
  margin-left: 20px;
  background: #38bdf8;
  color: #020617;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.auth-box {
  background: white;
  padding: 30px;
  width: 360px;
  border-radius: 14px;
  text-align: center;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 22px;
  cursor: pointer;
}

.auth-box input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
}

.auth-box button {
  width: 100%;
  padding: 10px;
  background: #38bdf8;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.auth-message {
  margin-top: 10px;
  font-size: 14px;
  color: red;
}

.switch-text {
  margin-top: 14px;
  font-size: 14px;
  color: #475569;
  cursor: pointer;
}

.hidden {
  display: none;
}

.auth-box h2 {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
  color: #0f172a; /* dark professional color */
}

/* ===============================
   AUTH LOADING EFFECTS
=============================== */

.auth-box button.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-box button:active {
  transform: scale(0.97);
  transition: 0.1s ease;
}

.auth-box input:focus {
  outline: none;
  border: 2px solid #38bdf8;
  transition: 0.2s ease;
}