.roi-popup-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.roi-popup-overlay.active {
    display: flex;
}

/* Popup box */
.roi-popup {
    background: #ffffff;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* Lock background scroll */
body.roi-popup-open {
    overflow: hidden;
}


/* ================================
   CLOSE BUTTON
================================ */
.roi-close-btn {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 22px;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
}

/* ================================
   BLUE HEADER SECTION
================================ */
.roi-popup-header {
    background: #0073e6;
    text-align: center;
    padding: 20px 20px;
    color: #ffffff;
}

.roi-popup-header h2,
.roi-popup-header h3,
.roi-popup-header p {
    color: #ffffff !important;
}

/* Reduced spacing */
.roi-popup-header-title {
    margin-bottom: 6px !important;
}

/* Icon wrapper */
.icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 12px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-wrapper svg {
    width: 30px;
    height: 30px;
}

/* ================================
   BENEFITS TEXT LIST
================================ */
.roi-benefits {
    padding: 20px 25px 10px 25px;
    font-size: 15px;
}

.roi-benefits ul {
    padding-left: 22px;
    margin: 0;
}

.roi-benefits li {
    margin-bottom: 12px;
}

/* ================================
   FORM STYLES
================================ */
.roi-form {
    padding: 0px 25px 30px;
}

.roi-form label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.roi-form input,
.roi-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #fafafa;
}

.roi-form textarea {
    resize: vertical;
    min-height: 80px;
}

.custom-margin{
    margin: 6px 0px 0px 5px;
}

/* ================================
   SUBMIT BUTTON
================================ */
.roi-submit-btn {
    background: #0073e6;
    color: #fff;
    font-weight: 600;
    padding: 14px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: 0.2s;
    margin-top: 15px;
}

.roi-submit-btn:hover {
    background: #005bbb;
}

/* ================================
   PRIVACY TEXT
================================ */
.roi-privacy {
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
    color: #555;
}

/* ================================
   SUCCESS MESSAGE
================================ */
.roi-success-message {
    padding: 25px;
    text-align: center;
    display: none; /* hidden by default */
}

.roi-success-message.active {
    display: block;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

/* ================================
   RESPONSIVE FIXES
================================ */
@media (max-width: 480px) {
    .roi-popup {
        max-width: 95%;
    }

    .roi-popup-header {
        padding: 18px 15px;
    }
}

/* Do NOT block body scroll anymore */
body.roi-popup-open {
    overflow: auto !important;
}
