
/* Ubuntu-ish Colour theme
   Dark brown - #332532
   Light brown - #644D52
   Peach - #F77A52
   sunshine - #FF974F
   grey blue - #A49A87
 */

 /* alternative theme including white
  offwhite - #f8f8f8
  cream - #f2e5bd
  apple - #b9bf83
  pear - #a69f7c
  chocolate - #8c6865
  black - #000000
 */

 /* lavender theme including white
  purple - #6765AD
  blue - #8FB0FF
  offwhite - #F8F8F8
  lightgreen - #89B28A
  darkgreen - #577043
  nearly black -#292929
 */

 /* scheme picked from image
 light blue 199 217 236 #C7D9EC
 navy blue  75 87 134  #4b5786
 desaturated blue 86 129 178 #96b1cf
 mid blue 144 189 230 #90bde6
 really dark blue 23, 55, 94 #17375e
 orange 249 166 74 #f9a64a
 dark brown 162 83 55 #a25337
nearly black #292929
 */

:root {
    --white: #f8f8f8;
    --violet: #f2f2ff;
    --blueish: #e0f0ff;
    --realwhite: #fcfcfc;

    --green: green;
    --blue: #559eff;
    --dodgerblue: dodgerblue;
    --orange: orange;
    --red: red;
    --black: black;

    --verywhite: #d4d4d4;
    --lightblack: #222222;

    --paleblue: #96b1cf;
    --darkpaleblue: #768190;

    --grey: gray;
    --verydarkgrey: #393939;
    --darkgrey: #dddddd;
    --lightgrey: #eaeaea;
    --almostgrey: #bbbbbb;
    --quasiblack: #292929;

    --almostwhite: #eeeeee;
    --bluetext: #17375e;
    --greytext: #4b5786;

    --almostblue: #879ced;

    --yellow: yellow;
    --lightyellow: #f2e9a2;
    --darkyellow: #bf9b6b;
    --lighteryellow: #e8e4c8;
    --darkeryellow: #c7a44c;

    --mainImage: url("/img/misc/background.png");
    --darkImage: url("/img/misc/background-dark.png");

    --chartjs-default-grid: rgba(0,0,0,0.1);
    --chartjs-dark-grid: rgba(140,140,140,0.2);
    --chartjs-default-text: #666666;
    --chartjs-dark-text: var(--darkgrey);
}

.light-theme {
    --normal: var(--black);
    --background: var(--white);
    --tralternatebase: var(--realwhite);
    --tralternate: var(--violet);
    --hover: var(--blueish);
    --headingtext: var(--bluetext);
    --activetext: var(--greytext);
    --navbackground: var(--paleblue);
    --selectedhover: var(--almostblue);
    --headerbackground: var(--lightgrey);
    --normaltext: var(--quasiblack);
    --autocomplete: var(--verywhite);

    --asuccess: var(--green);
    --anormal: var(--blue);
    --ainfo: var(--dodgerblue);
    --awarning: var(--orange);
    --adanger: var(--red);
    --adefault: var(--black);

    --aliasing: var(--lightyellow);
    --antialiasing: var(--lighteryellow);
    --slider: var(--yellow);
    --backgroundImage: var(--mainImage);
    --chartjs-grid: var(--chartjs-default-grid);
    --chartjs-text: var(--chartjs-default-text);

    --bg-active: var(--headerbackground);
    --bg-example: var(--headerbackground);
    --bg-hover: var(--hover);

    --text-tag: var(--normal);
    --text-primary: var(--headingtext);
    --text-secondary: var(--normaltext);

    --border-example: var(--ainfo);

    --syntax-text: var(--ainfo);
    --syntax-border-color: var(--navbackground);
}

