/* ==========================================================================
   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;
}

/* --------------------------------------------------------------------------
   GLOBAL LINK BEHAVIOR
   Unterstreichungen ausnahmslos überall deaktivieren.
   -------------------------------------------------------------------------- */

a, 
a:visited, 
a:hover, 
a:active, 
a:focus {
    text-decoration: none !important;
}

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

/* Light Theme: Schwarz auf Weiß, blaue/violette Links ohne Unterstreichung */
body.light {
    background-color: #ffffff;
    color: #000000;
}

body.light a {
    color: #0000ee;
}

body.light a:visited {
    color: #551a8b;
}

body.light .howto-link {
    color: #000000;
}

body.light .howto-link:hover {
    color: #0000ee;
}

/* Dark Theme: Hellgrau auf Dunkelgrau */
body.dark {
    background-color: #1e1e1e;
    color: #d4d4d4;
}

body.dark a,
body.dark a:visited {
    color: #cccccc;
}

body.dark a:hover {
    color: #ffffff;
}

body.dark .howto-link {
    color: #d4d4d4;
}

body.dark .howto-link:hover {
    color: #ffffff;
}

/* Unix Theme: Grün auf Schwarz mit Invertierung beim Hover */
body.unix {
    background-color: #000000;
    color: #00ff00;
}

body.unix a,
body.unix a:visited,
body.unix .howto-link {
    color: #00ff00;
}

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;
}
