:root {
   --primary: #4a90e2;
   --bg: #f4f6f8;
   --text: #333;
   --radius: 12px;
   --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
   box-sizing: border-box;
}
body {
   margin: 0;
   font-family: Inter, Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
   background: #badfff7d;
   color: var(--text);
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   line-height: 1.45;
}

.container {
   max-width: 1000px;
   margin: 28px auto;
   padding: 20px;
}

/* Header */
.site-header {
   background: var(--primary);
   color: white;
   padding: 20px;
}
.site-header h1 {
   margin: 0 0 6px 0;
   font-size: 1.6rem;
}
.site-header .muted {
   color: var(--muted);
   margin: 0;
}

/* TOC */
.toc {
   background: rgba(255, 255, 255, 0.02);
   border-radius: 10px;
   padding: 14px;
   margin-bottom: 18px;
}
.toc h2 {
   margin: 0 0 8px 0;
   font-size: 1.1rem;
}
.toc ol {
   margin: 0;
   padding-left: 20px;
   color: var(--muted);
}
.toc a {
   color: var(--accent);
   text-decoration: none;
}
.toc a:hover {
   text-decoration: underline;
}

/* Sections */
.doc-section {
   background: #4a91e269;
   border-radius: 4px;
   padding: 18px;
   margin-bottom: 20px;
   box-shadow: 10px 10px 2px rgba(1, 79, 15, 0.981);
}
.doc-section h2 {
   margin-top: 0;
   color: var(--text);
}
.small {
   font-size: 0.85rem;
}
.muted {
   color: var(--muted);
}

.links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    height: 26px;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}



.links img {
    transition: transform 0.2s ease;
}

.links a {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}
/* Click effect */
.links:active {
    transform: scale(0.97);
}
/* Code styling */
pre {
   background: #071122;
   padding: 12px;
   overflow: auto;
   border-radius: 8px;
   margin: 10px 0;
}
.code-block {
   font-family: var(--mono);
   font-size: 0.92rem;
   color: #cfe8ff;
   white-space: pre-wrap;
}

/* Table */
.specs {
   width: 100%;
   border-collapse: collapse;
   margin-top: 10px;
}
.specs th,
.specs td {
   text-align: left;
   padding: 8px;
   border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.flex{
   display: flex;
   justify-content: space-between;
}

footer {
   text-align: center;
   padding: 100px;
   background: #4a90e2;
   font-size: 14px;
   height: 80px;
   display: flex;
   color: white !important;
   justify-content: center;
   align-items: center
}
.specs thead th {
   color: var(--muted);
   font-weight: 600;
}

/* Footer */
.doc-footer {
   text-align: center;
   padding: 12px 0;
   margin-top: 8px;
   color: var(--muted);
}

/* Responsive */
@media (min-width: 900px) {
   .container {
      padding: 28px;
   }
}
@media (max-width: 720px) {
   .toc ol {
      padding-left: 14px;
      font-size: 0.95rem;
   }
   .site-header h1 {
      font-size: 1.25rem;
   }
}


ol li a {
    color: #0056d2;
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

ol li a:hover {
    margin-top: -2px;
    border-bottom: 3px solid #0058d2c9; /* blue underline on hover */
}