.dark-theme {
    --normal: var(--darkgrey);
    --background: var(--lightblack);
    --tralternatebase: var(--verydarkgrey);
    --tralternate: var(--grey);
    --hover: var(--almostgrey);
    --headingtext: var(--white);
    --activetext: var(--almostwhite);
    --navbackground: var(--darkpaleblue);
    --selectedhover: var(--almostblue);
    --headerbackground: var(--quasiblack);
    --normaltext: var(--white);
    --autocomplete: var(--verywhite);

    --asuccess: var(--green);
    --anormal: var(--blueish);
    --ainfo: var(--violet);
    --awarning: var(--orange);
    --adanger: var(--red);
    --adefault: var(--white);

    --aliasing: var(--darkyellow);
    --antialiasing: var(--darkeryellow);
    --slider: var(--navbackground);
    --backgroundImage: var(--darkImage);
    --chartjs-grid: var(--chartjs-dark-grid);
    --chartjs-text: var(--chartjs-dark-text);

    --bg-active: var(--headerbackground);
    --bg-example: var(--headerbackground);
    --bg-hover: var(--hover);

    --text-tag: var(--normal);
    --text-primary: var(--headingtext);
    --text-secondary: var(--normaltext);

    --border-example: var(--awarning);

    --syntax-text: var(--awarning);
    --syntax-border-color: var(--navbackground);
}

/* reset all margins and padding*/
 * {
    margin: 0;
    padding: 0;
    font-family: 'Rosario', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--normal);
}

table {
    border-collapse: collapse;
    margin: 0 10px 0 10px;
}

th, td {
    text-align: left;
    padding: 4px;
}

tr:nth-child(even) {
    background-color: var(--tralternate);
}

tr:nth-child(odd) {
    background-color: var(--tralternatebase);
}

tr:hover {
    background-color: var(--hover);
}

tr:nth-child(even).no-hover:hover{
    background-color: var(--tralternate);
}

tr:nth-child(odd).no-hover:hover{
    background-color: var(--background);
}

th.wrap {
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 360px;
}

table.searchResults {
    float: left;
    min-width:360px;
}

table.setValue {
    border-collapse: collapse;
    table-layout: fixed;
    width: 95%;
}

tr.setValue {
    background-color: rgba(0, 0, 0, 0.0) !important;
}

td.setValue {
    width: 65%;
    white-space: nowrap;
}

td.fullAnchor a {
    display: block;
    width: 100%;
}

td img {
    vertical-align: top;
}


tr.setValue:hover {
    background-color: rgba(0, 0, 0, 0.0) !important;
}

h1 {
    color: var(--headingtext);
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 10px
}

p {
    color: var(--normaltext);
    margin-left: 20px;
    margin-bottom: 20px;
}

.buildcart {
    float: left;
}

.btn {
    border: none;
    background-color: inherit;
    padding: 4px 8px;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
}

.btn:hover {
    text-decoration: underline;
}

.success {color: var(--asuccess);}
.normal {color: var(--anormal);}
.info {color: var(--ainfo);}
.warning {color: var(--awarning);}
.danger {color: var(--adanger);}
.default {color: var(--adefault);}

a {
    color: var(--ainfo);
    text-decoration: none;
}

a.pagination {
    color: var(--normal);
    text-decoration: none;
    display: inline;
}


/*********** TOP NAVBAR ***********/

/* Make the bar itself fixed; let the list grow in height */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--navbackground);
}

/* FLEX + WRAP */
nav ul {
    display: flex;
    flex-wrap: wrap;          /* allow items to flow to the next line */
    align-items: center;      /* vertical centering within each row */
    margin: 0;
    padding: 0;
    list-style: none;
    min-height: 48px;         /* at least one row tall */
}

/* Each item is a fixed-height chip that can wrap as a unit */
nav li {
    display: flex;
    align-items: center;
    height: 48px;
    flex: 0 0 auto;           /* size to content, don’t stretch */
    border-right: 1px solid var(--greytext);
    background: var(--navbackground);
}

nav li.optional {
    border-right: none;
}

/* push the last items to the right, preserving order */
nav li:nth-last-child(2) {
    margin-left: auto;
}

nav li:last-child {
    padding: 0 16px;
    border-right: none;
}

/* links fill the li height; text stays one line */
nav li a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    text-decoration: none;
    color: var(--activetext);
}

nav li a:hover {
    color: var(--background);
}

