/*:root 
{
    --color-primary: #14b8a6;
    --color-primary-light: #2dd4bf;
    --color-primary-dark: #0d9488;
    --color-bg-dark: #0b0f1a;
    --color-bg-medium: #171e2e;
    --color-bg-light: #1e293b;
    --color-text-light: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-border: #334155;
    --color-accent: #8b5cf6;
    --color-accent-light: #a78bfa;
    --color-warning: #f59e0b;
}*/
/*[data-theme="darke"]*/
:root
{
    --color-primary: #14b8a6;
    --color-primary-light: #2dd4bf;
    --color-primary-dark: #0d9488;
    --color-bg-dark: #0b0f1a;
    --color-bg-medium: #171e2e;
    --color-bg-light: #1e293b;
    --color-text-light: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-border: #435369;
    --color-accent: #bb32b0;
    --color-accent-light: #d859d8;
    --color-warning: #f59e0b;

    --color-config-bg: #303030;
    --color-bg-command: #454545;
    --color-command: #d859d8;

    --color-table-header: #1e293b;
    --color-table-odd: #2c3b52;
    --color-table-even: #172235;
}

body {
    font-family: inter, sans-serif;
    line-height: 1.5rem;;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    overflow-x: visible;
}

.config-preview
{
    background: var(--color-config-bg);
    color: var(--color-text-light);
    padding: 0.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

b {
    color:var(--color-accent-light);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: 600;
    line-height: 1.25;
}

h1 {
    font-size: 2.5rem;
    margin-top: 0;
}

h2 {
    font-size: 1.8rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

h3 {font-size: 1.4rem;}

h4 {font-size: 1.2rem;}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

li {
    font-size: 1rem;
    margin-bottom: 0;
    margin-left: 1.5rem;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* IMAGES */
img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--color-border);
    transition: transform 0.2s;
}

img:hover {
    transform: scale(1.01);
}

/* Command Preview */
.command-preview {
    background: var(--color-bg-command);
    color: var(--color-command);
    padding: 0.2rem;
    border-radius: 4px;
    width: fit-content;
    overflow-x: auto;
    line-height: 1.4;

}

.center {
    text-align: center;
}

/* TABLEAU */
table {
    table-layout: fixed;
    width: 90%;
    margin: 10px auto;
    border-collapse: collapse;
    border: 2px solid var(--color-border);
    border-top: 2px solid var(--color-border);

}

th, td {
    border-left: 2px solid var(--color-border);
    border-bottom: 2px solid var(--color-border);
}

tr:nth-child(even) 
{
    background-color: var(--color-table-even);
}

tr:nth-child(odd) 
{
    background-color: var(--color-table-odd);
}

tr:first-child
{
    background-color: var(--color-table-header);
}

.line {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

hr {
    border: none;
    padding-bottom: 0.05rem;
    max-height: 2px;
    background-color: var(--color-border);
    margin: 2rem 0;
}