/* CSS cho AI HeyGen - Responsive Design */
#heygen-streaming-embed {
  z-index: 9999;
  position: fixed;
  left: 40px;
  bottom: 40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.12);
  transition: all linear 0.1s;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}
#heygen-streaming-embed.show {
  opacity: 1;
  visibility: visible;
}
#heygen-streaming-embed.expand {
  height: 366px;
  width: calc(366px * 16 / 9);
  border: 0;
  border-radius: 8px;
}
#heygen-streaming-container {
  width: 100%;
  height: 100%;
}
#heygen-streaming-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* Mobile responsive cho AI Avatar */
@media (max-width: 768px) {
  #heygen-streaming-embed {
    left: 20px;
    bottom: 20px;
    width: 150px;
    height: 150px;
  }
  #heygen-streaming-embed.expand {
    height: 300px;
    width: calc(100vw - 40px);
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 12px;
  }
}
@media (max-width: 540px) {
  #heygen-streaming-embed {
    left: 10px;
    bottom: 10px;
    width: 120px;
    height: 120px;
  }
  #heygen-streaming-embed.expand {
    height: 250px;
    width: calc(100vw - 20px);
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 10px;
  }
}
/* Đảm bảo AI avatar không bị che khuất bởi các phần tử khác */
@media (max-width: 768px) {
  body {
    padding-bottom: 200px; /* Tạo khoảng trống cho AI avatar */
  }
}
@media (max-width: 540px) {
  body {
    padding-bottom: 150px;
  }
} 