@font-face {
  font-family: 'fx-status-page';
  src: url(/public/font/iconfont.woff) format('woff'), url(/public/font/iconfont.ttf) format('truetype');
}
i.iconfont-fx-status {
  font-family: "fx-status-page" !important;
  font-style: normal;
  font-variant: normal;
  text-align: center;
  text-transform: none;
  vertical-align: baseline;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
i.iconfont-fx-status.icon-history:before {
  content: "\e6f3";
}
i.iconfont-fx-status.icon-arrow-up:before {
  content: "\e616";
}
i.iconfont-fx-status.icon-arrow-down:before {
  content: "\e617";
}
i.iconfont-fx-status.icon-arrow-right:before {
  content: "\e672";
}
i.iconfont-fx-status.icon-arrow-left:before {
  content: "\e673";
}
i.iconfont-fx-status.icon-update-time:before {
  content: "\e6c1";
}
* {
  margin: 0;
  padding: 0;
}
html,
body {
  font-size: 16px;
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
a {
  text-decoration: none;
  outline: none;
}
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
*::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.5);
  border-radius: 6px;
}
*::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
*::-webkit-scrollbar-corner {
  background: transparent;
}
#root {
  min-height: 100vh;
}
.fx-status-footer {
  text-align: center;
  font-size: 14px;
  color: #838892;
  margin-top: 20px;
  padding-bottom: 30px;
}
.fx-status-footer a {
  color: #838892;
  text-decoration: underline;
}

.fx-status-page-wrapper {
  padding: 50px 0;
  background: #FFFFFF;
}
.fx-status-page-wrapper .main-container {
  width: 800px;
  margin: 0 auto;
}
.fx-status-page-wrapper .main-title {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  font-size: 32px;
  color: #141E31;
  gap: 16px;
}
.fx-status-page-wrapper .main-title > img {
  width: 60px;
  height: 60px;
}
@media (max-width: 900px) {
  .fx-status-page-wrapper {
    padding: 50px 24px;
  }
  .fx-status-page-wrapper .main-container {
    width: 100%;
  }
  .fx-status-page-wrapper .main-title {
    font-size: 24px;
  }
}

.server-list-container {
  border-radius: 8px;
  border: 1px solid #E6E8ED;
  padding: 14px 30px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.server-list-container .group-section {
  padding: 20px 0;
  border-bottom: 1px solid #EDEFF3;
}
.server-list-container .group-section:last-child {
  border: none;
}
.server-list-container .group-section .group-title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #525967;
}
.server-list-container .group-section .services-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.server-list-container .service-heatmap-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0;
}
.server-list-container .service-heatmap-section:hover .service-name {
  color: #00B899;
  text-decoration: underline;
}
.server-list-container .service-heatmap-section .service-name {
  font-size: 18px;
  color: #838892;
  cursor: pointer;
}
.server-list-container .service-heatmap-section .status-heatmap-container {
  width: 70%;
  display: flex;
  gap: 4px;
}
.server-list-container .service-heatmap-section .status-heatmap-container .heatmap-cell {
  flex: 1;
  height: 16px;
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.1s ease;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.server-list-container .service-heatmap-section .status-heatmap-container .heatmap-cell.operational {
  background-color: #00B899;
}
.server-list-container .service-heatmap-section .status-heatmap-container .heatmap-cell.operational:hover {
  background-color: #4DCDB8;
}
.server-list-container .service-heatmap-section .status-heatmap-container .heatmap-cell.major-outage {
  background-color: #EB5050;
}
.server-list-container .service-heatmap-section .status-heatmap-container .heatmap-cell.major-outage:hover {
  background-color: #F18585;
}
.server-list-container .service-heatmap-section .status-heatmap-container .heatmap-cell.maintenance {
  background-color: #f0814e;
}
.server-list-container .service-heatmap-section .status-heatmap-container .heatmap-cell.maintenance:hover {
  background-color: #f59e0b;
}
.server-list-container .service-heatmap-section .status-heatmap-container .heatmap-cell.no-data {
  background-color: #e5e7eb;
}
.server-list-container .service-heatmap-section .status-heatmap-container .heatmap-cell.no-data:hover {
  background-color: #d1d5db;
}
@media (max-width: 900px) {
  .server-list-container .service-heatmap-section .service-name {
    font-size: 16px;
  }
  .server-list-container .service-heatmap-section .status-heatmap-container {
    gap: 2px;
  }
  .server-list-container .service-heatmap-section .status-heatmap-container .heatmap-cell {
    flex: 1;
    height: 14px;
  }
}
@media (max-width: 450px) {
  .server-list-container .service-heatmap-section {
    flex-direction: column;
    align-items: start;
  }
  .server-list-container .service-heatmap-section .status-heatmap-container {
    width: 100%;
    gap: 1px;
  }
}
.view-more {
  margin-top: 30px;
}
.view-more .view-more-button {
  background: hsla(240, 6%, 90%, 0.4);
  border: none;
  border-radius: 6px;
  width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  color: #525967;
  font-size: 16px;
  margin: 0 auto;
}
.view-more .view-more-button:hover {
  background: hsla(240, 6%, 90%, 0.7);
}
.view-more .view-more-button .x-icon {
  color: #525967;
  font-weight: 600;
  font-size: 20px;
}
.fx-service-status-popover {
  width: 700px;
}

.react-calendar-heatmap .react-calendar-heatmap-month-labels {
  margin-bottom: 10px;
  transform: translate(30px, -2px);
}
.react-calendar-heatmap .react-calendar-heatmap-weekday-labels {
  transform: translate(2px, 14px);
}
.react-calendar-heatmap .calendar-color-0 {
  fill: #eeeeee;
}
.react-calendar-heatmap .calendar-color-1 {
  fill: #22c55e;
}
.react-calendar-heatmap .calendar-color-2 {
  fill: #facc15;
}
.react-calendar-heatmap .calendar-color-3 {
  fill: #ef4444;
}
.calendar-tooltip {
  min-width: 150px;
  white-space: normal;
  word-break: break-all;
}
.calendar-heatmap-container .service-name {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

.x-icon.spin {
  transform-origin: center;
  animation: x-rotate 1s infinite linear;
}

