.hidden {
  display: none;
}

#chat-widget-container {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  flex-direction: column;
  z-index: 1000;
}

#chat-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  border-radius: 0;
  transition: all 0.3s;
  overflow: hidden;
}

.user-message {
  background-color: #1f2937;
  color: white;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  max-width: 70%;
}

.typing-indicator {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
}

.typing-indicator span {
  height: 8px;
  width: 8px;
  margin: 0 1px;
  background-color: #606060;
  border-radius: 50%;
  display: inline-block;
  animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}

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

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

@keyframes typing {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

.location-btn {
  transition: all 0.3s ease;
}

.location-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.message-content a {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 768px) {
    #chat-popup {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      max-height: 100%;
      border-radius: 0;
    }
}

.message-content ul {
  list-style-type: disc;
  padding-left: 20px;
}

.message-content li {
  margin-bottom: 5px;
}

.feedback-bar {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #D1D5DB;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6B7280;
    min-height: 2.5rem;
    position: relative;
    transition: all 0.2s ease;
}

.feedback-bar .feedback-prompt,
.feedback-bar .feedback-thanks {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.feedback-button {
    border: none;
    background: transparent;
    padding: 0.25rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.feedback-button:hover {
    transform: scale(1.1);
}

.feedback-button img {
    width: 12px;
    display: block;
}

/* styles.css */
.chat-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.chat-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  padding-top: 1rem;
  gap: 0.5rem;
}

.chat-footer .report-problem,
.chat-footer .feedback-link {
  color: #60a5fa;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.chat-footer .report-problem:hover,
.chat-footer .feedback-link:hover {
  text-decoration: underline;
}

.chat-footer .powered-by {
  flex: 1 1 auto;
  text-align: center;
  min-width: 100%;
}

@media (min-width: 400px) {
  .chat-footer .powered-by {
    min-width: auto;
    text-align: center;
  }
}
