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;
}

.navbar-auth {
  align-items: flex-start;
}

.navbar-auth-form {
  margin: 0;
}

.navbar-auth-button {
  border: 0;
}

@media (min-width: 576px) {
  .navbar-auth {
    align-items: center;
  }
}

.status-page {
  max-width: 960px;
  margin: 0 auto;
}

.status-page-header {
  margin-bottom: 1.5rem;
}

.status-page-header h1 {
  margin-bottom: 0.25rem;
  font-size: 2rem;
}

.status-page-header p {
  margin-bottom: 0;
  color: #5b6470;
}

.status-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.status-card {
  border: 1px solid #d7dde5;
  border-radius: 8px;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(33, 37, 41, 0.06);
}

.status-card-header {
  margin-bottom: 1.25rem;
}

.status-card-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #5b6470;
  font-size: 0.875rem;
}

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

.status-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
}

.status-badge-working {
  background: #dff5e7;
  color: #146c43;
}

.status-badge-not-working {
  background: #edf0f3;
  color: #495057;
}

.status-badge-unknown {
  background: #fff3cd;
  color: #664d03;
}

.status-updated-at {
  margin: 0.75rem 0 0;
  color: #5b6470;
  font-size: 0.9rem;
}

.status-toggle-form {
  margin-top: 1.25rem;
}

.status-toggle-button {
  min-width: 9rem;
}

.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;
}
