/* Custom styles beyond Tailwind */
body {
  font-family: 'Inter', sans-serif;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Chat message styles */
.message-bot {
  background: white;
  border-radius: 1rem;
  border-bottom-left-radius: 0.25rem;
  padding: 0.75rem 1rem;
  max-width: 85%;
  align-self: flex-start;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.message-user {
  background: #2563eb;
  color: white;
  border-radius: 1rem;
  border-bottom-right-radius: 0.25rem;
  padding: 0.75rem 1rem;
  max-width: 85%;
  align-self: flex-end;
}

.message-bot b, .message-bot strong {
  font-weight: 600;
  color: #1e40af;
}

.message-bot i, .message-bot em {
  font-style: italic;
}

/* Quick reply buttons */
.quick-reply-btn {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}

.quick-reply-btn:hover {
  background: #dbeafe;
  transform: scale(0.98);
}

.quick-reply-btn:active {
  transform: scale(0.96);
}

/* Result section */
.result-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid;
}

.result-allowed { border-left-color: #10b981; }
.result-conditional { border-left-color: #f59e0b; }
.result-forbidden { border-left-color: #ef4444; }

/* Animations */
@keyframes bounce-dot {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.loading-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ca3af;
  margin: 0 2px;
  animation: bounce-dot 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }