/* Badges für den Status */
.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
}

/* Farbvarianten für den Status */
.status-aktiv { background-color: #2ECC71; }
.status-inaktiv { background-color: #95A5A6; }
.status-beschaedigt { background-color: #E74C3C; }
.status-fehlend { background-color: #F39C12; }
.status-unbekannt { background-color: #3498DB; }

/* Allgemeine Stile für Status-Buttons */
.status-btn {
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: center;
    justify-content: center;
    color: white;
}

/* Farben für die Buttons */
.status-btn-inaktiv { background: #95A5A6; }
.status-btn-beschaedigt { background: #E74C3C; }
.status-btn-fehlend { background: #F39C12; }

/* Hover-Effekt für Status-Buttons */
.status-btn-inaktiv:hover {
    background: #7F8C8D; /* Dunkleres Grau */
}

.status-btn-beschaedigt:hover {
    background: #C0392B; /* Dunkleres Rot */
}

.status-btn-fehlend:hover {
    background: #D68910; /* Dunkleres Orange */
}


/* Pop-up Container */
.popup-container {
    padding: 8px;
    margin: 0;
}

/* Bildcontainer */
.popup-image-container {
    text-align: center;
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Bilder in Popups */
.popup-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
