@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Auth Modal (scoped to #login-modal to avoid conflicts) */
#login-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  font-family: "Noto Sans", sans-serif;
}

#login-modal .modal-content {
  background-color: #111122;
  border: 2px solid #AAAAFF;
  max-width: 450px;
  width: 90%;
  padding: 30px;
  border-radius: 5px;
  position: relative;
  color: #fff;
  box-shadow: 0 0 15px rgba(100, 150, 255, 0.3);
}

#login-modal .close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #AAAAFF;
}

#login-modal .close-button:hover {
  color: #fff;
}

#login-modal h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #AAAAFF;
  font-family: "Noto Sans", sans-serif;
  text-align: center;
  font-size: clamp(18px, 4vw, 24px);
}

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

#login-modal .form-group input {
  width: 100%;
  padding: 10px;
  background-color: #1a1a2a;
  border: 1px solid #444455;
  color: #fff;
  font-size: 16px;
  border-radius: 3px;
}

#login-modal .form-group input:focus {
  outline: none;
  border-color: #AAAAFF;
  box-shadow: 0 0 5px rgba(170, 170, 255, 0.5);
}

#login-modal .form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

#login-modal .form-actions .btn {
  width: 100%;
  max-width: 200px;
}

/* Match 2025 homepage button look within the modal */
#login-modal .btn {
  background-color: #222233;
  color: #AAAAFF;
  border: 2px solid #AAAAFF;
  padding: 10px 24px;
  font-size: clamp(16px, 4vw, 19px);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

#login-modal .btn:hover,
#login-modal .btn:active {
  background-color: #AAAAFF;
  color: #222233;
}

#login-modal .reset-link {
  color: #AAAAFF;
  text-decoration: none;
  font-size: 14px;
}

#login-modal .reset-link:hover {
  text-decoration: underline;
  color: #fff;
}

#login-status {
  color: #ff5555;
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
}

/* Ensure button font size overrides any older cached rules */
#login-modal .modal-content .form-actions button.btn,
#login-modal .modal-content .form-actions input.btn {
  font-size: clamp(16px, 4vw, 19px);
}
