/* === Grundlayout für das Popup === */
.changelog-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* halbtransparenter Hintergrund */
.changelog-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

/* weißer Dialog in der Mitte */
.changelog-modal-dialog {
    position: relative;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px 24px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1;
}

/* Titel "Was ist neu?" */
.changelog-modal-title {
    margin-top: 0;
    margin-bottom: 0.75em;
    font-size: 1.6rem;
    font-weight: 700;
}

/* Close-Button */
.changelog-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

/* Inhalt */
.changelog-modal-view {
    font-size: 0.95rem;
}

/* === Einträge-Liste === */
.changelog-entry {
    margin-bottom: 1.2em;
    padding-bottom: 0.8em;
    border-bottom: 1px solid #eee;
}

.changelog-entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.changelog-entry-title {
    margin: 0 0 0.1em 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.changelog-entry-meta {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.4em;
}

.changelog-entry-content p {
    margin: 0 0 0.4em 0;
}

.changelog-entry-content ul {
    margin: 0 0 0.4em 1.2em;
}

/* Mobil etwas kompakter */
@media (max-width: 480px) {
    .changelog-modal-dialog {
        padding: 16px 16px;
    }
    .changelog-modal-title {
        font-size: 1.3rem;
    }
}
/* Erzwingt schwarze Schrift im gesamten Popup */
#changelog-modal,
#changelog-modal * {
    color: #000 !important;
}
