/* Form Popup Styles */

.form-popup {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 9999;

    background: rgba(0, 0, 0, 0.8);

    display: none;

    overflow-y: auto;

}



.form-popup .container {

    position: relative;

    padding: 20px;

    max-width: 1200px;

    margin: 0 auto;

}



.close-form-popup {

    position: absolute;

    top: 20px;

    right: 20px;

    width: 40px;

    height: 40px;

    background: #fff;

    border-radius: 50%;

    text-align: center;

    line-height: 40px;

    font-size: 24px;

    cursor: pointer;

    z-index: 10000;

    color: #333;

    font-weight: bold;

}



.close-form-popup:hover {

    background: #f0f0f0;

    color: #000;

}



.form-popup-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.5);

    z-index: 9998;

    display: none;

}



.no-scroll {

    overflow: hidden;

}



/* Responsive */

@media (max-width: 768px) {

    .form-popup .container {

        padding: 10px;

    }

    

    .close-form-popup {

        top: 10px;

        right: 10px;

        width: 35px;

        height: 35px;

        line-height: 35px;

        font-size: 20px;

    }

}



/* Animation */

.form-popup {

    animation: fadeIn 0.3s ease-in-out;

}



@keyframes fadeIn {

    from {

        opacity: 0;

        transform: translateY(-20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


