body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #0d1117;
  color: #c9d1d9;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

#container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

#header_section {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
}

h1 {
  font-size: 2rem;
  color: #f0f6fc;
  margin-bottom: 5px;
}

.selector-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
}

select {
  width: 100%;
  max-width: 400px;
  padding: 12px;
  font-size: 1rem;
  background-color: #161b22;
  color: white;
  border: 2px solid #30363d;
  border-radius: 8px;
  cursor: pointer;
  margin-right: 10px;
}

button {
  padding: 12px 20px;
  font-size: 1rem;
  background-color: #2ea043;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

button:hover {
  background-color: #2c974b;
}


.status-card {
  background: #161b22;
  border: 2px solid #2ea043;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  width: 100%;
  box-sizing: border-box;
}

.status-card h4 {
  margin-top: 0;
  color: #f0f6fc;
  font-size: 1.2rem;
}


.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

.grid-card {
  background: #161b22;
  border: 2px solid #30363d;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

h3 {
  margin-top: 0;
  border-bottom: 1px solid #30363d;
  padding-bottom: 10px;
  font-size: 1.1rem;
  color: #f0f6fc;
}


.scroll-body {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 400px;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #30363d transparent;
}

.scroll-body::-webkit-scrollbar { width: 6px; }
.scroll-body::-webkit-scrollbar-track { background: transparent; }
.scroll-body::-webkit-scrollbar-thumb {
  background-color: #30363d;
  border-radius: 20px;
}

/* Dark mode table overrides */
.table-dark-custom {
  width: 100%;
  border-collapse: collapse;
}

.table-dark-custom td {
  padding: 8px 0;
  border-bottom: 1px solid #21262d;
  color: #c9d1d9;
}

@media (max-width: 768px) {
  select { max-width: 100%; }
  .selector-wrapper { flex-direction: column; gap: 10px; }
}

.fully-covered {
    color: #ff007f;
    font-weight: bold;
}

