.hi-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hi-popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    max-width: 800px;
    width: 90%;
    border-radius: 8px;
}

.hi-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
	height: 35px;
	z-index: 9999999;
}

.hi-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* controls spacing between icon and text */
}

/* If icon is before the text */
.hi-popup-btn .elementor-icon-left {
    order: 0;
}

/* If icon is after the text */
.hi-popup-btn .elementor-icon-right {
    order: 2;
}

/* Ensure icons align properly */
.hi-popup-btn i,
.hi-popup-btn svg {
    display: inline-block;
    vertical-align: middle;
}

/* Allow Elementor control to manage spacing */
.hi-popup-btn .elementor-icon-left {
    margin-right: var(--hi-icon-spacing, 8px);
}

.hi-popup-btn .elementor-icon-right {
    margin-left: var(--hi-icon-spacing, 8px);
}