* {
  box-sizing: border-box;
}

body {
  background: #f4f5fc;
  padding: 0;
  margin: 0;
  font-family: "Rubik", "Roboto", -apple-system, BlinkMacSystemFont, "sans-serif";
  --green: #2e8540;
  --green-30: #4aa564;
  --red: #cd2026;
  --amber: #dc6832;
  --gray: #3e4c59;
  --brand: #123770;
  --brand-35: #356daf;
}

p {
  margin-block: 10px;
}

.links {
  text-decoration: none;
}

.text-titleXS {
  color: var(--gray);
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
}

.uptime-container {
  display: flex;
  justify-content: space-between;
  flex: 1;
}

.text-titleS {
  color: var(--gray);
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
}

.history-container {
  display: flex;
  gap: 4px;
}

.chevron {
  display: inline-block;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  width: 10px;
  height: 10px;
  margin-top: 1px;
  transform: rotate(45deg);
}

.collapse {
  display: none;
}

.history-container > input[type="checkbox"]:checked ~ .chevron-container .chevron {
  transform: rotate(-135deg);
  margin-top: 7px;
}

.chevron-container {
  display: flex;
  gap: 8px;
}

.text-titleM {
  color: var(--gray);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
}

.view-history {
  cursor: pointer;
  text-decoration: underline;
  font-size: 14px;
}

.text-body {
  color: var(--gray);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

.text-link {
  color: var(--brand-35);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
  cursor: pointer;
}

.incident {
  .component-status {
    background: var(--red);
  }

  .card-title {
    background: var(--red);
  }

  .card-body-title span {
    color: var(--red);
  }
}
.ok {
  .component-status {
    background: var(--green);
  }

  .card-title {
    background: var(--green-30);
  }

  .card-body-title span {
    color: var(--green-30);
  }
}
.degraded {
  .component-status {
    background: var(--amber);
  }

  .card-title {
    background: var(--amber);
  }

  .card-body-title span {
    color: var(--amber);
  }
}
.death-star {
  .component-status {
    background: #000;
    position: relative;
    .blur {
      position: absolute;
      filter: blur(6px);
      color: #5ae1b9;
    }
    .text {
      color: #5ae1b9;
    }
  }
}

.page-header {
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brand);
}

.page-main {
  margin: 0 auto;
  padding: 16px;
  max-width: 1080px;
}

.tooltip {
  background-color: #1f2933;
  border-radius: 4;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
  color: white;
  font-size: 14;
  opacity: 0;
  padding: 4px 8px;
  pointer-events: none;
  position: fixed;
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 133ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  z-index: 2000;
}

.components {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
}
.cards {
  padding-top: 32px;
}

.cards > h1 {
  padding-bottom: 16px;
}

.axis-d3 {
  font-size: 14px;
}

.calendar {
  display: none;
  background: white;
  padding: 16px;
  justify-content: center;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
}

.component-container {
  background: white;
  border-top-right-radius: 24px;
  border-top-left-radius: 24px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  display: flex;
  overflow: hidden;
  justify-content: space-between;
}

.component-title-container {
  display: flex;
  align-items: center;
  padding: 24px;
  gap: 8px;
  flex: 1;
}

.component-status {
  min-width: 230px;
  padding-left: calc(230px * 0.3);
  display: flex;
  align-items: center;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.component-status .text-titleS,
.component-status .view-history {
  color: #fff;
}

.text-title-vs {
  font-weight: 400;
}

.cards-container {
  display: flex;
  width: 1086px;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 16px;
}

.card {
  display: flex;
  width: 340px;
  flex-direction: column;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.card-title {
  width: 100%;
  padding: 10px 24px;
}

.card-title .text-titleXS {
  color: #fff;
}

.card-body {
  padding: 12px 24px;
}

.divider {
  margin: 0px;
  border: 1px solid #cbd2d9;
}
