/* Container-Wrapper, den wir per JS an die richtige Stelle verschieben */
.wcpf-ewl-container {
    margin-top: 20px;
}

/* Overlay (vollflächiger, dunkler Hintergrund) */
.wcpf-ewl-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Modal-Fenster */
.wcpf-ewl-modal {
    background: #ffffff;
    max-width: 520px;
    width: 100%;
    border-radius: 8px;
    padding: 24px 24px 28px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    font-family: inherit;
}

.wcpf-ewl-modal h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.wcpf-ewl-modal p {
    margin-top: 0;
    margin-bottom: 18px;
}

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

/* Formularfelder */
.wcpf-ewl-field {
    margin-bottom: 12px;
}

.wcpf-ewl-field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.wcpf-ewl-field input,
.wcpf-ewl-field textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Aktionen / Submit */
.wcpf-ewl-actions {
    margin-top: 12px;
}

/* Feedback-Nachricht */
.wcpf-ewl-feedback {
    margin-top: 12px;
    font-size: 13px;
}

.wcpf-ewl-feedback.is-success {
    color: #1e7e34;
}

.wcpf-ewl-feedback.is-error {
    color: #b02a37;
}

/* Body-Scroll verhindern, wenn Modal offen */
body.wcpf-ewl-opened {
    overflow: hidden;
}
