.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.auth-overlay.active {
  opacity: 1;
  visibility: visible;
}

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 400px;
  background: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1002;
}

.auth-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.auth-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
}

.auth-view {
  display: none;
}

.auth-view.active {
  display: block;
}

.auth-view h3 {
  margin: 0 0 15px 0;
  font-size: 1.3rem;
  color: #222;
}

.auth-subtext {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 5px;
  color: #444;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.auth-submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

.auth-submit-btn:hover {
  background-color: #e11d48;
}

.auth-links {
  margin-top: 15px;
  text-align: center;
  font-size: 0.85rem;
}

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

.auth-links p {
  margin: 8px 0 0 0;
  color: #666;
}