/* ==========================================================================
   Server-Wiki Minimalist Style (Fefe-Style)
   ========================================================================== */

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

body {
    font-family: monospace, monospace;
    font-size: 14px;
    line-height: 1.5;
    padding: 10px;
}

/* --------------------------------------------------------------------------
   THEMES (Light, Dark, Unix)
   -------------------------------------------------------------------------- */

/* Light Theme (Standard) */
body.light {
    background-color: #ffffff;
    color: #000000;
}
body.light a {
    color: #0000ee;
}
body.light a:visited {
    color: #551a8b;
}

/* Dark Theme (Fix: Keine grünen Links, sondern dezentes Grau/Weiß) */
body.dark {
    background-color: #1e1e1e;
    color: #d4d4d4;
}
body.dark a,
body.dark .howto-link,
body.dark a:visited {
    color: #cccccc;
    text-decoration: underline;
}
body.dark a:hover,
body.dark .howto-link:hover {
    color: #ffffff;
}

/* Unix Theme (Klassisches Terminal: Grün auf Schwarz) */
body.unix {
    background-color: #000000;
    color: #00ff00;
}
body.unix a,
body.unix .howto-link,
body.unix a:visited {
    color: #00ff00;
    text-decoration: underline;
}
body.unix a:hover,
body.unix .howto-link:hover {
    background-color: #00ff00;
    color: #000000;
}

/* --------------------------------------------------------------------------
   LAYOUT STRUCTURE
   -------------------------------------------------------------------------- */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid currentColor;
    margin-bottom: 15px;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.container {
    display: flex;
    gap: 20px;
    min-height: calc(100vh - 120px);
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
    border-right: 1px solid currentColor;
    padding-right: 15px;
}

.content {
    flex-grow: 1;
    padding-left: 5px;
}

footer {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid currentColor;
    display: flex;
    gap: 15px;
    font-size: 0.9em;
}

/* --------------------------------------------------------------------------
   ELEMENTS & FORM CONTROLS
   -------------------------------------------------------------------------- */

button.theme-btn, 
a.theme-btn,
input[type="text"],
select,
textarea {
    font-family: monospace;
    font-size: 13px;
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    padding: 3px 8px;
    cursor: pointer;
}

button.theme-btn:hover,
a.theme-btn:hover {
    background: rgba(128, 128, 128, 0.2);
}

pre {
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
}

mark {
    background-color: #ffff00;
    color: #000000;
    font-weight: bold;
    padding: 0 2px;
}