@font-face {
  font-family: "Gilroy";
  src: url("./gilroy-light-webfont.woff2") format("woff2"),
       url("./gilroy-light-webfont.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("./gilroy-regular-webfont.woff2") format("woff2"),
       url("./gilroy-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("./gilroy-medium-webfont.woff2") format("woff2"),
       url("./gilroy-medium-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("./gilroy-bold-webfont.woff2") format("woff2"),
       url("./gilroy-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("./gilroy-heavy-webfont.woff2") format("woff2"),
       url("./gilroy-heavy-webfont.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Base resets & typography */
* {
  font-family: "Gilroy", -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #FAF9F6;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Muscat Where To Pill Navigation Button */
.nav-pill-btn {
  color: #4b5563;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pill-btn:hover {
  background-color: #f3f0ea;
  color: #111827;
}

.nav-pill-btn.active {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.08);
}

/* Detail Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.detail-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 520px;
  max-width: 90vw;
  background: #ffffff;
  border-left: 1px solid #eae6df;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
  z-index: 55;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.detail-drawer.active {
  transform: translateX(0);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(6px);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* SVG Circular Gauge */
.progress-ring-text {
  font-size: 1.4rem;
  font-weight: 800;
  fill: #111827;
}

.progress-ring-sub {
  font-size: 0.65rem;
  font-weight: 700;
  fill: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}
