/* === Grundlayout === */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #000;
  color: #e0b84f;
  display: flex;
}

/* === Sidebar === */
.sidebar {
  width: 220px;
  background: #0a0a0a;
  height: 100vh;
  padding: 20px 10px;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  border-right: 2px solid #e0b84f;
}

.sidebar h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
  color: #fff;
}

.sidebar .accent {
  color: #e0b84f;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav ul li {
  margin: 10px 0;
}

.sidebar nav ul li a {
  color: #e0b84f;
  text-decoration: none;
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.3s;
}

.sidebar nav ul li a.active,
.sidebar nav ul li a:hover {
  background: #e0b84f;
  color: #000;
}

/* Sidebar-Icons im Dashboard ausblenden (Text-only Sidebar) */
.sidebar i,
.sidebar .icon,
.nav-icon {
  display: none !important;
}

/* === Logout Button === */
.logout-btn {
  width: 100%;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
}

/* === Hauptbereich === */
.main {
  margin-left: 240px;
  padding: 20px;
  flex: 1;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #e0b84f;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 15px;
}

button {
  background: #e0b84f;
  border: none;
  color: #000;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #fff1c1;
}

#stats {
  text-align: center;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  border: 1px solid #444;
  padding: 6px 8px;
  text-align: center;
}

th {
  background: #111;
  color: #e0b84f;
}

/* === Engine-Status === */
.engine-status {
  position: fixed;
  top: 15px;
  right: 20px;
  background: #111;
  color: #e0b84f;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
}

.engine-status .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: red;
}

.engine-status.on .dot {
  background: #0f0;
  box-shadow: 0 0 5px #0f0;
}
