/* Haupt-Wrapper */
.lwd-ipfe {
    display: flex;
}

/* Alignment per Elementor-Wrapper-Klasse */
.lwd-align-left .lwd-ipfe {
    justify-content: flex-start;
}
.lwd-align-center .lwd-ipfe {
    justify-content: center;
}
.lwd-align-right .lwd-ipfe {
    justify-content: flex-end;
}

/* Popup-Container */
.lwd-ipfe-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #6EC1E4;
    color: #ffffff;
    /* rechts Platz für den Close-Button */
    padding: 16px 64px 16px 16px;
    border: 1px solid rgba(0,0,0,0.15);
    box-sizing: border-box;
}

/* Innerer Bereich: Icon + Text */
.lwd-ipfe-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.lwd-ipfe-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lwd-ipfe-icon i,
.lwd-ipfe-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.lwd-ipfe-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lwd-ipfe-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
}

.lwd-ipfe-desc {
    font-size: 14px;
    line-height: 1.5;
}

/* Klickfläche oben rechts, unabhängig von Icon-Größe */
.lwd-ipfe-close {
    position: absolute !important;
    top: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 6px;
    background-color: transparent !important;
    border: none !important;
    line-height: 1;
    z-index: 5;
}

/* Nur das Icon (Kreuz) selbst skaliert */
.lwd-ipfe-close-icon {
    display: inline-block;
    line-height: 1;
    font-size: 18px;
    max-width: 100%;
    max-height: 100%;
    transform: translateY(0);
}

/* Neutraler/leichter Hover-Zustand */
.lwd-ipfe-close,
.lwd-ipfe-close:hover,
.lwd-ipfe-close:focus,
.lwd-ipfe-close:active {
    background-color: transparent !important;
    border: none;
}

.lwd-ipfe-close:hover {
    background-color: rgba(255,255,255,0.06);
}