/* Container wrapping box + button */
.server-status-wrapper {
  position: fixed; /* fixed to viewport */
  top: 200px;
  left: 0; /* at left edge */
  display: flex;
  align-items: flex-start;
  z-index: 9999;
  gap: 0; /* no gap to keep button flush */
  transition: top 0.4s ease;
}

/* Status box */
.server-status-box {
  width: 180px;
  background-color: rgba(26, 26, 26, 0.85);
  color: #e0e0e0;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 0 15px 15px 0; /* rounded left corners */
  box-sizing: border-box;
  user-select: none;
  transition: transform 0.4s ease, top 0.4s ease;
}

/* Slide box off to the left when hidden */
.server-status-box.hidden {
  transform: translateX(-100%);
}

/* Vertical text inside toggle */
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  user-select: none;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  letter-spacing: 4px;
  line-height: 1.1;
  white-space: nowrap;
  margin-left: 1px;
  padding: 2px 4px;
  display: none;
  text-align: center;
}

.status-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid #585858;
  margin: 8px 0;
}

/* Pulse animation for status text */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.pulse {
  animation: pulse 1.5s infinite;
}