/* ====================================================================
   Helping Hands - Senior-Friendly Stylesheet
   ==================================================================== */

/* Senior-friendly accessibility text scale levels */
body.text-scale-normal { font-size: 16px; }
body.text-scale-large  { font-size: 19px; }
body.text-scale-xlarge { font-size: 22px; }

/* High legibility typography and contrast defaults */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f4;
  color: #1c1917;
  -webkit-font-smoothing: antialiased;
}

/* High visibility keyboard focus indicator */
.focus-ring:focus {
  outline: 4px solid #f59e0b;
  outline-offset: 2px;
}

/* Micro-animations */
.fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom subtle scrollbars for long discussion threads */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f5f5f4;
}
::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a29e;
}
