.fwp-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(11, 19, 42, 0.65);
}

.fwp-modal {
    position: relative;
    width: 95%;
    max-width: 700px;
    overflow: visible;
    animation: fwpFadeIn 0.25s ease-out;
}

.fwp-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #0094ff;
    box-shadow:
            0 0 0 1px #0b132a,
            0 10px 35px rgba(0, 0, 0, 0.4);
}

.fwp-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 1000;

    width: 42px;
    height: 42px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 3px solid #ffffff;
    border-radius: 50%;

    background: #0b132a;
    color: #ffffff;

    font-size: 28px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    box-shadow:
            0 4px 15px rgba(0, 148, 255, 0.45),
            0 0 0 2px rgba(11, 19, 42, 0.35);

    transition:
            transform 0.15s ease,
            background-color 0.15s ease,
            box-shadow 0.15s ease;
}

.fwp-close:hover {
    background: #0094ff;
    transform: scale(1.08);
    box-shadow:
            0 6px 20px rgba(11, 19, 42, 0.55),
            0 0 0 4px rgba(0, 148, 255, 0.25);
}

.fwp-close:active {
    transform: scale(0.95);
}

.fwp-close:focus {
    outline: none;
    box-shadow:
            0 0 0 4px #ffffff,
            0 0 0 8px rgba(0, 148, 255, 0.35);
}

@keyframes fwpFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .fwp-close {
        top: -14px;
        right: -14px;
        width: 38px;
        height: 38px;
        font-size: 24px;
    }
}