body {
  font-family: sans-serif;
  background: #121212;
  color: #eee;
  margin: 0;
  padding: 2rem;
}

h1 {
  color: #90caf9;
  margin-bottom: 1rem;
  text-align: center;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.card {
  background: #1e1e1e;
  border-radius: 0.5rem;
  padding: 1rem;
  flex: 1 1 300px;
  height: auto;
  min-height: 0;
  transition: all 0.3s ease-in-out;
  border: 1px solid #2a2a2a;
}

details {
  transition: all 0.3s ease-in-out;
}

summary {
  font-size: 1.25rem;
  cursor: pointer;
  list-style: none;
  color: #bbdefb;
}

details > summary::after {
  content: '▾';
  float: right;
}

details:not([open]) > summary::after {
  content: '▸';
}

/* Kapanınca içeriği gizle */
.card details:not([open]) ul {
  display: none;
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

li {
  margin: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 🟢🔴⚪ durum noktaları */
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.green {
  background-color: #00e676;
  box-shadow: 0 0 6px #00e676;
}

.dot.red {
  background-color: #ff5252;
  box-shadow: 0 0 6px #ff5252;
}

.dot.gray {
  background-color: #888;
}

/* Expired veya aktif class'ları */
.ok strong {
  color: #a5d6a7;
}

.error strong {
  color: #ef9a9a;
}

footer {
  margin-top: 2rem;
  font-size: small;
  color: gray;
  text-align: center;
}
