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: 60px;
}

.status-grid {
  display: grid;
  gap: 1rem;
}

.status-card {
  padding: 1rem 1.25rem;
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.status-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.status-card-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.api-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.api-tab {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 600;
}

.api-tab-active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.status-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  background: #e2e8f0;
  color: #1e293b;
}

.status-ok {
  background: #dcfce7;
  color: #166534;
}

.status-fail {
  background: #fee2e2;
  color: #991b1b;
}

.status-details {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
  color: #334155;
  word-break: break-word;
}

.status-details > div + div {
  margin-top: 0.35rem;
}

.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;
}