/* keep label on one line */
nav li a span {
    white-space: nowrap;
}

nav li:first-child a, nav li:nth-child(2) a {
    padding: 0;
}

/* images = 48px tall, no extra gaps */
nav li img {
    height: 48px;
    width: auto;
    display: block;
}

/*********** END OF TOP NAVBAR ***********/


.index ol {
    padding: 14px 16px;
}

.index li {
    float: left;
    padding: 4px 8px;
    margin: 4px 20px;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: var(--activetext);
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  height: 48px;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--headerbackground);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 99;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: var(--activetext);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.nav a:hover, .dropdown:hover .dropbtn {
  background-color: var(--tralternatebase);
  color: var(--activetext);
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

.active {
    background-color: var(--background);
    color: var(--activetext);
}
a.active:hover{
    color: var(--activetext);
}
a.beta {
    color: var(--background);
    font-weight: bold;
    pointer-events: none;
}

.selected {
    background-color: var(--activetext);
    color: var(--background);
}
a.selected:hover{
    color: var(--selectedhover);
}

#container{width: 900px;}
#left{float: left; width: 215px;}
#right{float: right; width: 215px;}
#center{margin: 0 auto; width: 215px;}

.bg{
    height: 480px;
    background-image: var(--backgroundImage);
    background-repeat: no-repeat;
    background-color: var(--background);
}
.mainbody{
    padding-top: 75px;
}

.indent{
    margin-left: 30px;
}

.footer {
    color: var(--activetext);
    margin-left: 20px;
}

/* from https://www.w3schools.com/w3css/4/w3.css */
.w3-input{
    padding: 8px;
    display: block;
    border: none;
    border-bottom: 1px solid #ccc;
    width: 100%;
}
.search-input{
    font-size: 16px;
}

.w3-border-0{
    border: 0!important
}

.w3-border{
    border: 1px solid #ccc!important
}
.w3-round-small{
    border-radius: 2px
}
.w3-round,
.w3-round-medium{
    border-radius: 4px
}
.w3-round-large{
    border-radius: 8px
}
.w3-round-xlarge{
    border-radius: 16px
}
.w3-round-xxlarge{
    border-radius: 32px
}

.w3-animate-input{
    transition:width 0.4s ease-in-out
}
.w3-animate-input:focus{
    width: 100%!important
}
@media (prefers-reduced-motion: reduce) { .w3-animate-input {
        transition: none;
    }
}

.search {
    padding: 8px 8px;
    display: inline-block;
    width: 354px;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    z-index: 2;
}

th.stickyCategory {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
    background-color: var(--background);
}

th.stickyHeader {
    position: -webkit-sticky;
    position: sticky;
    top: 84px;
    background-color: var(--headerbackground);
    height: 40px;
    z-index: 1;
}

th.stickyHeaderTiny {
    position: -webkit-sticky;
    position: sticky;
    top: 72px;
    background-color: var(--headerbackground);
    z-index: 1;
}

th.stickyHeaderShort {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
    background-color: var(--headerbackground);
    z-index: 1;
}

th a {
    color: var(--normal);
    text-decoration: none;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;

    top: 50%;
    -ms-transform: translateY(10%);
    transform: translateY(10%);
}

.autocomplete {
    /* The container must be positioned relative */
    position: relative;
    display: inline-block;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid var(--verywhite);
    border-bottom: none;
    border-top: none;
    z-index: 99;

    /* Position the autocomplete items to be the same width as the container */
    top: 100%;
    left: 0;
    right: 0;

    /* Adjust the offsets brought by the container element */
    margin-left: 8px;
    margin-top: -8px;
    margin-right: -10px;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: var(--almostwhite);
    border-bottom: 1px solid var(--verywhite);
    color: black;
}
/* when hovering an item */
.autocomplete-items div:hover {
    background-color: var(--hover);
}
/* when navigating through the items using the arrow keys */
.autocomplete-active {
    background-color: var(--navbackground) !important;
    color: #ffffff;
}

pre {
  display: inline-block;
  font-family: monospace;
  white-space: pre;
}

h3.storename {
    color: var(--ainfo);
    display: inline;
}
.anchor{
    display: block;
    position: relative;
    top: -48px;
    visibility: hidden;
}

span {
    line-height: 1;
}

span.emoji {
    font-size: 24px;
    text-align: center;
    vertical-align: middle;
    line-height: 1;
}

/* Hide short text by default */
.short-text {
    display: none;
}

/* For small resolutions, hide full text and show short text */
@media (max-width: 1550px) {
    .short-text {
        display: inline-block;
    }
    .full-text {
        display: none;
    }
}

table.tiers {
    margin: 10px;
}

tr.tiers{
    background-color: #1a1a1a;
    vertical-align: middle;
}

td.tiers {
    min-width: 50px;
    text-align: center;
    font-size: 24px;
    margin: auto;
}

.input-css {
    display: inline;
    border: 1px solid #aaa;
    border-radius: .2em;
    color: var(--headingtext);
    background-color: var(--tralternate);
    font-size: 16px;
    font-weight: 700;
    padding: .6em 0em .5em 1em;
}

.select-css {
    display: inline;
    font-size: 16px;
    font-weight: 700;
    color: var(--headingtext);
    line-height: 1.3;
    padding: .6em 0em .5em 0em;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #aaa;
    border-radius: .2em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--tralternate);
}
.select-css::-ms-expand {
    display: none;
}
.select-css:hover {
    border-color: #888;
}
.select-css:focus {
    border-color: #aaa;
    color: var(--headingtext);

    outline: none;
}

