/* style.css - ELENA Waben Layout */
.dashboard-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; 
    margin-top: 20px;
    padding-bottom: 60px;
}

.middle-row {
    display: flex;
    justify-content: center;
    gap: 120px; /* Abstand zwischen Maschine und Hilfsmittel */
    width: 100%;
    max-width: 900px;
}

.cluster {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cluster h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 12px;
}

/* Die horizontalen Reihen der Icons */
.hex-row {
    display: flex;
    justify-content: center;
    gap: 4px; /* Abstand zwischen den Waben horizontal */
}

/* Zieht die untere Reihe nach oben, damit sie in die obere "einrastet" */
.hex-row.overlapping, 
.hex-row.bottom-center {
    margin-top: -15px; 
}

/* Der Button selbst */
.chem-btn {
    background: none;
    border: none;
    padding: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75px;
    height: 75px;
    cursor: pointer;
    color: #4A729A; /* Das gedeckte Blau aus der Skizze */
    transition: transform 0.2s, color 0.2s;
}

.chem-btn:hover {
    transform: scale(1.1);
    color: #35587A;
}

/* Spezielle Farbe für den roten "Verwerfen"-Button */
.chem-btn.red {
    color: #B23A3A; 
}

.chem-btn.red:hover {
    color: #8F2B2B;
}

/* Das ⌬ Zeichen im Hintergrund */
.hex-char {
    font-size: 85px; 
    position: absolute;
    z-index: 1;
    line-height: 1;
    font-weight: 300;
}

/* Das eigentliche SVG-Icon im Vordergrund */
.chem-btn svg {
    position: relative;
    z-index: 2;
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* Der grüne Bestätigungs-Button */
.chem-btn.green {
    color: #16a34a; 
}
.chem-btn.green:hover {
    color: #15803d;
}

/* Badge-Listen unter den Clustern */
.cluster-items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.75rem;
    width: 100%;
    align-items: center;
}

.item-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.item-badge .badge-tag {
    color: #2563eb;
    font-weight: 800;
}

/* Mastermix / Gelockte Wabe */
.item-badge.mastermix {
    background-color: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.lock-toggle-btn {
    cursor: pointer;
    background: #f1f5f9;
    border: 1px solid #94a3b8;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.75rem;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.lock-toggle-btn:hover {
    background: #e2e8f0;
}
