html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(37, 99, 235, 0.08), transparent 65%),
    radial-gradient(50% 70% at 0% 100%, rgba(2, 132, 199, 0.08), transparent 70%),
    #f7fafc;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.ops-dashboard {
  margin: 1rem auto 1.5rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.ops-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ops-eyebrow {
  margin: 0;
  color: #2563eb;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.ops-title {
  margin: 0.4rem 0 0.55rem;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  color: #0f172a;
}

.ops-subtitle {
  margin: 0;
  color: #475569;
  max-width: 52ch;
}

.ops-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.ops-pill-ok {
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
}

.ops-pill-warn {
  color: #9f1239;
  background: #ffe4e6;
  border: 1px solid #fecdd3;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin-bottom: 0.95rem;
}

.ops-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  background: #ffffff;
}

.ops-card-label {
  margin: 0;
  color: #475569;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.ops-card-value {
  margin: 0.3rem 0 0.55rem;
  color: #0f172a;
  font-size: 1.28rem;
  font-weight: 700;
}

.ops-card-meta {
  margin: 0.15rem 0;
  color: #334155;
  font-size: 0.93rem;
}

.ops-checks h2 {
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
  color: #0f172a;
}

.ops-check-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.58rem 0;
  border-top: 1px dashed #e2e8f0;
}

.ops-check-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.ops-check {
  min-width: 72px;
  text-align: center;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.ops-check-ok {
  color: #065f46;
  background: #d1fae5;
}

.ops-check-bad {
  color: #9f1239;
  background: #ffe4e6;
}

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

@media (max-width: 767px) {
  .ops-dashboard {
    margin-top: 0.7rem;
    padding: 1rem;
    border-radius: 14px;
  }

  .ops-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .ops-check-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}
