/* General page reset and typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f6f8;
}

/* Two-column wrapper */
.container {
  display: flex;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

/* Left sidebar */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  background-color: #1e293b;
  color: #f8fafc;
  padding: 2rem 1.5rem;
}

.sidebar h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #334155;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 0.75rem;
}

.sidebar a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.sidebar a:hover {
  background-color: #334155;
  color: #ffffff;
}

/* Style for the currently active page link */
.sidebar a.active {
  background-color: #3b82f6;
  color: #ffffff;
  font-weight: bold;
}

/* Main content area */
.main-content {
  flex-grow: 1;
  padding: 2.5rem 3rem;
  max-width: 800px;
}

.main-content h1 {
  margin-bottom: 1rem;
  color: #0f172a;
}

.main-content p {
  margin-bottom: 1.2rem;
}

/* Responsive adjustment for phones */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
}