.server-status-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 85px 50px;
  background: #050A20;
  border-radius: 24px;
  border: solid 2px #232B46;
  margin-bottom: 40px;
}

.server-status-header {
  border-bottom: 1px solid #232B46;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.server-status-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.server-status-title h2 {
  color: #fff;
  margin: 0;
  font-size: 24px;
}

.refresh-info {
  color: #ccc;
  font-size: 14px;
}

.refresh-timer {
  color: #4CAF50;
  font-weight: bold;
  margin: 0 5px;
}

.status-section {
  margin-bottom: 40px;
}

.status-section h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 18px;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #232B46;
}

.status-item:last-child {
  border-bottom: none;
}

.status-label {
  color: #fff;
  font-size: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}

.status-online {
  background-color: transparent;
  color: #4CAF50;
}

.status-online .status-dot {
  background-color: #4CAF50;
}

.status-offline {
  background-color: transparent;
  color: #f44336;
}

.status-offline .status-dot {
  background-color: #f44336;
}

.status-unknown {
  background: transparent;
  color: #999;
}

.status-warning {
  background-color: transparent;
  color: #ffc107;
}

.status-warning .status-dot {
  background-color: #ffc107;
}

.cs-services {
  background: #050A20;
  border-radius: 24px;
  margin-bottom: 20px;
}

.regions-section {
  background: #050A20;
  border-radius: 24px;
  margin-bottom: 20px;
}

.regions-table {
  margin-top: 20px;
}

.regions-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 2px solid #232B46;
  font-weight: bold;
  color: #fff;
}

.regions-header .cm-column,
.regions-header .cs-column {
  text-align: center;
  color: #232B46;
  font-weight: normal;
  position: relative;
}

.regions-header .cm-column::after,
.regions-header .cs-column::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.regions-header .cm-column:hover::after,
.regions-header .cs-column:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

.regions-header .cm-column::after {
  content: "Connection Managers";
}

.regions-header .cs-column::after {
  content: "CS Official Servers";
}

.region-group {
  margin-bottom: 5px;
}

.region-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
}

.region-name {
  color: #fff;
  flex: 1;
}

.region-status {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.region-toggle {
  margin-left: 15px;
}

.dropdown-icon {
  display: flex;
  align-items: center;
  width: 30px;
  height: 30px;
}

.dropdown-icon img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.region-servers {
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
  max-height: 500px;
  transition: all 0.3s ease;
}

.region-servers.collapsed {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

.server-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  padding: 8px 12px;
  border-bottom: 1px solid #232B46;
  background: transparent;
}

.server-item:last-child {
  border-bottom: none;
}

.server-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.server-name {
  color: #ccc;
  font-size: 14px;
}

.server-cm,
.server-cs {
  text-align: center;
  font-weight: normal;
  font-size: 14px;
}

.server-cm.status-unknown,
.server-cs.status-unknown {
  background: transparent !important;
  color: #999 !important;
}

.server-loading {
  text-align: center;
  padding: 20px;
  color: #666;
}

.system-status-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator-circle.status-operational {
  background-color: #4CAF50;
  -webkit-animation: pulse-green 2s infinite;
          animation: pulse-green 2s infinite;
}

.status-indicator-circle.status-issues {
  background-color: #f44336;
  -webkit-animation: pulse-red 2s infinite;
          animation: pulse-red 2s infinite;
}

@-webkit-keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

@-webkit-keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
  }
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
  }
}

.status-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 0;
  border-top: none;
}

.footer-text {
  color: #999;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-notice {
  color: #777;
  font-size: 12px;
  margin-bottom: 5px;
}

.footer-trademarks {
  color: #666;
  font-size: 11px;
}

.troubleshooting-section .letter ol {
  text-align: center;
  list-style-position: inside;
  padding-left: 0;
  margin: 0 auto;
  max-width: 600px;
}

.troubleshooting-section .letter ol li {
  text-align: left;
  margin: 0 0 15px 0;
  padding-left: 30px;
  position: relative;
}

.troubleshooting-section .letter ol li::marker {
  position: absolute;
  left: 0;
  text-align: center;
  width: 20px;
}

.status-column {
  text-align: center;
  color: #232B46;
  font-weight: normal;
}

@media (max-width: 768px) {
  .server-status-title {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .region-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .region-toggle {
    margin-left: 0;
    margin-top: 5px;
  }

  .regions-header,
  .server-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .region-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .region-toggle {
    margin-left: 0;
    margin-top: 5px;
  }

  .server-name {
    font-weight: bold;
  }

  .server-cm::before,
  .server-cs::before {
    content: attr(data-label) ": ";
    font-weight: bold;
  }
}

