/* Chat CSS */
.chat-box {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.chat-header {
    background-color: #008080;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}

.chat-body {
    display: none;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
}

.message.received {
    background-color: #f0f8ff;
}

.message.sent {
    background-color: #e6f7ff;
    text-align: right;
}

.chat-footer {
    display: flex;
    border-top: 1px solid #ddd;
}

.chat-footer input {
    flex: 1;
    padding: 10px;
    border: none;
    border-right: 1px solid #ddd;
    border-radius: 0 0 0 10px;
}

.chat-footer button {
    padding: 10px;
    border: none;
    background-color: #008080;
    color: white;
    cursor: pointer;
    border-radius: 0 0 10px 0;
}


#chatButton button {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}





/* Here is christina style */
/* @media (max-width: 480px) {
  #cristina-ai-container {
    width: 90vw !important;
    height: 60vh !important;
    bottom: 10px !important;
    right: 10px !important;
    border-radius: 1rem !important;
  }

  #cristina-ai-container video {
    object-fit: cover;
  }

  #cristina-controls {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  #cristina-controls button {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  #cristina-call-btn {
    bottom: 80px !important;
    right: 10px !important;
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  #chatMessenger {
    width: 90vw !important;
    height: 70vh !important;
    right: 5vw !important;
    bottom: 5vh !important;
    font-size: 14px;
  }

  #chatMessenger input[type="text"] {
    font-size: 14px !important;
    padding: 8px !important;
  }

  #chatMessenger button {
    font-size: 14px !important;
    padding: 8px 12px !important;
  }

  #sendMessage {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #chatButton button {
    width: 50px !important;
    height: 50px !important;
    font-size: 1rem !important;
  }
} */




@media (max-width: 1280px) {
  html body #chatMessenger {
    width: 350px !important;
    height: 350px !important;
  }

  html body #cristina-ai-container {
    width: 350px !important;
    height: 350px !important;
  }

  html body #cristina-call-btn {
    width: 50px !important;
    height: 50px !important;
    font-size: 1rem !important;
  }

  html body #chatMessenger input[type="text"],
  html body #chatMessenger button {
    font-size: 14px !important;
    padding: 8px 12px !important;
  }
}

















/* Here is christina style */
@media (max-width: 480px) {
  #cristina-ai-container {
    width: 90vw !important;
    height: 60vh !important;
    bottom: 10px !important;
    right: 10px !important;
    border-radius: 1rem !important;
  }

  #cristina-ai-container video {
    object-fit: cover;
  }

  #cristina-controls {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  #cristina-controls button {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  #cristina-call-btn {
    position: fixed !important;
    right: 15px !important;
    bottom: 80px !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 1rem !important;
    z-index: 40 !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #chatButton {
    position: fixed !important;
    right: 15px !important;
    bottom: 20px !important;
    z-index: 50 !important;
  }

  #chatButton button {
    width: 50px !important;
    height: 50px !important;
    font-size: 1rem !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #chatMessenger {
    width: 90vw !important;
    height: 70vh !important;
    right: 2vw !important;
    bottom: 0.5vh !important;
    font-size: 14px;
  }

  #chatMessenger input[type="text"] {
    font-size: 14px !important;
    padding: 8px !important;
  }

  #chatMessenger button {
    font-size: 14px !important;
    padding: 8px 12px !important;
  }

  #sendMessage {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}





/* Base button styling (same for all sizes) */
#chatButton button,
#cristina-call-btn {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Position call button just above the chat button */
#cristina-call-btn {
  position: fixed;
  right: 20px;
  bottom: 100px; /* puts it above chat button */
  z-index: 40;
}

/* Position chat button */
#chatButton {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
}
