/* Editor — Belegungsplan, Dach-Editor, BWL-Tipps, Import
   Teil von style.css (W2, Schnitt E — AK 60: keine Datei ueber 200 Zeilen).
   Einbindungsreihenfolge zaehlt: siehe index.html. */

/* ============ MANUELLER BELEGUNGSPLAN ============ */
.modul-zelle {
    aspect-ratio: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.15s ease;
    min-height: 28px;
}
.modul-zelle.aktiv {
    background: rgba(30, 58, 95, 0.6);
    border-color: #3b82f6;
    color: #3b82f6;
}
.modul-zelle.aktiv:hover {
    background: rgba(30, 58, 95, 0.9);
    border-color: #60a5fa;
}
.modul-zelle.deaktiviert {
    background: rgba(17, 17, 17, 0.5);
    border-color: #333;
    color: #555;
    opacity: 0.5;
}
.modul-zelle.verschattet {
    background: rgba(127, 29, 29, 0.5);
    border-color: #ef4444;
    color: #ef4444;
    cursor: not-allowed;
}

/* ============ DACH-EDITOR ============ */
.sp-dach-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.sp-dach-info-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.sp-dach-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Karten-Container in Schritt 2 auf volle Breite + Hoehe */
#dach-karte,
#dach-karte-wrapper,
#dach-karte .leaflet-container {
    width: 100% !important;
    min-height: 70vh !important;
    height: 70vh !important;
}

#dach-karte .leaflet-container {
    background: var(--bg-surface);
}

/* PDF export container (offscreen) */
.pdf-seitenumbruch {
    page-break-before: always;
}

@media (max-width: 768px) {
    #dach-karte {
        height: 50vh !important;
        min-height: 350px !important;
    }
    #dach-info {
        width: 100% !important;
    }
}

/* ============ BWL-TIPPS (v13) ============ */
.bwl-tipp-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
}
.bwl-tipp-icon { font-size: 28px; flex-shrink: 0; }
.bwl-tipp-content { flex: 1; min-width: 0; }
.bwl-tipp-nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ============ IMPORT (v13) ============ */
.import-dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}
.import-dropzone:hover,
.import-dropzone.active {
    border-color: var(--accent);
    background: rgba(245, 158, 11, 0.05);
}

