/* ===========================
   🎨 Style global wrapper
=========================== */
.wechef-devis-global-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 20px;
}

/* ===========================
   📤 Bloc Upload (gauche)
=========================== */
.upload-devis-container {
    background-color: #f8f8f8;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 🧾 Titre principal bloc */
.upload-devis-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

/* 📄 Sous-titre */
.wechef-devis-label {
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* 🗂️ Input fichier */
.upload-devis-container input[type="file"] {
    font-size: 1rem;
    margin-top: -5px;
}

/* 💾 Bouton ENREGISTRER */
.upload-devis-container .button {
    background-color: #C65306;
    color: white;
    border: none;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.upload-devis-container .button:hover {
    background-color: #A54400;
}

/* ✅ Message succès / erreur */
.upload-message.success,
.upload-message.error {
    font-weight: bold;
    margin: 0;
    transition: opacity 0.3s ease;
    font-size: 1rem;
}

.upload-message.success {
    color: #1f8b3e;
}

.upload-message.error {
    color: #d70000;
}

/* 📎 Lien de téléchargement */
.devis-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0e3c79;
}

.devis-link a {
    color: #0e3c79;
    text-decoration: underline;
}


/* ===========================
   📥 Bloc modèles à télécharger
=========================== */
.wechef-devis-base-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #f4f4f4;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    flex: 1;
    min-width: 300px;
}

.wechef-devis-base-wrapper h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 20px;
}

.wechef-devis-base-wrapper a {
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 8px;
    display: inline-block;
    transition: background 0.2s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.wechef-devis-pdf {
    background-color: #D70000;
    color: white;
}

.wechef-devis-pdf:hover {
    background-color: #b10000;
}

.wechef-devis-docx {
    background-color: #cccccc;
    color: #111;
}

.wechef-devis-docx:hover {
    background-color: #bbbbbb;
}
