/* DANISH PASTEL AESTHETIC */
/* Muted tones, minimalist design, hygge-inspired warmth */

html {
  scroll-behavior: smooth;
}

:root {
  /* Danish Pastel Core - Muted and sophisticated */
  --color-bg: linear-gradient(135deg, #F5F1ED 0%, #E8E4E0 100%);
  --color-bg-solid: #FDFCFB;
  --color-text: #3A3A3A;
  --color-primary: #C9ADA7;
  --color-secondary: #9A8C98;
  --color-accent: #D4A5A5;
  --color-success: #A8DADC;
  --color-dusty-rose: #D4A5A5;
  --color-dusty-mauve: #C9ADA7;
  --color-sage: #A7C4BC;
  --color-powder: #E8DCD3;
  --color-clay: #B8A99A;
  --color-stone: #9D9287;

  /* Adapted existing colors to Danish Pastel */
  --knox-yellow: #E8DCD3;
  --knox-red: #D4A5A5;
  --knox-blue: #A8DADC;
  --knox-sky-purple: #9A8C98;
  --knox-sky-pink: #D4A5A5;
  --knox-mountain-peach: #E8C4B8;
  --cloud-yellow: #F5F1ED;
  --cloud-pink: #EFD9D1;
  --water-blue1: #A8DADC;
  --water-blue2: #B8D8D8;
  --water-blue3: #C8E0DC;
  --flower-green: #A7C4BC;
  --flower-yellow: #E8DCD3;
  --wheel-purple: #C9ADA7;
  --rose-grey: #D4A5A5;
  --silver-lake-blue: #A8DADC;
  --darling-lilac: #C9ADA7;

  /* Effects - Subtle for Danish minimalism */
  --border-width: 1px;
  --shadow: 0 4px 12px rgba(154, 140, 152, 0.12);
  --shadow-hover: 0 6px 20px rgba(154, 140, 152, 0.18);
  --shadow-inset: inset 0 1px 3px rgba(255, 255, 255, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(255, 255, 255, 0.7);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #C9ADA7 0%, #9A8C98 100%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #D4A5A5 0%, #A7C4BC 100%);
}

/* Text Selection */
::selection {
  background: rgba(201, 173, 167, 0.3);
  color: #3A3A3A;
}

::-moz-selection {
  background: rgba(201, 173, 167, 0.3);
  color: #3A3A3A;
}

body {
  font-family: 'Poppins', 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
  background: linear-gradient(135deg, #F5F1ED 0%, #EBE7E3 50%, #F0EBE7 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 173, 167, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(167, 196, 188, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(212, 165, 165, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Full-width wrapper for documentation pages */
.wrapper.docs-wrapper {
  max-width: 100%;
  padding: 0;
}

/* HEADER */
.site-header {
  background: linear-gradient(135deg, #C9ADA7 0%, #9A8C98 100%);
  backdrop-filter: blur(10px);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 25px 0;
  box-shadow: 0 2px 12px rgba(154, 140, 152, 0.12);
  position: relative;
  z-index: 100;
}

.site-title {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.3px;
  display: inline-block;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-title:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.35);
}

.site-nav {
  float: right;
  line-height: 60px;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 12px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* MAIN CONTENT */
.page-content {
  padding: 80px 0;
  min-height: calc(100vh - 400px);
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.75) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 173, 167, 0.2);
  border-radius: 20px;
  padding: 50px 40px;
  margin-bottom: 50px;
  box-shadow: 0 4px 20px rgba(154, 140, 152, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '·';
  position: absolute;
  top: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #E8DCD3 0%, #D4A5A5 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(201, 173, 167, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #9A8C98;
  animation: float 3s ease-in-out infinite;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #3A3A3A;
  background: linear-gradient(135deg, #C9ADA7 0%, #9A8C98 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 400;
  color: #666;
  line-height: 1.5;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--color-text);
}

h1 {
  font-size: 2.8em;
  margin-top: 0;
  color: #2D2D3F;
}

h2 {
  font-size: 2em;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(167, 196, 188, 0.12) 0%, rgba(232, 220, 211, 0.12) 100%);
  border-left: 2px solid #A7C4BC;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 1em;
  color: #3A3A3A;
}

h3 {
  font-size: 1.5em;
  color: #9A8C98;
  border-bottom: 1px solid rgba(154, 140, 152, 0.25);
  padding-bottom: 8px;
  display: inline-block;
}

h4 {
  font-size: 1.2em;
  color: #666;
}

p {
  margin-bottom: 1.3em;
  color: #2D2D3F;
}

/* LINKS */
a {
  color: #9A8C98;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(154, 140, 152, 0.3);
  transition: all 0.2s ease;
}

a:hover {
  color: #C9ADA7;
  border-bottom-color: #C9ADA7;
}

a:focus {
  outline: 2px solid #C9ADA7;
  outline-offset: 2px;
  border-radius: 4px;
}

/* FOCUS STATES */
button:focus,
.button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #C9ADA7;
  outline-offset: 2px;
}

/* CODE */
code {
  padding: 3px 8px;
  background: rgba(154, 140, 152, 0.1);
  color: #9A8C98;
  font-family: 'Space Mono', 'Courier New', monospace;
  font-size: 0.9em;
  border-radius: 6px;
  font-weight: 500;
}

pre {
  padding: 20px;
  background: #3A3A3A;
  border: 1px solid rgba(201, 173, 167, 0.2);
  margin-bottom: 1.5em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow-x: auto;
  border-radius: 12px;
}

pre code {
  background: transparent;
  color: #A8DADC;
  padding: 0;
  border: none;
  font-weight: 400;
  box-shadow: none;
}

/* BLOCKQUOTES */
blockquote {
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-left: 2px solid #D4A5A5;
  border-radius: 12px;
  margin-bottom: 1.5em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  font-size: 1.05em;
  font-style: italic;
  color: #666;
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* LISTS */
ul, ol {
  margin-left: 2em;
  margin-bottom: 1.5em;
}

li {
  margin-bottom: 0.5em;
  padding-left: 10px;
}

ul li::marker {
  content: '●';
  font-size: 1.2em;
  color: #C9ADA7; /* Dusty mauve */
}

ul li:nth-child(4n+1)::marker {
  content: '●'; /* Circle */
  color: #C9ADA7; /* Dusty mauve */
}

ul li:nth-child(4n+2)::marker {
  content: '■'; /* Square */
  color: #D4A5A5; /* Dusty rose */
}

ul li:nth-child(4n+3)::marker {
  content: '▲'; /* Triangle */
  color: #A7C4BC; /* Sage green */
}

ul li:nth-child(4n+4)::marker {
  content: '◆'; /* Diamond */
  color: #9A8C98; /* Soft mauve */
}

/* DEFINITION LISTS */
dl {
  margin-bottom: 1.5em;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 173, 167, 0.15);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

dt {
  font-weight: 700;
  color: #9A8C98;
  margin-top: 0.8em;
  font-size: 1.05em;
}

dt:first-child {
  margin-top: 0;
}

dd {
  margin-left: 2em;
  margin-bottom: 0.5em;
  padding-left: 1em;
  border-left: 2px solid #D4A5A5;
  color: #666;
}

dd:last-child {
  margin-bottom: 0;
}

/* IMAGES */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
  border-radius: 12px;
  border: 1px solid rgba(201, 173, 167, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* Small images (under 400px) - center but don't expand */
img[src*="icons/emoji"] {
  max-width: 100px;
  margin: 1em auto;
  border-radius: 8px;
}

/* POST LIST */
.post-list-section {
  margin-top: 60px;
}

.section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
}

.post-list {
  list-style: none;
  margin: 0;
}

.post-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 173, 167, 0.15);
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-radius: 20px;
}

.post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(154, 140, 152, 0.12);
  border-color: rgba(201, 173, 167, 0.25);
}

