/* KEWI Student Portal - base resets, typography, small utilities */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--kewi-font-sans);
  color: var(--kewi-gray-800);
  background-color: var(--kewi-gray-50);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--kewi-navy-900);
  font-weight: 700;
}

a {
  text-decoration: none;
}

.text-muted-sm {
  font-size: 0.8125rem;
  color: var(--kewi-gray-600);
}

.text-accent {
  color: var(--kewi-gold-600) !important;
}

.icon-xs {
  font-size: 0.5rem;
}

.text-info-brand {
  color: var(--kewi-navy-700) !important;
}

.bg-brand-sky {
  background-color: var(--kewi-sky-500) !important;
}

::selection {
  background-color: var(--kewi-sky-100);
  color: var(--kewi-navy-900);
}

.bg-brand-navy {
  background-color: var(--kewi-navy-700) !important;
}

.bg-brand-navy-900 {
  background-color: var(--kewi-navy-900) !important;
}

.bg-brand-gold {
  background-color: var(--kewi-gold-500) !important;
}

.fw-semibold {
  font-weight: 600;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kewi-gray-600);
}

/*
  Water-motif divider - a thin repeating wave, echoing the fountain arcs
  on the KEWI seal. Used as the seam between the sky header and the page
  body instead of a plain hard edge.
*/
.wave-divider {
  height: 14px;
  background-color: var(--kewi-gray-50);
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 100px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q25 2 50 12 T100 12 V20 H0 Z' fill='%2371C4E4'/%3E%3C/svg%3E");
}

/* Scrollbar - subtle brand tint, desktop browsers only */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--kewi-gray-100);
}

::-webkit-scrollbar-thumb {
  background-color: var(--kewi-gray-400);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--kewi-navy-700);
}

/* Print: hide chrome, show only the content/PDF area */
@media print {
  .app-header,
  .app-sidebar,
  .app-footer,
  .no-print {
    display: none !important;
  }
}
