.meta-status-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.meta-status-page main {
  flex: 1 0 auto;
  padding-top: 120px;
  padding-bottom: 32px;
}

.meta-status-shell {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 24px 40px;
}

.meta-status-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(248,252,253,0.95) 100%);
  border: 1px solid rgba(1,70,81,0.12);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(1,70,81,0.08);
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.meta-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.meta-status-header h1 {
  margin: 0 0 6px;
  color: #014651;
}

.meta-status-header p {
  margin: 0;
  color: #4b5563;
}

.meta-status-summary {
  margin-bottom: 22px;
}

.summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(1,70,81,0.12), rgba(0,196,212,0.12));
  color: #014651;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 8px 24px rgba(1,70,81,0.08);
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.16);
}

.indicator-dot--active {
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(16,185,129,0.16); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 7px rgba(16,185,129,0.08); }
}

.meta-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.service-card {
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 22px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,251,255,0.95));
  box-shadow: 0 16px 36px rgba(15,23,42,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.service-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.service-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card__header h2 {
  font-size: 1rem;
  margin: 0;
  color: #014651;
}

.service-status-bubble {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(15,23,42,0.03);
}

.bubble-em-incidente {
  background: linear-gradient(135deg, #ef4444, #fb7185);
}

.bubble-instável {
  background: linear-gradient(135deg, #f59e0b, #fde68a);
}

.bubble-manutenção {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.bubble-resolvido {
  background: linear-gradient(135deg, #10b981, #34d399);
}

.bubble-operacional,
.bubble-monitorado,
.bubble-sem-dados,
.bubble-indisponível {
  background: linear-gradient(135deg, #10b981, #6ee7b7);
}

.service-card__summary {
  margin: 0 0 10px;
  color: #374151;
  min-height: 46px;
}

.service-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 10px;
}

.service-card__events {
  padding-left: 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #4b5563;
}

.service-card__events li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.badge-em-incidente {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #b91c1c;
}

.badge-instável {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}

.badge-manutenção {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
}

.badge-resolvido {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
}

.badge-operacional,
.badge-monitorado,
.badge-sem-dados,
.badge-indisponível {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #166534;
}

.meta-status-log {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(1,70,81,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.meta-status-log h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #014651;
}

.meta-status-log__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-status-log__list li {
  display: grid;
  grid-template-columns: minmax(140px, 1.2fr) 120px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(248,252,253,0.85);
}

.meta-status-log__service {
  font-weight: 700;
  color: #014651;
}

.meta-status-log__state {
  font-size: 0.9rem;
  color: #166534;
  font-weight: 700;
}

.meta-status-log__detail {
  color: #4b5563;
  font-size: 0.9rem;
}

.text-danger {
  color: #b91c1c !important;
}
