/**
* Shrek Status page
* Page-specific styles for shrek-status.html. Not part of the main.scss build
* (this repo has no scss toolchain wired up) -- kept as its own stylesheet,
* loaded only by shrek-status.html, so it never touches the shared site CSS.
*/

.shrek-status-section .status-lede {
  max-width: 700px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .status-grid {
    grid-template-columns: 1fr;
  }
}

.status-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.08);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 4px 0 2px 0;
}

.status-card .status-target {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-family: monospace;
  word-break: break-all;
  margin-bottom: 20px;
}

/* Traffic light housing */
.traffic-light {
  background-color: #2b2b2b;
  border-radius: 14px;
  padding: 14px 10px;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 18px;
}

.traffic-light .bulb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #3a3a3a;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.traffic-light .bulb.red.lit {
  background-color: #ff3b30;
  box-shadow: 0 0 12px 3px rgba(255, 59, 48, 0.85), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.traffic-light .bulb.yellow.lit {
  background-color: #ffcc00;
  box-shadow: 0 0 12px 3px rgba(255, 204, 0, 0.85), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.traffic-light .bulb.green.lit {
  background-color: #34c759;
  box-shadow: 0 0 12px 3px rgba(52, 199, 89, 0.85), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.status-label {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
}

.status-label.state-online {
  color: #1a7f37;
  background-color: rgba(52, 199, 89, 0.12);
}

.status-label.state-offline {
  color: #c62828;
  background-color: rgba(255, 59, 48, 0.12);
}

.status-label.state-pending {
  color: #a06b00;
  background-color: rgba(255, 204, 0, 0.15);
}

.status-card .status-checked {
  margin-top: 12px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.status-controls {
  text-align: center;
  margin-top: 36px;
}

.status-controls .btn-recheck {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.status-controls .btn-recheck:disabled {
  opacity: 0.6;
  cursor: default;
}

.status-controls .status-note {
  margin-top: 10px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}
