/**
 * css/rules-lab.css
 *
 * Styles für die Regelvisualisierung im Rules-Lab Playground.
 * Lab-spezifische Layout-Overrides.
 * Flowchart-Nodes sind jetzt in flowchart.css ausgelagert.
 *
 * Benötigt: tokens.css, style.css, responsive.css, viewport-full.css, flowchart.css
 *
 * @version 1.0
 */

/* =========================================
   1. RULES-LAB LAYOUT OVERRIDES
   ========================================= */

.col-game {
    flex: 0 0 420px;
    min-width: 420px;
    width: 420px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.canvas-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 10px 0;
}

.canvas-container canvas {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tree-container {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

/* =========================================
   2. FLOWCHART NODES → see css/flowchart.css
   (Formerly duplicated here; now centralized)
   ========================================= */

/* =========================================
   3. RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .col-game {
        flex: 0 0 320px;
        min-width: 320px;
        width: 320px;
    }
}

@media (max-width: 768px) {
    .col-game {
        width: 100%;
        min-width: 0;
        flex: none;
        order: -1;
    }
}
