/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
}

body::before {
  background: radial-gradient(circle at 15% 10%, rgba(37, 211, 102, 0.18), transparent 55%);
}

body::after {
  background: radial-gradient(circle at 90% 85%, rgba(0, 168, 132, 0.22), transparent 60%);
}

.typing-bubble {
  background-color: rgba(15, 23, 42, 0.9);
  border-radius: 9999px;
  padding: 0.6rem 0.9rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(71, 85, 105, 0.4);
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.typing-dots span {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background-color: rgba(226, 232, 240, 0.7);
  animation: typing-dot 1.2s infinite ease-in-out;
}

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

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

@keyframes typing-dot {
  0%, 80%, 100% {
    opacity: 0.2;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.chat-background {
  background-color: #fdf1ff;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(211, 79, 130, 0.08), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(245, 177, 0, 0.08), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 40%);
  background-size: cover;
}

.conversation-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 20, 26, 0.2) transparent;
}

.conversation-scroll::-webkit-scrollbar {
  width: 6px;
}

.conversation-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(11, 20, 26, 0.18);
  border-radius: 9999px;
}

.conversation-scroll::-webkit-scrollbar-track {
  background: transparent;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

@media (max-width: 640px) {
  /* Prevent mobile browsers (iOS Safari) from zooming inputs on focus */
  input,
  textarea,
  select {
    font-size: 16px !important;
  }
}
