/* Ultra-Clean Legal Tech Styles */

:root {
  /* System Font Stack for 0ms load */
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body {
  font-family: var(--font-system);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar for the output box */
.citation-output::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.citation-output::-webkit-scrollbar-track {
    background: transparent;
}
.citation-output::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* Spinner Animation */
.spinner {
    border: 2px solid rgba(37, 99, 235, 0.1); /* blue-600 with opacity */
    border-radius: 50%;
    border-top: 2px solid #2563eb; /* blue-600 */
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility Focus */
*:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Utility to hide file input */
.file-input-hidden {
    display: none;
}
