/**
 * Original Reinhardt-Grid Layout Style
 * Ort: config/layouts/standard.css
 */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #000000;
    font-size: 13px;
    line-height: 1.3;
}

/* 1. KOPFZEILE (Header) */
.cms-top-header {
    width: 100%;
    padding: 10px 20px;
    border-bottom: 1px solid #aaaaaa;
    background-color: #ffffff;
}

.cms-header-brand-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cms-logo-text {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cms-logo-sub {
    font-size: 10px;
    font-weight: normal;
    color: #555555;
    margin-top: -2px;
}

/* Horizontale Menüleiste mittig unter dem Logo */
.cms-top-nav {
    margin-top: 15px;
    text-align: center;
}

.cms-top-nav-list {
    display: inline-flex;
    list-style: none;
    gap: 10px;
}

.cms-top-nav-item a {
    text-decoration: none;
    color: #000000;
    font-weight: normal;
    font-size: 13px;
    padding: 2px 6px;
}

.cms-top-nav-item.is-active a {
    border: 1px solid #000000;
    font-weight: bold;
    border-radius: 3px;
}

/* 2. ZWEISPALTIER WORKSPACE */
.cms-layout-container {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #aaaaaa;
}

/* Linke Spalte (Sidebar) */
.cms-sidebar {
    width: 180px;
    background-color: #eeeeee;
    border-right: 1px solid #aaaaaa;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Rechte Spalte (Hauptinhalt Formular-Bereich) */
.cms-main-content {
    flex: 1;
    padding: 20px;
    background-color: #ffffff;
}

/* 3. UNTERER DIALOG & TEXTAREA */
.cms-under-content-area {
    padding: 15px 20px;
    background-color: #ffffff;
}

.cms-raw-textarea {
    width: 100%;
    height: 100px;
    font-family: monospace;
    font-size: 11px;
    border: 1px solid #ff0000; /* Roter Kontrollrahmen laut Vorlage */
    padding: 8px;
    background-color: #fffaf0;
    color: #8b0000;
    resize: vertical;
}

.cms-status-bar-bottom {
    margin-top: 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 4. FOOTER */
.cms-footer {
    padding: 15px;
    text-align: center;
    font-size: 11px;
    color: #666666;
    background-color: #ffffff;
    border-top: 1px solid #cccccc;
}
