/* IsItDown — project-specific styles (loaded after common/styles/base.css) */

:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #dbeafe;
  --accent: #22c55e;
}

.hero {
  padding: 0.75rem 0 1.5rem;
}

.tool {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
}

.tool #site-input {
  font-size: 1.1rem;
  padding: 0.85rem 1rem;
}

.form-error {
  color: var(--bad);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0;
}

.form-error[hidden] {
  display: none;
}

.quick-checks {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}

.quick-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 0.6rem;
}

/* ---------------- per-domain status page ---------------- */

.status-panel {
  max-width: 780px;
}

.status-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.status-monogram {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.status-host {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  word-break: break-all;
}

.status-sub {
  margin: 0.15rem 0 0;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.status-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cell-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
}

.cell-value {
  font-weight: 600;
  font-size: 0.98rem;
}

.verdict {
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.verdict[hidden] {
  display: none;
}

.verdict .dot {
  transform: translateY(1px);
}

.verdict-checking {
  background: var(--brand-soft);
  color: var(--ink);
}

.chart {
  margin: 0.5rem 0 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.history-table th,
.history-table td {
  text-align: left;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid var(--line);
}

.history-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
}

.history-table .is-up {
  color: var(--ok);
  font-weight: 700;
}

.history-table .is-down {
  color: var(--bad);
  font-weight: 700;
}

@media (max-width: 700px) {
  .status-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-host {
    font-size: 1.15rem;
  }
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.2rem 1rem;
  margin-bottom: 0.6rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.6rem 0;
  color: var(--ink);
}

.faq details p {
  margin: 0 0 0.8rem;
  color: var(--ink-soft);
}
