/* Styles for the join code login modal */
.float-container {
  position: relative;
  margin-bottom: 20px;
}

.float-container input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

.float-container input:focus {
  outline: none;
  border-color: #6c63ff;
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

.float-container label {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 16px;
  color: #999;
  transition: all 0.2s ease;
  pointer-events: none;
}

.float-container input:focus + label,
.float-container input:not(:placeholder-shown) + label {
  top: -8px;
  left: 8px;
  font-size: 12px;
  background-color: white;
  padding: 0 4px;
  color: #6c63ff;
}

.neon-btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #6c63ff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
}

.neon-btn:hover {
  background-color: #5a52cc;
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.5);
}

.neon-btn:disabled {
  background-color: #a299f0;
  cursor: not-allowed;
}

.google-login-btn {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.2s ease;
}

.google-login-btn:hover {
  background-color: #f8f8f8;
}

.error-message {
  color: #e53935;
  font-size: 14px;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
}

/* Animation for the modal */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
