

        .mfc-adv-message {
    max-width: 500px;
    margin: 0 auto 20px auto; 
    padding: 15px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.mfc-adv-message.green { background-color: #4CAF50; }
.mfc-adv-message.red { background-color: #f44336; }
    .mfc-adv-form {
        max-width: 600px;
        margin: 40px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 10px;
        background-color: #f9f9f9;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        font-family: Arial, sans-serif;
        color: #282F66;
    }

    .mfc-adv-form p { margin-bottom: 15px; }
    .mfc-adv-form label { display: block; margin-bottom: 2px;color: #282F66 }
    .mfc-adv-form input, .mfc-adv-form textarea, .mfc-adv-form button {
        width: 100%;
        padding: 8px;
        font-size: 14px;
        border-radius: 4px;
        border: 1px solid #ccc ;
        box-sizing: border-box;
        color:#282F66;
    }
    .mfc-adv-form button {
        background-color: #282F66;
        color: #fff;
        border: none;
        cursor: pointer;
    }
    .mfc-adv-form button:hover { 
        background-color: #fff;
       color: #282F66;
    }

    #drop-zone {
        padding: 10px;
        border: 2px dashed #282F66;
        border-radius: 6px;
        text-align: center;
        color: #555;
        cursor: pointer;
        margin-bottom: 10px;
        background-color: #f1f1f1;
    }
    #drop-zone.hover { background-color: #e0e0e0; }

    #file-preview {
        display: flex;
        flex-wrap: nowrap;
        margin-top: 10px;
        gap: 10px;
        max-width: 100%;
        overflow-x: auto;
    }
    .file-item {
        flex: 0 0 80px;
        height: 80px;
        border: 1px solid #ccc;
        border-radius: 6px;
        overflow: hidden;
        text-align: center;
        font-size: 12px;
        line-height: 1.2;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f5f5f5;
        padding: 2px;
    }
    .file-item img { max-width: 100%; max-height: 100%; display: block; }

    #file-list {
        margin-top: 10px;
        font-size: 14px;
    }
    #file-list li { margin-bottom: 3px; }

    /* Supprime le display:block pour les radios seulement */
.mfc-radio-group label {
    display: flex;       
    align-items: center; 
    gap: 5px;           
    cursor: pointer;     
}

/* Aligne les deux labels côte à côte */
.mfc-radio-group {
    display: flex;
    gap: 20px;           /* espace entre Devis et Commande */
}

/* Supprime toute marge par défaut sur les inputs */
.mfc-radio-group input[type="radio"] {
    margin: 0;
}
.mfc-adv-form input:focus,
.mfc-adv-form textarea:focus {
    border-color: #282F66;
    outline: none;
    box-shadow: 0 0 3px rgba(40,47,102,0.5);
}
.mfc-consent label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.mfc-consent input[type="checkbox"] {
    width: auto;
}


.mfc-small-text {
    color: #282F66;
    font-size: 10px;
}

/* Container */
.mfc-radio-group {
    display: flex;
    gap: 20px;
}

/* Carte */
.radio-card {
    flex: 1;
    border: 2px solid #282F66;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
}

/* Contenu interne */
.radio-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Icône */
.radio-content .icon {
    font-size: 20px;
}

/* Texte */
.radio-content .text {
    font-weight: 600;
}

/* Cache radio natif */
.radio-card input {
    display: none;
}

/* Hover */
.radio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    background-color: #f5f7ff;
}

/* Etat sélectionné */
.radio-card input:checked + .radio-content {
    background-color: #282F66;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
}

/* Effet "click" */
.radio-card:active {
    transform: scale(0.97);
}

/* MOBILE */
@media screen and (max-width: 768px) {
    .mfc-radio-group {
        flex-direction: column;
    }

    .radio-card {
        width: 100%;
    }
}
