﻿*, *::before, *::after {
    box-sizing: border-box;
}

.popup-heading-center {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

    .popup-heading-center h2 {
        font-size: 45px;
        color: #000;
        margin: 0;
        font-weight: 800;
    }

    .popup-heading-center h3 {
        font-size: 42px;
        color: #555;
    }

.custom-exit-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1100px;
    height: auto;
    max-height: 90vh;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
    font-family: "Segoe UI", sans-serif;
    overflow-y: auto;
    padding: 20px 0;
}

    .custom-exit-popup .close-btn {
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 26px;
        font-weight: bold;
        color: red;
        cursor: pointer;
        z-index: 1000;
    }

.popup-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    margin-bottom: 20px;
}

    .popup-content::-webkit-scrollbar {
        width: 8px;
    }

    .popup-content::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
    }

.popup-left,
.popup-right {
    flex: 1;
    min-width: 300px;
    padding: 0px 30px;
}

.popup-left {
    background: #f5faff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup_left_span {
    font-size: 15px;
}

.popup-left .benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .popup-left .benefits li {
        margin-bottom: 20px;
        font-size: 18px;
        line-height: 1.4;
    }

        .popup-left .benefits li::before {
            content: "➤ ";
            color: #007bff;
            font-weight: bold;
        }

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 37px;
    font-size: 15px;
}

    .partner-logos img {
        height: 40px;
        max-width: 90px;
        object-fit: contain;
    }

/* Right Section: Form */
.popup-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .popup-right form {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 10px;
    }

    .popup-right .mandatory-note {
        font-size: 14px;
        color: #ff0000;
        margin-bottom: 5px;
    }

        .popup-right .mandatory-note span {
            font-weight: bold;
        }

    /* Updated Inputs */
    .popup-right form input,
    .popup-right form textarea {
        width: 100%;
        padding: 12px 0;
        font-size: 14px;
        border: none;
        border-bottom: 1px solid #ccc;
        border-radius: 0;
        background-color: transparent;
        outline: none;
        transition: border-color 0.3s ease;
        color: #000;
    }

        .popup-right form input:focus,
        .popup-right form textarea:focus {
            border-color: #007bff;
        }

    /* Phone Input Group */
    .popup-right .phone-input {
        display: flex;
        align-items: center;
        gap: 8px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 8px;
        margin-top: -6px;
    }

    .popup-right .country-code {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        background-color: transparent;
        border: none;
        padding: 0;
        white-space: nowrap;
    }

        .popup-right .country-code img {
            height: 18px;
            width: auto;
            vertical-align: middle;
        }

    /* Submit Button */
    .popup-right form button {
        background: #0066e6;
        color: #fff;
        padding: 14px;
        border: none;
        width: 100%;
        border-radius: 6px;
        font-size: 16px;
        cursor: pointer;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .popup-right #formLoader {
        height: 20px;
        margin-left: 8px;
        display: none;
    }

@media (max-width: 768px) {
    .custom-exit-popup {
        width: 90%;
        max-width: 95%;
        height: auto;
        max-height: 95vh;
        overflow-y: auto;
        padding: 20px;
    }

    .popup-content {
        padding: 0;
    }

    .popup-left,
    .popup-right {
        padding: 15px 20px;
    }

    .popup-heading-center h2 {
        font-size: 28px;
    }

    .popup-heading-center h3 {
        font-size: 20px;
    }

    .popup-right form button {
        font-size: 14px;
        padding: 12px;
    }
}