.post-date {
  display: inline-block;
  background: linear-gradient(135deg, #E8DCD3 0%, #D4A5A5 100%);
  color: #3A3A3A;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85em;
  margin-bottom: 12px;
  font-family: 'Space Mono', monospace;
}

.post-link {
  font-size: 1.6em;
  border-bottom: none;
  display: block;
  margin-bottom: 10px;
  color: #2D2D3F;
  font-weight: 700;
  transition: all 0.2s ease;
}

.post-link:hover {
  color: #C9ADA7;
  transform: translateX(3px);
}

.post-excerpt {
  color: #666;
  margin-top: 10px;
  line-height: 1.7;
}

/* ARTICLE PAGES */
.page, .post {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 173, 167, 0.15);
  padding: 50px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
}

.page-header, .post-header {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(154, 140, 152, 0.2);
}

.page-title, .post-title {
  margin: 0;
  font-size: 3em;
  color: #3A3A3A;
  background: linear-gradient(135deg, #C9ADA7 0%, #9A8C98 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-meta {
  background: linear-gradient(135deg, #E8DCD3 0%, #D4A5A5 100%);
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: 'Space Mono', monospace;
  font-weight: 600;
  margin-top: 12px;
  color: #3A3A3A;
  font-size: 0.9em;
}

/* FOOTER */
.site-footer {
  background: linear-gradient(135deg, #C9ADA7 0%, #9A8C98 50%, #A7C4BC 100%);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 50px 0 35px;
  margin-top: 80px;
  box-shadow: 0 -2px 12px rgba(154, 140, 152, 0.1);
  position: relative;
}

.footer-content {
  text-align: center;
}

.footer-text {
  font-size: 1em;
  margin-bottom: 15px;
  color: #fff;
  opacity: 0.95;
}

.footer-copy {
  font-family: 'Space Mono', monospace;
  font-weight: 600;
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: #fff;
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
}

/* TABLES */
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 1.5em;
  border: 1px solid rgba(201, 173, 167, 0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.9);
}

th, td {
  border: none;
  border-bottom: 1px solid rgba(201, 173, 167, 0.1);
  padding: 14px 18px;
  text-align: left;
}

th {
  background: linear-gradient(135deg, rgba(167, 196, 188, 0.12) 0%, rgba(232, 220, 211, 0.12) 100%);
  font-weight: 700;
  font-size: 1em;
  color: #3A3A3A;
}

tr:nth-child(even) {
  background: rgba(201, 173, 167, 0.03);
}

tr:last-child td {
  border-bottom: none;
}

/* BUTTONS */
.button, button {
  background: linear-gradient(135deg, #C9ADA7 0%, #9A8C98 100%);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 1em;
  box-shadow: 0 2px 10px rgba(154, 140, 152, 0.2);
  transition: all 0.3s ease;
  font-family: 'Poppins', 'Space Grotesk', sans-serif;
}

.button:hover, button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(154, 140, 152, 0.25);
  background: linear-gradient(135deg, #D4A5A5 0%, #A7C4BC 100%);
}

/* 404 PAGE */
.container {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 173, 167, 0.15);
  border-radius: 30px;
  padding: 70px 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.container h1 {
  font-size: 7em;
  margin: 0;
  background: linear-gradient(135deg, #C9ADA7 0%, #9A8C98 50%, #A7C4BC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container p {
  font-size: 1.3em;
  color: #666;
}

/* RESPONSIVE */
/* Extra large screens - maximize space with padding */
@media (min-width: 1800px) {
  .docs-container {
    padding: 0 120px;
    gap: 80px;
  }

  .docs-article {
    padding: 60px 80px;
  }
}

/* Large screens - good spacing */
@media (min-width: 1600px) and (max-width: 1799px) {
  .docs-container {
    padding: 0 80px;
    gap: 60px;
  }
}

/* Standard large screens */
@media (min-width: 1200px) and (max-width: 1599px) {
  .docs-container {
    padding: 0 60px;
    gap: 50px;
  }
}

/* Medium-large screens */
@media (max-width: 1199px) {
  .docs-container {
    padding: 0 40px;
  }
}

/* Tablet and smaller */
@media (max-width: 1024px) {
  .docs-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 30px;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
  }

  .docs-toc {
    display: none;
  }

  .docs-article {
    padding: 30px 25px;
  }

  .docs-nav-buttons {
    grid-template-columns: 1fr;
  }

  .docs-nav-next {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .wrapper {
    padding: 0 20px;
  }

  .site-nav {
    float: none;
    display: block;
    margin-top: 20px;
    line-height: normal;
  }

  .site-nav a {
    margin-left: 0;
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-section::before {
    width: 45px;
    height: 45px;
    font-size: 20px;
    top: 15px;
    right: 15px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.6em;
  }

  .page, .post {
    padding: 30px 20px;
  }

  .post-title, .page-title {
    font-size: 2em;
  }


  .docs-article {
    padding: 20px 15px;
  }

  .docs-title {
    font-size: 2em;
  }

  .docs-description {
    font-size: 1.1em;
  }

  .container {
    padding: 50px 25px;
    border-radius: 20px;
  }

  .container h1 {
    font-size: 4em;
  }

  .container p {
    font-size: 1.1em;
  }
}

/* ANIMATIONS */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

.hero-section::before {
  animation: float 3s ease-in-out infinite;
}

/* DOCUMENTATION LAYOUT */
.docs-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px;
}

/* Override wrapper max-width for docs pages */
.page-content:has(.docs-container) .wrapper {
  max-width: 100%;
}

/* Fallback for browsers that don't support :has() */
.docs-wrapper {
  max-width: 100%;
}

/* Sidebar */
.docs-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 173, 167, 0.15);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.docs-nav-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(154, 140, 152, 0.2);
}

.docs-nav-header h3 {
  margin: 0;
  font-size: 1.2em;
  color: #9A8C98;
  border: none;
  padding: 0;
}

.docs-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Remove emoji markers from docs navigation */
.docs-nav-list li::marker,
.docs-nav-sublist li::marker {
  content: '';
}

.docs-nav-item {
  margin-bottom: 5px;
  list-style: none;
}

.docs-nav-item a {
  display: block;
  padding: 10px 15px;
  color: var(--color-text);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-bottom: none;
  transition: all 0.2s ease;
  font-weight: 500;
  border-radius: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.docs-nav-item a:hover {
  background: rgba(167, 196, 188, 0.12);
  border-left-color: #A7C4BC;
  color: #3A3A3A;
}

.docs-nav-item.active a {
  background: linear-gradient(135deg, #C9ADA7 0%, #9A8C98 100%);
  color: white;
  border-left-color: #C9ADA7;
}

.docs-nav-sublist {
  list-style: none;
  margin: 5px 0 10px 0;
  padding: 0;
}

.docs-nav-subitem a {
  padding: 8px 15px 8px 28px;
  font-weight: 400;
  font-size: 0.9em;
  border-radius: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.docs-nav-subitem.active a {
  background: rgba(212, 165, 165, 0.15);
  color: #3A3A3A;
}

/* Table of Contents */
.docs-toc {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(154, 140, 152, 0.2);
}

.docs-toc h4 {
  margin: 0 0 15px 0;
  font-size: 1em;
  color: #9A8C98;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Remove emoji markers from TOC */
.toc-list li::marker {
  content: '';
}

.toc-item {
  margin-bottom: 5px;
  list-style: none;
}

.toc-item a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9em;
  color: var(--color-text);
  text-decoration: none;
  border-left: 1px solid transparent;
  border-bottom: none;
  transition: all 0.2s ease;
  border-radius: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.toc-item a:hover {
  background: rgba(167, 196, 188, 0.12);
  border-left-color: #A7C4BC;
}

.toc-subitem a {
  padding-left: 20px;
  font-size: 0.85em;
}

/* Main Documentation Content */
.docs-content {
  min-width: 0;
}

.docs-article {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 173, 167, 0.15);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 173, 167, 0.15);
  border-radius: 50px;
  font-size: 0.9em;
}

.breadcrumb-item {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: none;
}

.breadcrumb-item:hover {
  color: var(--color-primary);
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item.active {
  color: var(--color-primary);
  font-weight: 700;
}

.breadcrumb-separator {
  color: #999;
}

/* Documentation Header */
.docs-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(154, 140, 152, 0.2);
}

.docs-title {
  margin: 0 0 15px 0;
  font-size: 3em;
  background: linear-gradient(135deg, #C9ADA7 0%, #9A8C98 50%, #A7C4BC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.docs-description {
  font-size: 1.3em;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.docs-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.docs-version,
.docs-date {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #E8DCD3 0%, #D4A5A5 100%);
  border-radius: 50px;
  font-size: 0.85em;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  color: var(--color-text);
}

/* Documentation Body */
.docs-body {
  line-height: 1.8;
}

.docs-body h2 {
  margin-top: 2em;
  padding: 12px 18px;
  font-size: 1.8em;
}

.docs-body h3 {
  margin-top: 1.5em;
  font-size: 1.4em;
}

.docs-body h4 {
  margin-top: 1.2em;
  font-size: 1.2em;
  color: var(--color-primary);
}

/* Code in docs */
.docs-body pre {
  position: relative;
  margin: 25px 0;
}

.docs-body code {
  font-size: 0.88em;
}

.docs-body pre code {
  font-size: 0.9em;
  line-height: 1.6;
}

/* Callouts/Notes */
.docs-body .note,
.docs-body .warning,
.docs-body .tip {
  padding: 20px 25px;
  margin: 25px 0;
  border: 1px solid rgba(201, 173, 167, 0.15);
  border-radius: 12px;
  border-left-width: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.docs-body .note {
  background: rgba(168, 218, 220, 0.08);
  border-left-color: #A8DADC;
}

.docs-body .warning {
  background: rgba(212, 165, 165, 0.08);
  border-left-color: #D4A5A5;
}

.docs-body .tip {
  background: rgba(167, 196, 188, 0.08);
  border-left-color: #A7C4BC;
}

.docs-body .note::before,
.docs-body .warning::before,
.docs-body .tip::before {
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  font-family: 'Poppins', 'Space Grotesk', sans-serif;
}

.docs-body .note::before {
  content: "📘 Note";
  color: #A8DADC;
}

.docs-body .warning::before {
  content: "⚠️ Warning";
  color: #D4A5A5;
}

.docs-body .tip::before {
  content: "💡 Tip";
  color: #A7C4BC;
}

/* Documentation Footer */
.docs-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(154, 140, 152, 0.2);
}

.docs-nav-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.docs-nav-btn {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 173, 167, 0.15);
  border-radius: 15px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.docs-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(154, 140, 152, 0.12);
  border-color: rgba(201, 173, 167, 0.25);
}

.docs-nav-prev {
  text-align: left;
}

.docs-nav-next {
  text-align: right;
  grid-column: 2;
}

.docs-nav-label {
  font-size: 0.85em;
  color: #999;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.docs-nav-title {
  font-size: 1.1em;
  color: var(--color-text);
  font-weight: 700;
}

.docs-nav-btn:hover .docs-nav-title {
  color: #9A8C98;
}

/* Edit on GitHub */
.docs-edit {
  text-align: center;
}

.docs-edit-link {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 173, 167, 0.15);
  border-radius: 50px;
  font-size: 0.9em;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.docs-edit-link:hover {
  background: rgba(167, 196, 188, 0.15);
  transform: translateY(-1px);
  border-color: #A7C4BC;
}

