/* style.css */
.chat-container {
  width: 768px;
  height: 665.59px;
  background: #fffefb;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.chat-header {
  background: linear-gradient(to right, #7b2ff7, #1e90ff);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #c6d1d7;
}

.message {
  display: flex;
  max-width: 75%;
  gap: 10px;
  position: relative;
}
.d-flex {
    align-items: center;
}

.message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message.bot {
  align-self: flex-start;
}

.message .bubble {
  border-radius: 15px;
  padding: 10px 14px;
  color: white;
}

.message.user .bubble {
  background: #007bff;
}

.message.bot .bubble {
  background: #7b2ff7;
}

.message img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.timestamp {
  font-size: 0.75rem;
  color: gray;
  position: absolute;
  bottom: -18px;
  opacity: 0;
  transition: opacity 0.3s;
}

.message:hover .timestamp {
  opacity: 1;
}

.message.user .timestamp {
  right: 0;
}

.message.bot .timestamp {
  left: 0;
}

.modal-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.1);
  z-index: 10;
  justify-content: center;
  align-items: center;
}

#scrollContainer::-webkit-scrollbar {
  display: none;
}

.call-modal {
  width: 420px;
  height: 390px;
  background: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.listen-modal {
  width: 400px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cursor-pointer {
  cursor: pointer;
}
.avtar-text-wrapper {
    display: flex
;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0 15px;
}

div#avatar-3d {
    position: relative;
    left: -40px;
}


div#scrollContainer {
    padding: 0 20px 0 0;
    width: 100%;
    min-width: 240px;
    position: relative;
    left: -37px;
}

.modal-header {
    border-radius: 10px 10px 0 0;
}

.typing-dots {
        display: flex;
        align-items: center;
        gap: 5px;
        height: 24px;
        padding: 5px 10px;
      }

      .typing-dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background-color: #afd7e4;
        animation: blink 1.4s infinite both;
        margin: 2px;
      }

      .typing-dot:nth-child(2) {
        animation-delay: 0.2s;
      }

      .typing-dot:nth-child(3) {
        animation-delay: 0.4s;
      }