/* Form Modal Styles */
.form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.form-modal.modal-active {
    opacity: 1;
}

.form-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    height: 80vh;
    max-height: 800px;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
}

.modal-active .form-modal-content {
    transform: scale(1);
}

.form-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

.close-form-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
    z-index: 1;
}

.close-form-modal:hover {
    background-color: #f0f0f0;
}
