:root {
  font-family: Arial, Helvetica, sans-serif;
  color-scheme: dark;
  background: #101318;
  color: #f4f6f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, #25344d 0, #101318 45%);
}

.shell {
  width: min(1100px, calc(100% - 32px));
  margin: 40px auto;
}

.card {
  background: rgba(24, 29, 38, 0.96);
  border: 1px solid #364054;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

#loginView {
  max-width: 480px;
  margin: 10vh auto 0;
}

h1,
h2 {
  margin-top: 0;
}

label {
  display: block;
  margin: 18px 0;
  font-weight: 700;
}

input {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid #4c5870;
  border-radius: 8px;
  background: #0f131a;
  color: #fff;
  font-size: 17px;
}

button {
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  background: #f2b544;
  color: #171717;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

button.secondary {
  background: #2d3748;
  color: #fff;
}

.message {
  min-height: 24px;
  color: #ffb3b3;
}

.hidden {
  display: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.grid .card {
  margin: 0 0 20px;
}

.site-row,
.feature-row {
  padding: 14px 0;
  border-bottom: 1px solid #333c4c;
}

.site-row:last-child,
.feature-row:last-child {
  border-bottom: 0;
}

.status-good {
  color: #71df91;
  font-weight: 800;
}

.status-off {
  color: #f3bd65;
  font-weight: 800;
}

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

  .topbar {
    align-items: flex-start;
  }
}

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