/* logs.css — standalone styles for the logs INDEX page (logs.html) */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: rgb(8, 8, 8);
  color: #b9b9b9;
  font-family: "Roboto", Helvetica, "Trebuchet MS", Verdana, sans-serif;
  text-rendering: optimizelegibility;
  line-height: 1.5;
}

a { color: #6ea8fe; text-decoration: none; }
a:hover { color: #9ec5fe; }

/* ── Spinner ── */
#spinner {
  display: none;
  justify-content: center;
  align-items: center;
  height: 80vh;
}

.spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid #333;
  border-top-color: #888;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Top bar ── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background-color: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
  height: 48px;
  gap: 0.5rem;
}

.topbar-title {
  font-size: 0.95em;
  color: #e0e0e0;
  font-weight: 600;
  white-space: nowrap;
}

.topbar-back {
  color: #aaa;
  font-size: 0.9em;
  padding: 0.15rem 0.4rem;
  border: 1px solid #333;
  border-radius: 4px;
  white-space: nowrap;
}

.topbar-back:hover {
  color: #fff;
  border-color: #555;
}

/* ── Logs directory ── */
.logs-index {
  padding: 4rem 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.logs-index h1 {
  font-size: 1.4rem;
  color: #e0e0e0;
  margin-bottom: 0.25rem;
}

.logs-index .subtitle {
  font-size: 0.85em;
  color: #555;
  margin-bottom: 2rem;
}

.month-group {
  margin-bottom: 2rem;
}

.month-label {
  font-size: 0.75em;
  color: #555;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #1e1e1e;
}

.date-grid {
  display: flex;
  flex-direction: column;
}

.date-card {
  display: block;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid #141414;
  font-size: 0.9em;
  color: #b9b9b9;
  transition: background 0.1s, color 0.1s;
}

.date-card:hover {
  background: #111;
  color: #e0e0e0;
}
