/* Global styles — companions to the Tailwind CDN dark theme. */

body {
  background-color: #0f1117;
}

/* Frosted-glass card — used on every page. */
.glass {
  background: rgba(22, 27, 39, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid #1e2535;
}

/* Risk-score gauge bar on the report page. */
.gauge-bar {
  height: 8px;
  border-radius: 4px;
  background: #1e2535;
  overflow: hidden;
}

.gauge-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.8s ease;
}

/* Animated status dot used on the progress page. */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.pulse-dot {
  animation: pulse-dot 1.2s ease-in-out infinite;
}

/* Clean up the <details> disclosure triangle across all browsers. */
details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}
