/* IGEM/SR/25 — minor custom styles on top of Tailwind */

/* Zone color tokens used both in selection cards and result */
.zone-card {
  border-width: 2px;
  border-color: rgb(226 232 240);
  cursor: pointer;
  transition: all .15s ease;
}
.zone-card:hover {
  border-color: rgb(59 108 174);
  background: rgb(244 247 251);
}
.zone-card.selected {
  border-color: rgb(35 66 109);
  background: rgb(230 237 246);
  box-shadow: 0 0 0 3px rgba(59,108,174,.18);
}

.option-card {
  display: block;
  border: 2px solid rgb(226 232 240);
  border-radius: .5rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all .15s ease;
  background: white;
}
.option-card:hover {
  border-color: rgb(59 108 174);
  background: rgb(244 247 251);
}
.option-card.selected {
  border-color: rgb(35 66 109);
  background: rgb(230 237 246);
  box-shadow: 0 0 0 3px rgba(59,108,174,.18);
}

.zone-pill {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  border-radius: 9999px;
  padding: .25rem .75rem;
  font-size: .85rem;
}
.zone-pill[data-zone^="Zone 0"] { background: #fee2e2; color: #991b1b; }
.zone-pill[data-zone^="Zone 1"] { background: #ffedd5; color: #9a3412; }
.zone-pill[data-zone^="Zone 2"] { background: #fef9c3; color: #854d0e; }
.zone-pill[data-zone="Non-hazardous"] { background: #dcfce7; color: #166534; }

/* Visualization circles */
.zone-viz {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  margin: 0 auto;
}
.zone-viz .ring {
  position: absolute;
  border-radius: 9999px;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: rgba(0,0,0,.55);
  font-weight: 600;
}

/* Step pill (sidebar) */
.step-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .25rem;
  color: #64748b;
}
.step-item.done .step-dot { background: #16a34a; color: white; }
.step-item.active { color: #0f172a; font-weight: 600; }
.step-item.active .step-dot { background: #2c548a; color: white; }
.step-dot {
  width: 1.25rem; height: 1.25rem;
  border-radius: 9999px;
  background: #e2e8f0;
  color: #475569;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700;
  flex-shrink: 0;
}

/* Print: hide non-essential UI */
@media print {
  body { background: white; }
  header, footer, .print\:hidden { display: none !important; }
  main { padding: 0; max-width: 100%; }
  .bg-white { box-shadow: none !important; border: 0 !important; }
}
