/* -----------------------------------------------------------
   BOUTON FLOTTANT
----------------------------------------------------------- */
#psquickquote-floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #ff9800;
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    z-index: 99999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

/* Glow premium quand un devis est en cours */
#psquickquote-floating-btn.psqq-glow {
    box-shadow:
        0 0 12px rgba(255, 165, 0, 0.7),
        0 0 24px rgba(255, 165, 0, 0.5),
        0 0 36px rgba(255, 165, 0, 0.3);
}

/* Badge "Devis en cours" */
#psqq-draft-badge {
    position: fixed;
    bottom: 95px;
    right: 25px;
    background: #ff9800;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    display: none;
    z-index: 99999;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* -----------------------------------------------------------
   MODAL OVERLAY
----------------------------------------------------------- */
#psquickquote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 99998;
}

/* -----------------------------------------------------------
   MODAL
----------------------------------------------------------- */
#psquickquote-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 750px; /* élargi */
    border-radius: 8px;
    display: none;
    z-index: 999999;
    max-height: 85vh;
    overflow-y: auto;
}

/* Header */
#psquickquote-modal-header {
    padding: 15px;
    background: #ff9800;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Body */
#psquickquote-modal-body {
    padding: 20px;
    max-height: calc(85vh - 140px);
    overflow-y: auto;
}

/* Labels */
#psquickquote-modal label {
    display: block;
    margin-top: 12px;
    margin-bottom: 4px;
    font-weight: 600;
}

/* Champs */
#psquickquote-modal input,
#psquickquote-modal textarea,
#psquickquote-modal select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Footer */
#psquickquote-modal-footer {
    padding: 15px;
    text-align: right;
    background: #f5f5f5;
}

/* Boutons */
#psqq-send {
    background: #ff9800;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#psqq-cancel {
    background: #ccc;
    color: #333;
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* -----------------------------------------------------------
   TABLEAU — VERSION LISIBLE & PREMIUM
----------------------------------------------------------- */
#psqq-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fafafa;
    border-radius: 6px;
    overflow: hidden;
}

/* En-tête */
#psqq-table thead th {
    background: #f0f0f0;
    font-weight: 600;
    padding: 10px;
    border-bottom: 2px solid #ddd;
    text-align: left;
}

/* Cellules */
#psqq-table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

/* Inputs dans le tableau */
#psqq-table input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

/* Dernière ligne sans bordure */
#psqq-table tbody tr:last-child td {
    border-bottom: none;
}

/* Bouton supprimer */
.psqq-del-row {
    background: #e53935;
    color: white;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 4px;
}