/* Auth overlay & modal - matches hira-site theme */
#auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 0, 16, 0.95);
  backdrop-filter: blur(12px);
  cursor: default; /* show default cursor on login — body has cursor:none */
}

.auth-modal {
  width: 100%;
  max-width: 380px;
  padding: 24px;
}

.auth-modal-inner {
  background: rgba(15, 0, 37, 0.9);
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 0 60px rgba(109, 40, 217, 0.2);
}

.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #f5f3ff;
  margin-bottom: 8px;
  text-align: center;
}

.auth-subtitle {
  font-size: 0.9rem;
  color: rgba(192, 132, 252, 0.7);
  margin-bottom: 28px;
  text-align: center;
}

.auth-form input {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 14px;
  background: rgba(30, 4, 69, 0.6);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.auth-form input::placeholder {
  color: rgba(192, 132, 252, 0.4);
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(192, 132, 252, 0.6);
}

.auth-error {
  color: #f87171;
  font-size: 0.85rem;
  margin-bottom: 12px;
  text-align: center;
}

.auth-submit {
  width: 100%;
  padding: 14px 24px;
  margin-top: 8px;
  background: linear-gradient(135deg, #6d28d9, #5b21b6);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.auth-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.4);
}

.auth-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
