.modal-overlay {
    display: none;
    /* Versteckt beim Laden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #db0ea440;
    backdrop-filter: blur(10px);
    z-index: 1000 !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-content {
    background: #030713;
    /* Passt zu deinem Theme */
    border: 1px solid #334155;
    padding: 2rem;
    margin: 0 auto !important;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 12px;
    color: white;
    z-index: 1080 !important;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    z-index: 1090 !important;
}

.modal-footer {
    display: flex;
    z-index: 1090 !important;
}

.modal-backdrop.show {
    z-index: 0 !important;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}


.modal-overlay.is-open {
    display: flex;
}

body.modal-open {
    overflow: hidden;
}