:root {
  --body-background-color: #071423;
  --body-text-color: #e8f3f6;
  --card-background-color: rgba(11, 25, 44, 0.9);
  --card-border-color: rgba(93, 141, 201, 0.18);
  --nav-background-color: rgba(6, 18, 33, 0.88);
  --nav-border-bottom-color: rgba(93, 141, 201, 0.18);
  --nav-current-border-bottom-color: #65b8ff;
  --description-color: #9eb8d6;
  --tag-color: #06151c;
  --tag-up-background-color: #58d3c6;
  --tag-down-background-color: #ff7b7b;
  --tag-degraded-background-color: #f0b35a;
  --change-background-color: #14243f;
  --up-border-left-color: #65b8ff;
  --down-border-left-color: #ff7b7b;
  --degraded-border-left-color: #f0b35a;
}

html,
body {
  background:
    radial-gradient(circle at top left, rgba(73, 139, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 88, 178, 0.2), transparent 24%),
    linear-gradient(180deg, #07111d 0%, #08172a 52%, #050d18 100%);
  color: var(--body-text-color);
}

body {
  font-family: "Manrope", "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 1.25rem;
}

header h1,
header p {
  display: none;
}

header a span,
nav a span,
nav img + span,
header img + span {
  display: none;
}

header img,
header .logo {
  display: block;
  width: min(220px, 58vw);
  max-width: 220px;
  height: auto;
  margin: 0 auto 0.75rem;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
}

nav {
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

nav a:first-child,
nav a[aria-label] {
  min-width: 0;
}

main,
article,
section {
  border-radius: 20px;
}

article,
section {
  margin-top: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(93, 141, 201, 0.16);
  background: linear-gradient(180deg, rgba(10, 23, 40, 0.95) 0%, rgba(8, 18, 33, 0.92) 100%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

article:hover,
section:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  border-color: rgba(101, 184, 255, 0.28);
}

article {
  position: relative;
  overflow: hidden;
}

article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #58d3c6 0%, #2d8db9 100%);
  opacity: 0.9;
}

article > div,
section > div {
  position: relative;
  z-index: 1;
}

section h2:first-child,
article h2:first-child {
  margin-top: 0.25rem;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

h1,
h2,
h3,
nav a {
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  font-family: "Manrope", "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
}

a {
  transition: color 160ms ease, opacity 160ms ease;
}

a:hover {
  opacity: 0.86;
}

img.logo,
nav img,
header img {
  border-radius: 14px;
}

table img[alt=""],
table td img,
table th img {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  margin-right: 0.55rem;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.2rem;
  box-shadow:
    0 0 0 1px rgba(98, 182, 203, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.16);
}

tbody td:first-child a,
tbody th:first-child a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

tbody td:first-child,
tbody th:first-child {
  position: relative;
}

tbody td:first-child::before,
tbody th:first-child::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #58d3c6 0%, #2d8db9 100%);
  box-shadow: 0 0 18px rgba(88, 211, 198, 0.42);
}

article h2,
section h2,
article h3,
section h3 {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #a8c9d4;
}

article small,
section small {
  color: #8fb0bc;
}

article strong,
section strong {
  font-size: 1.7rem;
  line-height: 1.1;
}

[class*="tag"],
[class*="Tag"] {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  font-size: 0.78rem;
}

[class*="tag"]::before,
[class*="Tag"]::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

[class*="up"],
[class*="Up"] {
  background: rgba(52, 211, 153, 0.16);
  color: #86efac;
}

[class*="down"],
[class*="Down"] {
  background: rgba(248, 113, 113, 0.18);
  color: #fca5a5;
}

[class*="degraded"],
[class*="Degraded"] {
  background: rgba(251, 191, 36, 0.18);
  color: #fcd34d;
}

tbody td:nth-child(2),
tbody th:nth-child(2) {
  font-weight: 700;
}

svg,
canvas,
img[src*="response-time"] {
  border-radius: 14px;
}

table {
  border-collapse: separate;
  border-spacing: 0 0.85rem;
}

tbody tr {
  background: rgba(9, 24, 32, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  position: relative;
  overflow: hidden;
}

tbody tr::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, #58d3c6 0%, #2d8db9 100%);
}

tbody tr:first-child td,
tbody tr:first-child th {
  padding-top: 1.2rem;
}

tbody td,
tbody th {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgba(98, 182, 203, 0.12);
  border-bottom: 1px solid rgba(98, 182, 203, 0.12);
}

tbody td:first-child,
tbody th:first-child {
  border-left: 1px solid rgba(98, 182, 203, 0.12);
  border-radius: 16px 0 0 16px;
}

tbody td:last-child,
tbody th:last-child {
  border-right: 1px solid rgba(98, 182, 203, 0.12);
  border-radius: 0 16px 16px 0;
}

tbody tr:nth-child(1) {
  background:
    radial-gradient(circle at top left, rgba(88, 211, 198, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(8, 28, 35, 0.96) 0%, rgba(6, 22, 28, 0.94) 100%);
}

tbody tr:nth-child(1)::after {
  background: linear-gradient(180deg, #58d3c6 0%, #33a6d8 100%);
}

tbody tr:nth-child(1) td:first-child a::after,
tbody tr:nth-child(1) th:first-child a::after {
  content: "Institucional";
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(88, 211, 198, 0.14);
  color: #8de7dd;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr:nth-child(2) {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(10, 24, 42, 0.96) 0%, rgba(8, 19, 32, 0.94) 100%);
}

tbody tr:nth-child(2)::after {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
}

tbody tr:nth-child(2) td:first-child::before,
tbody tr:nth-child(2) th:first-child::before {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  box-shadow: 0 0 18px rgba(96, 165, 250, 0.42);
}

tbody tr:nth-child(2) td:first-child a::after,
tbody tr:nth-child(2) th:first-child a::after {
  content: "Produção";
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.16);
  color: #a9cbff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr:nth-child(3) {
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(38, 24, 9, 0.96) 0%, rgba(28, 18, 7, 0.94) 100%);
}

tbody tr:nth-child(3)::after {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
}

tbody tr:nth-child(3) td:first-child::before,
tbody tr:nth-child(3) th:first-child::before {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.38);
}

tbody tr:nth-child(3) td:first-child a::after,
tbody tr:nth-child(3) th:first-child a::after {
  content: "Homologação";
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.16);
  color: #ffd978;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

footer {
  color: #8aa5b1;
}
