/* Button styling */
.devis-btn {
    margin-top: -20px!important;
    padding: 14px 18px;
    background-color: white;
    color: var(--theme-palette-color-1);
    border: solid 1px var(--theme-palette-color-1);
    border-radius: var(--theme-button-border-radius);
    cursor: pointer;
    width: 100%;
    text-transform: var(--theme-button-text-transform);
}
.devis-btn:hover {
    background-color: var(--theme-palette-color-2);
    color: white;
}

/* Modal background */
.devis-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,0.53);
    justify-content: center;
    align-items: center;
    padding: 130px 10px 20px;
}

/* Modal content */
.devis-modal-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    position: relative;
    animation: fadeIn 0.3s ease;
    max-height: 95vh;
    overflow-y: auto;
}

/* Close button */
.devis-close {
    width: 32px;
    height: 32px;
    background-color: #e34771;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 25px;
    font-size: 47px;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Read-only style */
.forminator-input[readonly] {
    background: #fafafa !important;
    cursor: not-allowed;
    border: none;
}

#text-1, #url-1 {
    display: none !important;
}

.forminator-module-edit-link {
    display: none;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .devis-modal-content {
        padding: 20px 18px;
        border-radius: 10px;
    }
    .devis-modal {
        padding: 10px;
    }
    .devis-close {
        right: 25px;
        top: 20px;
    }
    .devis-modal-content h2 {
        font-size: 22px;
    }
}