/* Globale Variablen aus den Plugin-Einstellungen */
/* :root wird per wp_add_inline_style befüllt */

#modal-maker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99998;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-maker-container {
    background-color: var(--mm-background-color, #fff);
    padding: 2rem 3rem;
    border-radius: 5px;
    max-width: 900px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 99999;
    max-height: 90vh;
    overflow-y: auto;
}

/* Design mit Bild */
#modal-maker-container.modal-design-with_image {
    display: flex;
    padding: 0;
}
.modal-design-with_image .modal-maker-image {
    width: 40%;
    object-fit: cover;
}
.modal-design-with_image .modal-maker-content {
    padding: 2rem;
    width: 60%;
}


#modal-maker-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #888;
}
#modal-maker-close:hover {
    color: #000;
}

#modal-maker-container h2 {
    color: var(--mm-primary-color, #0073aa);
    margin-top: 0;
}

.modal-maker-buttons {
    margin-top: 1.5rem;
}

.modal-maker-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--mm-primary-color, #0073aa);
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    margin-right: 10px;
    transition: background-color 0.2s;
}

.modal-maker-button:hover {
    background-color: var(--mm-secondary-color, #f0f0f1);
    color: #000;
}