/* Grundlæggende body styling */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: #f0f0f0;
}

/* Baggrundsbillede, der fylder hele skærmen */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/background.webp') center center / cover no-repeat;
  z-index: -1;
  background-color: #4e54c8; /* fallback-farve */
}

/* Container til statusboksen */
.status-container {
  max-width: 400px;
  margin: 60px auto;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  text-align: center;
}

/* Overskrifter */
.status-container h1 {
  margin-bottom: 20px;
}

.status-container h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 18px;
  text-align: left;
}

/* Lister */
.status-container ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.status-container li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.status-container li div {
  display: flex;
  flex-direction: column;
}

.status-container li small {
  color: #888;
  font-size: 11px;
  margin-top: 2px;
}

/* Status tekst styling */
.status-dot {
  margin-left: 20px;
  font-weight: 700;
  min-width: 100px;
  text-align: right;
  font-size: 1em;
}

/* Farveklasser til status */
.status-dot.online {
  color: #28a745; /* grøn */
}

.status-dot.maintenance {
  color: #ffc107; /* gul */
}

.status-dot.offline {
  color: #dc3545; /* rød */
}

/* Logo (hvis du bruger en) */
.logo {
  width: 60px;
  margin-bottom: 10px;
}

/* Footer */
footer {
  font-size: 12px;
  margin-top: 20px;
  color: #666;
}

/* Admin-knap øverst til højre */
.admin-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #333;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
  z-index: 10;
}

.admin-button:hover {
  background: #555;
}

/* Responsivt for små skærme */
@media (max-width: 480px) {
  .status-container {
    max-width: 90%;
    margin: 40px auto;
    padding: 20px;
  }
}
