html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  background: transparent !important;
}

#unity-canvas {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  background-color: transparent !important;
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

#unity-canvas:focus {
  outline: none;
  border: none;
}

#unity-container {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
  display: none;
}

#loading-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-size: 1rem;
  color: #fff;
}

.spinner {
  border: 6px solid #eee;
  border-top: 6px solid #00acc0;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

input[type="text"],
input[type="number"],
input[type="password"],
textarea {
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  pointer-events: none !important;
}

.switch-on-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 100%;
  background: url('avatar-placeholder.png') no-repeat center center;
  background-size: cover;
  border: 4px solid #6bf8d3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #f0f0f0;
  cursor: pointer;
}

.switch-on-avatar::before {
  content: "Ask Me!";
  position: absolute;
  top: -40px;
  left: 50%;
  background-color: #fff;
  padding: 4px 12px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #333;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0%;
  transition: opacity 0.3s ease-in-out;
}

.switch-on-avatar:hover::before {
  opacity: 100%;
}

.switch-on-container {
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 20;
  max-width: 300px;
}

.switch-on-text {
  background-color: #fff;
  padding: 4px 12px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #333;
  text-align: center;
  opacity: 100%;
  transition: opacity 0.3s ease-in-out;
}

.switch-on-text .close-text-icon {
  position: absolute;
  top: 0;
  left: -25px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.switch-off-avatar {
  position: absolute;
  top: 40px;
  right: 20px;
  padding: 1px;
  border-radius: 100%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  cursor: pointer;
  z-index: 10;
}
