/* Tailwind CSS - Production Build */
/* Generated for Gemini 2.5 Pro Query Interface */

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.5;
}

/* SVG Icon styling - make icons white */
img[src*=".svg"] {
  filter: brightness(0) invert(1);
}

/* Alternative approach for SVG elements */
svg {
  fill: white;
  color: white;
}

/* Utility classes used in the HTML */
.bg-gray-100 {
  background-color: rgb(243 244 246);
}

.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.p-4 {
  padding: 1rem;
}

.w-full {
  width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.bg-white {
  background-color: rgb(255 255 255);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.p-6 {
  padding: 1.5rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.font-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.text-gray-800 {
  color: rgb(31 41 55);
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.w-full {
  width: 100%;
}

.p-3 {
  padding: 0.75rem;
}

.border {
  border-width: 1px;
  border-style: solid;
  border-color: rgb(229 231 235);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px rgb(59 130 246);
}

.focus\:ring-blue-500:focus {
  box-shadow: 0 0 0 2px rgb(59 130 246);
}

.justify-between {
  justify-content: space-between;
}

.bg-red-500 {
  background-color: rgb(239 68 68);
}

.text-white {
  color: rgb(255 255 255);
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.hover\:bg-red-600:hover {
  background-color: rgb(220 38 38);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.bg-blue-500 {
  background-color: rgb(59 130 246);
}

.hover\:bg-blue-600:hover {
  background-color: rgb(37 99 235);
}

.bg-gray-50 {
  background-color: rgb(249 250 251);
}

.min-h-\[100px\] {
  min-height: 100px;
}

.text-gray-700 {
  color: rgb(55 65 81);
}

.bg-gray-500 {
  background-color: rgb(107 114 128);
}

.bg-gray-300 {
  background-color: rgb(209 213 219);
}

.bg-gray-400 {
  background-color: rgb(156 163 175);
}

.hover\:bg-gray-600:hover {
  background-color: rgb(75 85 99);
}

.bg-purple-500 {
  background-color: rgb(168 85 247);
}

.hover\:bg-purple-600:hover {
  background-color: rgb(147 51 234);
}

.bg-green-500 {
  background-color: rgb(34 197 94);
}

.hover\:bg-green-600:hover {
  background-color: rgb(22 163 74);
}

/* Chat specific styles */
.h-96 {
  height: 24rem;
}

.overflow-y-auto {
  overflow-y: auto;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.max-w-xs {
  max-width: 20rem;
}

.max-w-md {
  max-width: 28rem;
}

.rounded-br-none {
  border-bottom-right-radius: 0;
}

.rounded-bl-none {
  border-bottom-left-radius: 0;
}

.hidden {
  display: none;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.italic {
  font-style: italic;
}

.lg\:max-w-md {
  max-width: 28rem;
}

@media (min-width: 1024px) {
  .lg\:max-w-md {
    max-width: 28rem;
  }
}

/* Collapsible topic logs styles */
.topic-logs {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  background-color: #ffffff;
}

.topic-logs summary {
  cursor: pointer;
  font-weight: bold;
  padding: 0.75rem;
  background-color: #f3f4f6;
  border-radius: 0.5rem 0.5rem 0 0;
  margin-bottom: 0;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.topic-logs summary:hover {
  background-color: #e5e7eb;
}

.topic-logs summary::-webkit-details-marker {
  display: none;
}

.topic-logs summary::before {
  content: '▶';
  display: inline-block;
  margin-right: 0.5rem;
  transition: transform 0.2s ease;
  color: #6b7280;
}

.topic-logs[open] summary::before {
  transform: rotate(90deg);
}

.topic-logs > div {
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 0 0 0.5rem 0.5rem;
}

/* Ensure tables inside collapsible sections display properly */
.topic-logs table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
  border-collapse: collapse !important;
  margin: 0.5rem 0 !important;
  display: table !important;
}

.topic-logs th,
.topic-logs td {
  padding: 0.5rem !important;
  text-align: left !important;
  border-bottom: 1px solid #e0e0e0 !important;
  word-wrap: break-word !important;
  max-width: none !important;
  display: table-cell !important;
}

.topic-logs th {
  background-color: #f5f5f5 !important;
  font-weight: bold !important;
}

/* Button disabled states */
.opacity-50 {
  opacity: 0.5;
}

.cursor-not-allowed {
  cursor: not-allowed;
}