.fhlp-no-scroll {
    overflow: hidden;
}

.fhlp-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 10, 10, 0.62);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.fhlp-modal {
    position: relative;
    width: min(100%, 680px);
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #f4f6fb 100%);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
    animation: fhlpPopIn 0.45s ease;
}

.fhlp-content-wrap {
    line-height: 0;
}

.fhlp-image {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
}

.fhlp-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.75);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background 0.2s ease;
}

.fhlp-close:hover,
.fhlp-close:focus {
    transform: scale(1.06);
    background: rgba(0, 0, 0, 0.9);
    outline: none;
}

@keyframes fhlpPopIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 767px) {
    .fhlp-overlay {
        padding: 14px;
    }

    .fhlp-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 28px;
    }
}