.select-css option {
    font-weight: normal;
}

.switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.switch div {
    position: relative;
    display: block;
    background: var(--yellow);
    width: 18px;
    border-radius: 50px;
    padding: 0 0;
    box-sizing: border-box;
    cursor: pointer;
}

.fa-adjust {
    transform: rotate(180deg);
}

.switch input {
    display: none;
}

.slider {
    background-color: var(--slider);
    transition: 0.4s;
    border-radius: 34px;
    height: 13px;
    width: 13px;
    display: inline-block;
    position: relative;
}

input:checked + .slider {
    transform: translateX(6px);
}

.arrow {
  border: solid var(--normal);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 30%;
  padding: 10px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is too small, make the columns stack on
 * top of each other instead of next to each other */
@media screen and (max-width: 1300px) {
  .column {
    width: 90%;
  }
}

.h6inline {
  display: inline;
  font-size: .67em;
  margin-top: 2.33em;
  margin-bottom: 2.33em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

.small-hidden-text {
  color: transparent;
  font-size: 14px;
  position: absolute;
  padding: .65% 0 0 1%;
  letter-spacing: 0px;
  pointer-events: none;
  width: 146px; /* Size of the small img */
  white-space: normal;
}

div.stores-select {
    width: 180px;
    height: 242px;
    text-align: left;
    border: 1px solid var(--normal);
    padding: 5px;
    resize: both;
    overflow: auto;
}

img.hoverImage {
    position: absolute;
    z-index: 99;
    width: auto;
    max-width: 640px;
    max-height: 360px;
}

@font-face {
    font-family: 'phyrexian';
    src: url('phyrexian.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:lang(phi) {
    font-family: 'phyrexian', sans-serif;
}

@font-face {
    font-family: 'quenya';
    src: url('quenya.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:lang(qya) {
    font-family: 'quenya', sans-serif;
}

.syntax-container {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 75vw;
    background: var(--background);
    border: 0.1rem solid var(--syntax-border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
    margin-left: 0.4rem;
}

.syntax-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--headerbackground);
    border-bottom: 1px solid var(--syntax-border-color);
}

.syntax-header h2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.syntax-header h2::before {
    content: '📖';
}

.syntax-body {
    display: grid;
    grid-template-columns: 15% 2fr;
}

/* Sidebar */
.syntax-sidebar {
    border-right: 1px solid var(--syntax-border-color);
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem;
    font-size: medium;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 0.3rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    width: 100%;
    font-family: inherit;
}

.sidebar-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.sidebar-item.active {
    background: var(--bg-active);
    color: var(--text-primary);
    font-weight: 500;
}

.sidebar-item .icon {
    font-size: 0.8rem;
    width: 1rem;
    text-align: center;
}

/* Content Panel */
.syntax-content {
    padding: 1rem;
    overflow-y: auto;
}

.syntax-section {
    display: none;
}

.syntax-section.active {
    display: block;
}

.syntax-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tag);
}

.syntax-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: 3rem;
    align-items: baseline;
}

