.immypops-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.immypops-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.immypops-popup--visible {
    opacity: 1;
    visibility: visible;
}

.immypops-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.immypops-popup__container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 540px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: immypops-popup-slide-in 0.3s ease;
}

@keyframes immypops-popup-slide-in {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.immypops-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.immypops-popup__close:hover {
    background: #f0f0f0;
    color: #333;
}

.immypops-popup__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
}

.immypops-popup__body {
    padding: 32px;
}

.immypops-popup__heading {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    text-align: center;
}

.immypops-popup__text {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
    text-align: center;
}

.immypops-popup__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.immypops-popup__cta {
    display: inline-block;
    padding: 20px 30px;
    background: rgb(8, 122, 255);
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    font-size: 18px;
    font-weight: 700;
    font-family: "Outfit", sans-serif;
    line-height: 20px;
    transition: background-color 0.5s ease-out;
    text-align: center;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.immypops-popup__cta:hover {
    background: rgb(6, 98, 204);
    color: #fff !important;
}

.immypops-popup__cta:visited,
.immypops-popup__cta:active,
.immypops-popup__cta:focus {
    color: #fff !important;
}

.immypops-popup__dismiss {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.immypops-popup__dismiss:hover {
    color: #333;
}

body.immypops-popup-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .immypops-popup__container {
        width: 95%;
        border-radius: 8px;
    }

    .immypops-popup__image img {
        border-radius: 8px 8px 0 0;
    }

    .immypops-popup__body {
        padding: 24px;
    }

    .immypops-popup__heading {
        font-size: 20px;
    }
}
