body {
  margin: 0;
  font-family: Roboto, sans-serif;
  background: linear-gradient(rgba(5, 21, 65, 0.85), rgba(10, 57, 186, 0.55)),
    url("./assets/images/hotel2.jpg") center/cover no-repeat;
  background-attachment: fixed;
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.header {
  text-align: center;
  padding: 1rem;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 1rem;
  justify-items: center;
  align-items: start;
  width: 90%;
  max-width: 1100px;
}

.menu-btn {
  background: #06194f;
  border: none;
  border-radius: 12px;
  color: white;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 140px;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.menu-btn .icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
  height: 80px;
}

.menu-btn span {
  font-size: 16px;
}

.chat-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-top: 1rem;
}

.chat-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px); /* Frosted blur */
  -webkit-backdrop-filter: blur(18px); /* Safari support */
  border-radius: 16px;
  text-align: left;
  position: relative;
}

.chat-history {
  display: flex;
  height: 500px;
  padding: 1rem;
}
.chat-body {
  width: 50%;
  overflow-y: auto;
  margin-top: 32px;
}
.user-text {
  text-align: right;
  background: rgba(255, 255, 255, 0.1);
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  margin: 0.4rem 0;
}

.assistant-text {
  text-align: left;
  color: white;
  margin: 0.4rem 0;
}

.interim-text {
  opacity: 0.6;
  font-style: italic;
}

#avatarContainer {
  text-align: center;
  margin-top: 1rem;
  width: 50%;
}

.assistant-input {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  color: #fff;
  justify-content: center;
}

.icon-btn {
  background: #072167;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  opacity: 0.7;
}

.icon-btn svg {
  width: 26px;
  height: 26px;
}

.assistant-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  outline: none;
}

.assistant-input input::placeholder {
  color: white;
}

.mic-btn.active svg path {
  stroke: green;
}

.mic-btn.waiting svg path {
  stroke: orange;
}

.chat-box {
  position: relative;
}

.chat-body {
  width: 100%;
  height: 150px;
}

#avatarContainer {
  margin-top: auto;
  height: 70%;
  width: 100%;
  position: absolute;
  bottom: 90px;
}

.chat-container {
  position: fixed;
  bottom: 0;
}
@media (min-width: 685px) {
  #avatarContainer {
    margin-bottom: -2rem;
  }
}
@media (max-width: 684px) {
  #avatarContainer {
    margin-top: auto;
    height: 70%;
    width: 100%;
    position: absolute;
    bottom: 50px;
  }

  .menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .menu-btn {
    width: 100%;
    height: 52px;
    padding: 0.5rem;
    font-size: 14px;
    justify-content: space-around;
    flex-direction: row;
  }

  .menu-btn .icon {
    height: 40px;
    margin-bottom: 0.25rem;
  }

  .menu-btn .icon svg {
    width: 40px;
    height: 40px;
  }

  .menu-btn span {
    font-size: 12px;
  }

  .icon-btn {
    width: 35px;
    height: 35px;
  }

  .icon-btn svg {
    width: 16px;
    height: 16px;
  }
}
#playerCanvas {
  width: 90% !important;
  height: 100% !important;
}

.chat-box.inactive {
  background: none;
  backdrop-filter: none;
}

.icon-btn svg {
  color: #b0b8c1; /* Soft gray-blue instead of pure white */
}


canvas:focus,
iframe:focus,
video:focus,
.player:focus {
  outline: none !important;
}