/* ======================
   Base styles
   ====================== */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  line-height: 1.65;
  color: #1a1a1a;
  background: #ffffff;
  font-size: 1.05rem;
}

/* ======================
   Header
   ====================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.4rem;
  background: #111;
  color: white;
  position: sticky;
  top: 0;
  z-index: 200;
}

header h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

/* ======================
   Menu button
   ====================== */
#menu-btn {
  background: transparent;
  border: 1px solid #555;
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

#menu-btn:hover {
  background: #333;
}

/* ======================
   Side menu
   ====================== */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85%;          /* important for small phones */
  height: 100%;
  background: #1a1a1a;
  color: white;
  padding: 2rem 1.5rem;
  transform: translateX(100%);   /* fully hidden */
  transition: transform 0.3s ease;
  z-index: 300;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0,0,0,0.25);
}

.side-menu.open {
  transform: translateX(0);      /* slides in */
}

.side-menu a {
  display: block;
  color: #eaeaea;
  text-decoration: none;
  padding: 0.75rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid #333;
}

.side-menu a:hover {
  color: #ffffff;
}

/* ======================
   Main content
   ====================== */
.content {
  max-width: 720px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.content h1 {
  font-size: 1.75rem;
  margin-top: 0;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.content h2 {
  font-size: 1.3rem;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

th, td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}

th {
  background: #f6f6f6;
  font-weight: 600;
}

/* ======================
   Footer
   ====================== */
footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
  margin-top: 4rem;
}

/* ======================
   Responsive adjustments
   ====================== */
@media (max-width: 600px) {
  header {
    padding: 0.75rem 1rem;
  }

  header h1 {
    font-size: 1.05rem;
  }

  .content {
    padding: 0 1.1rem;
  }

  .content h1 {
    font-size: 1.45rem;
  }
}
