@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --color-primary: #C5705D;
  --color-secondary: #D0B8A8;
  --color-tertiary: #DFD3C3;
  --color-background: #F8EDE3;
  --color-text: #333333;
  --color-border: #DFD3C3;
}

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
}

.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-areas: "sidebar main";
}

@media (max-width: 768px) {
  .docs-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "main";
  }
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  color: var(--color-primary);
}

.prose a {
  color: var(--color-primary);
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: #B3574A;
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-tertiary);
}

.sidebar {
  background-color: var(--color-background);
  border-right: 1px solid var(--color-border);
}
