/**
 * CLP Kennzeichnung Styles
 */

/* Fieldset Container */
.clp-info-fieldset {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px 20px;
    margin: 20px 0;
    background-color: #F8F8F8;
}

.clp-info-fieldset legend {
    font-weight: bold;
    padding: 0 10px;
}

/* Content Container mit 2-Spalten Layout */
.clp-info-content {
    margin-top: 10px;
}

.clp-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Text-Spalte links (nimmt mehr Platz ein) */
.clp-text-column {
    flex: 1;
    min-width: 0;
}

.clp-text-column p {
    margin: 0;
    line-height: 1.6;
}

/* Piktogramme-Spalte rechts */
.clp-pictograms-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 80px;
    align-items: center;
}

/* Einzelnes Piktogramm */
.clp-pictogram-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.clp-pictogram-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    display: block;
}

.clp-pictogram-item .signal-word {
    color: #000;
    text-align: center;
    line-height: 1.2;
}

/* Platzhalter und Status-Meldungen */
.clp-placeholder {
    font-style: italic;
    opacity: 0.7;
}

.clp-loading {
    font-style: italic;
    opacity: 0.7;
}

.clp-not-available {
    font-style: italic;
    opacity: 0.7;
}

.clp-error {
    color: #c00;
    font-weight: bold;
}

/* Admin-Bereich: Variations-Feld */
.clp-variation-field {
    margin-bottom: 15px;
}

.clp-variation-field label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.clp-variation-field textarea {
    width: 100%;
    min-height: 80px;
}

.clp-variation-field .description {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .clp-layout {
        flex-direction: column;
    }
    
    .clp-pictograms-column {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 20px;
    }
    
    .clp-pictogram-item img {
        width: 45px;
        height: 45px;
    }
    
    .clp-info-fieldset {
        padding: 10px 15px;
    }
}