.syntax-info {
    flex: 1 1 0%;
    min-width: 0;
}

.syntax-info p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.syntax-info p:last-child {
    margin-bottom: 0;
}

/* Inline Code */
.syntax-container code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    background: var(--bg-active);
    color: var(--syntax-text);
    padding: 0.2rem;
    border-radius: 0.3rem;
    font-weight: 500;
}

/* Example Cards - Right Column */
.syntax-examples {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.example-card {
    background: var(--bg-example);
    border-left: 0.2rem solid var(--border-example);
    border-radius: 0 0.2rem 0.2rem 0;
    padding: 1rem;
}

.example-query {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-tag);
    margin-bottom: 4px;
}

.example-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Subsections */
.syntax-subsection {
    margin-top: 16px;
}

.syntax-subsection h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* Tag List */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.syntax-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    background: var(--bg-active);
    color: var(--syntax-text);
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
}

/* Syntax Table */
.syntax-table {
    width: 85%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.syntax-table th,
.syntax-table td {
    text-align: left;
    padding: 0.7rem;
}

.syntax-table th {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-active);
    font-size: 1rem;
}

.syntax-table td:first-child {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    color: var(--syntax-text);
    white-space: nowrap;
}

.strong {
    font-weight: 600;
    color: var(--orange);
}

@media (max-width: 1400px) {
    .syntax-examples {
        flex: 0 0 25% !important;
    }
}

/* Medium screens */
@media (max-width: 1100px) {
    .syntax-container {
        width: 90vw !important;
    }

    .syntax-examples {
        flex: 0 0 30% !important;
    }

    .syntax-grid {
        gap: 2rem !important;
    }
}

@media (max-width: 900px) {
    .syntax-container {
        width: 95vw !important;
    }

    .syntax-grid {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .syntax-info {
        flex: 1 1 auto !important;
        width: 100% !important;
    }

    .syntax-examples {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .syntax-container {
        width: 90vw !important;
    }

    .syntax-body {
        display: flex !important;
        flex-direction: column !important;
        max-height: 60vh !important;
    }

    .syntax-sidebar {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        border-right: none !important;
        border-bottom: 1px solid var(--syntax-border-color) !important;
        padding: 0.5rem !important;
        gap: 0.25rem !important;
        max-height: none !important;
        overflow-x: auto !important;
    }

    .sidebar-item {
        padding: 0.4rem 0.6rem !important;
        flex: 0 0 auto !important;
        font-size: 0.85rem !important;
    }

    .syntax-content {
        padding: 1rem !important;
        max-height: none !important;
    }
}

@media (max-width: 550px) {
    .syntax-header {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .syntax-header h2 {
        font-size: 0.9rem !important;
    }

    .sidebar-item {
        padding: 0.5rem !important;
    }

    .sidebar-item span:not(.icon) {
        display: none !important;
    }

    .sidebar-item .icon {
        width: auto !important;
        font-size: 1rem !important;
    }

    .syntax-section h3 {
        font-size: 0.9rem !important;
    }

    .syntax-table {
        width: 100% !important;
        font-size: 0.85rem !important;
    }

    .syntax-table th,
    .syntax-table td {
        padding: 0.5rem !important;
    }

    .example-card {
        padding: 0.75rem !important;
    }

    .example-query {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 400px) {
    .syntax-container {
        width: 100vw !important;
        margin-left: 0 !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    .syntax-content {
        padding: 0.75rem !important;
    }

    .tag-list {
        gap: 0.4rem !important;
    }

    .syntax-tag {
        font-size: 0.7rem !important;
        padding: 0.15rem 0.4rem !important;
    }
}
