/* Login Modal Styles */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.login-modal-content {
  background: rgba(0, 0, 0, 0.9);
  padding: 40px;
  border-radius: 12px;
  border: 2px solid #ffd700;
  min-width: 300px;
}

.login-modal h2 {
  color: #ffd700;
  text-align: center;
  margin: 0 0 30px 0;
  font-size: 28px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-input {
  padding: 12px;
  border: 2px solid #333;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  transition: border-color 0.2s;
}

.login-input:focus {
  outline: none;
  border-color: #ffd700;
}

.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.login-submit,
.register-submit,
.login-cancel {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.login-submit {
  background: #ffd700;
  color: black;
}

.register-submit {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  border: 2px solid #ffd700;
}

.login-cancel {
  background: rgba(255, 0, 0, 0.2);
  color: #ff6b6b;
  border: 2px solid #ff6b6b;
}

.login-submit:hover,
.register-submit:hover,
.login-cancel:hover {
  transform: scale(1.05);
}

.login-submit:disabled,
.register-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.login-error {
  color: #ff6b6b;
  text-align: center;
  margin-top: 20px;
  display: none;
}

/* Auth Header Styles */
.auth-header {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 15px;
}

.welcome-message {
  color: #ffd700;
  font-size: 20px;
  font-family: 'Bungee' , sans-serif;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.welcome-message.hide {
  opacity: 0;
  pointer-events: none;
}

#loginButton {
  transition: opacity 0.3s ease;
}

#loginButton.hide {
  opacity: 0;
  pointer-events: none;
}

.login-description {
  color: #ffd700;
  text-align: center;
  margin: 0 0 20px 0;
  font-size: 18px;
  font-family: 'Noto Sans', sans-serif;
  opacity: 0.9;
}

.login-data-note {
  color: #fff;
  text-align: center;
  margin: 30px 0 20px 0;
  font-size: 14px;
  font-family: 'Noto Sans', sans-serif;
  opacity: 0.9;
  max-width: 450px;
}

.logout-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #ffd700;
  padding: 10px 20px;
  border-radius: 6px;
  border: 2px solid #ffd700;
  z-index: 10000;
  font-size: 16px;
}

