body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar-brand {
  letter-spacing: 0.03em;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.bg-gradient-light {
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.card {
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.list-group-item-action:hover {
  background-color: rgba(13, 110, 253, 0.05);
  border-left: 3px solid #0d6efd;
}

.example-question {
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer {
  margin-top: auto;
}

.min-vh-75 {
  min-height: 75vh;
}

.table thead.sticky-top {
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Loading skeleton animations */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .icon-circle {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .table {
    font-size: 0.875rem;
  }
}
