body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", sans-serif;
  line-height: 1.5;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 1rem;
}

h1 {
  font-size: 1.8rem;
  color: #1e40af;
}

h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

/* Main content takes up 2/3 of the available space */
.main-content {
  flex: 2;
}

.sidebar {
  width: 27%;
  background-color: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.demo-container {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0 2rem;
}

.code-example {
  background-color: #f3f4f6;
  padding: 1rem;
  border-radius: 6px;
  font-family: monospace;
  overflow-x: auto;
  margin: 1rem 0;
}

footer {
  margin-top: 3rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  border-top: 1px solid #eaeaea;
  padding-top: 1rem;
}

.info-box {
  background-color: #dbeafe;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 0.375rem;
  font-weight: 500;
  margin-top: 1rem;
}

.btn:hover {
  background-color: #1d4ed8;
}

.sample-layouts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.layout-example {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  background-color: #f9fafb;
}

.layout-title {
  font-weight: 500;
  margin-bottom: 10px;
  color: #1e40af;
}

.sidebar-header {
  background-color: #2563eb;
  color: white;
  padding: 10px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  font-weight: 500;
  text-align: center;
  font-size: 14px;
}

.sticky-sidebar {
  position: sticky;
  top: 20px;
}

/* Code block styles */
pre {
  margin: 0;
}

.inline-code {
  background-color: #f3f4f6;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-family: monospace;
}

.notice {
  background-color: #fff8e1;
  border-left: 4px solid #ffc107;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.notice h4 {
  margin-top: 0;
  color: #f57c00;
}
.domain-list {
  background-color: #f5f5f5;
  padding: 12px;
  border-radius: 4px;
  font-family: monospace;
  white-space: pre-wrap;
  margin: 10px 0;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #e5e7eb;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f3f4f6;
}

/* Responsive adjustments - updated for mobile view */
@media (max-width: 768px) {
  .layout-container {
    flex-direction: column;
    gap: 30px;
  }

  .sidebar {
    width: 100%;
  }

  .sample-layouts {
    grid-template-columns: 1fr;
  }
}
