/*
 * 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.
 *
 *= require_tree .
 *= require_self
 */

:root {
  --clea-blue-dark: #001D3D;
  --clea-blue: #004D6D;
  --clea-blue-light: #59A5D8;
  --clea-blue-lighter: #A2C9E3;
  --clea-gray: #F1F4F6;
  --clea-yellow: #F4E36E;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--clea-gray);
}

h1, h2, h3, h4, h5, h6, .logo-text {
  font-family: 'Montserrat', sans-serif;
}

.bg-clea-blue-dark { background-color: var(--clea-blue-dark); }
.bg-clea-blue { background-color: var(--clea-blue); }
.bg-clea-blue-light { background-color: var(--clea-blue-light); }
.bg-clea-blue-lighter { background-color: var(--clea-blue-lighter); }
.bg-clea-gray { background-color: var(--clea-gray); }
.bg-clea-yellow { background-color: var(--clea-yellow); }

.text-clea-blue-dark { color: var(--clea-blue-dark); }
.text-clea-blue { color: var(--clea-blue); }
.text-clea-blue-light { color: var(--clea-blue-light); }
.text-clea-blue-lighter { color: var(--clea-blue-lighter); }

.border-clea-blue-dark { border-color: var(--clea-blue-dark); }
.border-clea-blue { border-color: var(--clea-blue); }
.border-clea-blue-light { border-color: var(--clea-blue-light); }
.border-clea-yellow { border-color: var(--clea-yellow); }

.hover-lift { transition: transform 0.2s ease-in-out; }
.hover-lift:hover { transform: translateY(-2px); }

/* Typing indicator styles */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
}

.typing-indicator span {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background-color: var(--clea-blue-light);
  display: inline-block;
  margin-right: 3px;
  animation: bouncingDots 1.2s infinite;
  opacity: 0.6;
}

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

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

@keyframes bouncingDots {
  0%, 80%, 100% { 
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
}

/* Markdown Content Styles - Included directly to ensure availability */
.markdown-content {
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.markdown-content h1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #e5e7eb;
}

.markdown-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.markdown-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.markdown-content h4, .markdown-content h5, .markdown-content h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.markdown-content p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.markdown-content ul, .markdown-content ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
}

.markdown-content ul {
  list-style-type: disc;
}

.markdown-content ol {
  list-style-type: decimal;
}

.markdown-content li {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.markdown-content li > ul, .markdown-content li > ol {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.markdown-content blockquote {
  padding: 0.5rem 1rem;
  margin: 0.5rem 0;
  border-left: 4px solid #e5e7eb;
  color: #4b5563;
}

.markdown-content pre {
  background-color: #f3f4f6;
  border-radius: 0.375rem;
  padding: 1rem;
  margin: 0.5rem 0;
  overflow-x: auto;
}

.markdown-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875em;
  padding: 0.2em 0.4em;
  margin: 0;
  border-radius: 0.25rem;
  background-color: #f3f4f6;
}

.markdown-content pre code {
  padding: 0;
  background-color: transparent;
}

.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0;
}

.markdown-content table th, .markdown-content table td {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
}

.markdown-content table th {
  background-color: #f9fafb;
  font-weight: 600;
}

.markdown-content hr {
  height: 1px;
  background-color: #e5e7eb;
  border: none;
  margin: 1rem 0;
}

.markdown-content a {
  color: #3b82f6;
  text-decoration: none;
}

.markdown-content a:hover {
  text-decoration: underline;
}

.markdown-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
}