@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --background: #ffffff;
  --foreground: #171717;
  /*--background: #0a0a0a;*/
  /*--foreground: #ffffff;*/
}

/*@media (prefers-color-scheme: dark) {*/
/*  :root {*/
/*    --background: #0a0a0a;*/
/*    --foreground: #ededed;*/
/*  }*/
/*}*/

body {
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
}

html, body {
  background-color: var(--background);
  color: var(--foreground);
  margin: 0;
  padding: 0;
}

/* Style all headings globally */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif; /* Clean modern font */
  font-weight: 600;                 /* Semi-bold for clarity */
  /*color: #111827;                   !* Near-black text for readability *!*/
  line-height: 1.25;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Size scaling */
h1 {
  font-size: 2rem;  /* ~32px */
}
h2 {
  font-size: 1.5rem; /* ~24px */
}
h3 {
  font-size: 1.25rem; /* ~20px */
}
h4 {
  font-size: 1.125rem; /* ~18px */
}
h5 {
  font-size: 1rem;   /* ~16px */
}
h6 {
  font-size: 0.875rem; /* ~14px */
  color: #374151;      /* Slightly lighter for subheadings */
}

ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


.spinner {
  width: 48px;            /* 12 * 4px */
  height: 48px;
  border: 4px solid #d1d5db; /* gray-300 */
  border-top-color: #1f2937;  /* gray-800 */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}


