.admin-docs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 2px solid #d8dcde;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  max-height: 85vh;
  overflow-y: auto;
  font-size: 13px;
}

.admin-docs__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f8f9f9;
  border-bottom: 1px solid #d8dcde;
  position: sticky;
  top: 0;
  z-index: 1;
}

.admin-docs__header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.admin-docs__content {
  padding: 1rem;
  background: white;
}

.admin-section {
  margin-bottom: 1.5rem;
}

.admin-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: #2f3941;
}

/* Code block with GitHub-style copy button */
.code-wrapper {
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  min-width: 60px;
}

.code-block {
  background: #f8f9f9;
  border: 1px solid #d8dcde;
  border-radius: 4px;
  padding: 2.5rem 0.75rem 0.75rem 0.75rem;
  overflow-x: auto;
  font-family: Monaco, Menlo, 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.5;
  color: #2f3941;
  white-space: pre;
  word-break: normal;
}

/* Parameter table */
.param-table {
  width: 100%;
  border-collapse: collapse;
}

.param-table th,
.param-table td {
  padding: 0.5rem 0.5rem;
  border-bottom: 1px solid #e9ebed;
  text-align: left;
}

.param-table th {
  font-weight: 600;
  background: #f8f9f9;
  color: #2f3941;
}

.param-table td {
  color: #49545c;
}

.param-table code {
  background: #e9ebed;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: Monaco, Menlo, monospace;
  color: #2f3941;
  font-size: 11px;
  font-weight: 500;
}

/* Themes list */
.themes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.theme-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #f8f9f9;
  border-radius: 4px;
  border: 1px solid #e9ebed;
}

.theme-color {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.theme-item code {
  background: transparent;
  padding: 0;
  font-size: 12px;
  color: #2f3941;
  font-family: Monaco, Menlo, monospace;
}

@media (max-width: 768px) {
  .admin-docs {
    max-height: 90vh;
  }

  .themes-list {
    grid-template-columns: 1fr;
  }
}
