/* ============================================================
   VERA-VM A4 – Layout im A1-Stil
   ============================================================ */

/* Wrapper */
.vera-a4-wrapper {
    max-width: 960px;
    margin: 25px auto;
    padding: 25px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: sans-serif;
    color: #000;
}

/* Titel + Intro */
.vera-a4-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.vera-a4-intro {
    margin-bottom: 20px;
}

/* Optionen (A/B/C) – ähnlich Gattungsfeldern */
.vera-a4-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.vera-a4-option {
    display: flex;
    align-items: flex-start;
    background: #f8f8f8;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.vera-a4-option:hover {
    background: #e3f0ff;
    border-color: #99b8ff;
}

.vera-a4-option input[type="radio"] {
    margin-right: 10px;
    margin-top: 4px;
}

.vera-a4-opt-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.vera-a4-opt-text span {
    display: block;
    font-size: 0.9rem;
    color: #333;
}

/* Steuerbereich: Buttons + Status */
.vera-a4-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* Buttons wie A1, aber mit Statusklassen */
.vera-a4-button,
.vera-a4-next {
    border: none;
    padding: 10px 18px;
    font-size: 1rem;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    background: #006cd1; /* Standard: blau (wie A1-Validate) */
}

/* Start: „noch nicht bereit“ → grau */
.vera-a4-button.not-ready {
    background: #888888;
    cursor: not-allowed;
}

/* Start während Lauf → dunkler blau */
.vera-a4-button.running {
    background: #005c99;
}

/* Start nach Erfolg → grün */
.vera-a4-button.ok {
    background: #0a7d00;
}

/* Weiter-zu-A5-Button standard grün */
.vera-a4-next {
    background: #0a7d00;
}

/* Status / Ampeltext */
.vera-a4-status {
    min-height: 22px;
    font-weight: bold;
    color: #003366;
}

/* Ausgabe-Block */
.vera-a4-output {
    margin-top: 10px;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #999;
    background: #fff;
    font-family: Consolas, monospace;
    font-size: 0.95rem;
    line-height: 1.55;
    white-space: pre-wrap;
    max-height: 600px;
    overflow-y: auto;
    color: #000;
}

/* HARTE Theme-Overrides – keine schwarze Box mehr */
#vera-a4-output,
#vera-a4-output * {
    color: #000 !important;
    background: #fff !important;
}

/* Scrollbar (optional, hell) */
.vera-a4-output::-webkit-scrollbar {
    width: 9px;
}
.vera-a4-output::-webkit-scrollbar-thumb {
    background: #bbbbbb;
    border-radius: 5px;
}
.vera-a4-output::-webkit-scrollbar-thumb:hover {
    background: #999999;
}
