/* Style général pour la page de suivi */
#sav17-suivi-app {
    max-width: 700px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

.suivi-header {
    text-align: center;
    margin-bottom: 30px;
}

.suivi-header h1 {
    font-size: 24px;
    color: #111;
}

.suivi-header p {
    font-size: 18px;
    color: #555;
    line-height: 1.5;
}

.suivi-error {
    text-align: center;
    padding: 20px;
    background-color: #fff0f0;
    border: 1px solid #ffdddd;
    border-radius: 8px;
    color: #d8000c;
}

.suivi-card {
    background-color: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.suivi-card-header {
    font-size: 18px;
    font-weight: 600;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e9e9e9;
}

.suivi-card-content {
    padding: 25px 20px;
}

/* CORRECTION 3 : Styles de la Timeline améliorés */
.timeline {
    position: relative;
    padding-left: 25px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px; /* Ajusté */
    bottom: 5px; /* Ajusté */
    width: 2px;
    background-color: #e9e9e9;
}

.timeline-item {
    position: relative;
    padding-left: 20px; /* Espace pour le contenu */
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 4px; /* Centré verticalement */
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #cccccc;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #e9e9e9;
}

.timeline-dot.current {
    background-color: #007bff; /* Bleu pour le statut actuel */
    box-shadow: 0 0 0 1px #007bff;
}

.timeline-content {
    position: relative;
}

.timeline-title {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.4;
}

.timeline-date {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.timeline-note {
    font-size: 15px;
    margin-top: 10px;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #eee;
    white-space: pre-wrap;
    line-height: 1.5;
}
/* PIECE JOINTE */

.timeline-attachments {
    margin-top: 12px;
    padding: 12px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
}

.timeline-attachments strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.timeline-attachments ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-attachments li {
    margin-bottom: 5px;
}

.timeline-attachments a {
    color: #007bff;
    text-decoration: none;
    word-break: break-all;
}

.timeline-attachments a:hover {
    text-decoration: underline;
}

/* Style pour les boutons d'acceptation/refus de devis */
.quote-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
    text-align: center;
}
.quote-actions p {
    font-weight: 500;
    margin-bottom: 10px;
}
.quote-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    margin: 0 5px;
}
.quote-btn.approve {
    background-color: #28a745;
}
.quote-btn.refuse {
    background-color: #dc3545;
}
.quote-details {
    margin-bottom: 30px;
}

.quote-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quote-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
}

.quote-separator {
    border: none;
    border-top: 1px dashed #ccc;
    margin: 10px 0;
}

.quote-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    padding-top: 5px;
}
