.oezig-event-popups {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    pointer-events: none;
}

.oezig-event-popups[hidden] {
    display: none !important;
}

.oezig-event-popups.is-visible {
    pointer-events: auto;
}

.oezig-event-popups__backdrop {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(16, 24, 40, 0.56);
    transition: opacity 0.22s ease;
}

.oezig-event-popups.is-visible .oezig-event-popups__backdrop {
    opacity: 1;
}

.oezig-event-popups__stage {
    position: relative;
    z-index: 2;
    width: min(100%, 512px);
}

.oezig-event-popup {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    font-family: "Inter", "Segoe UI", sans-serif;
    box-shadow: 0 25px 50px -12px rgba(16, 24, 40, 0.25);
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.oezig-event-popup[hidden] {
    display: none !important;
}

.oezig-event-popup.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.oezig-event-popup__header {
    position: relative;
    padding: 32px;
    background: var(--oezig-popup-accent, #7fb5d9);
    color: #ffffff;
}

.oezig-event-popup__title {
    margin: 0;
    width: min(100%, 376px);
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.oezig-event-popup__subtitle {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.oezig-event-popup__close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.oezig-event-popup__close-icon {
    width: 30px;
    height: 30px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
}

.oezig-event-popup__close:hover,
.oezig-event-popup__close:focus-visible {
    opacity: 0.82;
    background: transparent;
}

.oezig-event-popup__rows {
    padding: 32px 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.oezig-event-popup__row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: #f2f4f7;
}

.oezig-event-popup__row-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    background: #eaecf0;
    color: #7fb5d9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.oezig-event-popup__row-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.oezig-event-popup__row-copy {
    min-width: 0;
}

.oezig-event-popup__row-label {
    color: #101828;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.312px;
}

.oezig-event-popup__row-description {
    margin-top: 2px;
    color: #475467;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.oezig-event-popup__actions {
    display: flex;
    gap: 16px;
    padding: 32px;
}

.oezig-event-popup__button {
    flex: 1 1 50%;
    min-height: 52px;
 
    border-radius: 999px;
    border: 2px solid #7fb5d9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.16s ease;
    cursor: pointer;
}

.oezig-event-popup__button-label {
    display: inline-block;
}

.oezig-event-popup__button-arrow {
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    transform: translateY(-1px);
}

.oezig-event-popup__button--primary {
    background: #7fb5d9;
    border-color: #7fb5d9;
    color: #ffffff;
}

.oezig-event-popup__button--primary:hover,
.oezig-event-popup__button--primary:focus-visible {
    background: #6ea9d0;
    border-color: #6ea9d0;
    color: #ffffff;
    text-decoration: none;
}

.oezig-event-popup__button--secondary {
    background: #ffffff;
    color: #7fb5d9;
}

.oezig-event-popup__button--secondary:hover,
.oezig-event-popup__button--secondary:focus-visible {
    background: #f8fbfd;
    color: #6ea9d0;
    border-color: #6ea9d0;
}

@media (max-width: 640px) {
    .oezig-event-popups {
        align-items: flex-end;
        padding: 12px;
    }

    .oezig-event-popups__stage {
        width: 100%;
    }

    .oezig-event-popup {
        border-radius: 20px;
    }

    .oezig-event-popup__header {
        padding: 24px 60px 24px 24px;
    }

    .oezig-event-popup__title {
        width: 100%;
        font-size: 30px;
    }

    .oezig-event-popup__subtitle {
        margin-top: 16px;
        font-size: 16px;
    }

    .oezig-event-popup__rows {
        padding: 24px 24px 0;
    }

    .oezig-event-popup__row {
        padding: 14px 16px;
    }

    .oezig-event-popup__actions {
        flex-direction: column;
        gap: 12px;
        padding: 24px;
    }

    .oezig-event-popup__button {
        width: 100%;
        min-height: 64px;
        padding: 12px 24px;
        font-size: 15px;
    }

    .oezig-event-popup__button-arrow {
        font-size: 28px;
    }
}
