:root {
  --lavender-primary: #9A9CBB;
  --lavender-deep: #174F5B;
  --lavender-bg: #f6f6fb;
  --card-bg: #ffffff;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--lavender-bg);
  color: #1f1f1f;
}

.header {
  padding: 56px 48px 40px;
  background:
    linear-gradient(
      rgba(23, 79, 91, 0.35),
      rgba(23, 79, 91, 0.35)
    ),
    linear-gradient(
      135deg,
      var(--lavender-primary),
      #c6c7dd
    );
}

.header h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
}

.subtitle {
  margin-top: 10px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.header-actions {
  margin-top: 16px;
}

.outage-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: var(--lavender-deep);
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.outage-button:hover {
  background-color: #0f3b44;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

main {
  padding: 40px 48px;
}

#grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  position: relative;
  background: var(--card-bg);
  border-radius: 18px;
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 6px;
  border-radius: 4px;
  background: var(--lavender-primary);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-wrap {
  width: 96px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  max-height: 52px;
  max-width: 100%;
  object-fit: contain;
}

.card h3 {
  margin: 0;
  font-size: 18px;
}

.status {
  margin-top: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.operational {
  color: #2e7d32;
}

.degraded {
  color: #ed6c02;
}

.outage {
  color: #c62828;
}

.desc {
  margin-top: 6px;
  font-size: 14px;
  color: #555;
}
