.exit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.exit-modal-content {
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(180deg, #FFAA00 0%, #FECF00 100%) border-box;
    border: 5px solid transparent;
    padding: 50px;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    max-width: 910px;
    width: calc(100% - 20%);
    position: relative;
}


.exit-modal p {
    font-family: 'Poppins', sans-serif;
    color: #38336F;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px; 
    margin-bottom: 35px;
}

.exit-modal-buttons {
    display: flex;
    gap: 35px;
    justify-content: center;
}

.exit-modal .button {
    background: linear-gradient(180deg, #FA0 0%, #FECF00 100%) padding-box,
    linear-gradient(180deg, #FA0 0%, #FECF00 100%) border-box;
    color: #38336F;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    padding: 16px 78px;
    border: 3px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.exit-modal .button:hover {
    border: 3px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(180deg, #FA0 0%, #FECF00 100%) border-box;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.exit-modal {
    animation: fadeIn 0.3s ease-out;
}

/* Responsive styles */
@media screen and (max-width: 480px) {
    .exit-modal-content { 
        max-width: 310px;
        width: calc(100% - 30%);
        padding: 35px 22px;
    }

    .exit-modal-content p {
        text-align: center;
    }

    .exit-modal-buttons {
        flex-direction: column;
        gap: 35px;
    }

    .exit-modal .button {
        padding-top: 16px;
        width: 100%;
        text-align: center;
    }
}

@media screen and (min-width: 480px) and (max-width: 768px) {
    .exit-modal-content {
        max-width: 500px;
        width: calc(100% - 30%);
    }

    .exit-modal-buttons {
        flex-direction: column;
        gap: 35px;
    }

    .exit-modal .button {
        padding-top: 16px;
        width: 100%;
        text-align: center;
    }
}
