/* Barre d'action : affectation automatique */
.barre-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 20px 24px 0 24px; padding: 16px 24px; background: var(--surface); backdrop-filter: blur(16px); border-radius: var(--radius-lg); box-shadow: var(--shadow-glass); border-left: 4px solid var(--tesla-red); border-top: 1px solid var(--border-light); border-right: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.barre-actions-info { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; color: var(--text-grey); }
.barre-actions-info strong { color: var(--text-dark); font-size: 1rem; font-family: 'Outfit', sans-serif;}
.btn-auto { background: var(--tesla-red); color: #ffffff; border: none; padding: 14px 24px; border-radius: var(--radius-full); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); white-space: nowrap; box-shadow: 0 4px 14px rgba(232, 33, 39, 0.3); }
.btn-auto:hover:not(:disabled) { background: var(--tesla-red-hover); box-shadow: 0 6px 20px rgba(232,33,39,0.4); transform: translateY(-2px); }
.btn-auto:disabled { background: #cbd5e1; cursor: not-allowed; box-shadow: none; transform: none; }

/* Structure globale */
.dashboard-split { display: flex; gap: 24px; padding: 24px; height: calc(100vh - 180px); }

/* Colonnes */
.colonne { flex: 1; background: var(--surface); backdrop-filter: blur(16px); padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-glass); overflow-y: auto; border: 1px solid var(--border-light); border-top: 4px solid transparent; transition: var(--transition); }
.colonne.active-col { border-top-color: var(--tesla-red); background: rgba(255,255,255,0.85); box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.1); }

/* Titres des colonnes */
.col-title { margin-top: 0; border-bottom: 1px solid var(--border-solid); padding-bottom: 16px; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1rem; color: var(--text-dark); font-family: 'Outfit', sans-serif; font-weight: 600; }

/* Cartes interactives (Véhicules et Clients) */
.carte-item { background: white; padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border-solid); margin-bottom: 16px; cursor: pointer; transition: var(--transition); position: relative; box-shadow: var(--shadow-sm); }
.carte-item:hover { border-color: var(--tesla-red); box-shadow: 0 8px 24px rgba(232,33,39,0.12); transform: translateY(-3px); }
.carte-item.selected { border-color: var(--tesla-red); background: #fffcfc; border-left: 4px solid var(--tesla-red); }

/* Badges et Textes */
.badge-count { position: absolute; top: 20px; right: 20px; color: white; border-radius: var(--radius-full); padding: 6px 14px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; }
.masque { display: none; }
.msg-attente { color: var(--text-grey); font-style: italic; text-align: center; margin-top: 60px; font-size: 1rem; }

/* Frise chronologique de planification */
.timeline-container { max-height: 400px; overflow-y: auto; border: 1px solid var(--border-solid); border-radius: var(--radius-md); padding: 20px; background: white; margin-bottom: 24px; scroll-behavior: smooth; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); }
.timeline-container::-webkit-scrollbar { width: 6px; }
.timeline-container::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

.jour-bloc { margin-bottom: 24px; }
.jour-bloc:last-child { margin-bottom: 0; }
.jour-label { font-weight: 700; font-size: 0.9rem; text-transform: capitalize; color: var(--text-dark); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--border-solid); font-family: 'Outfit', sans-serif;}

.creneaux-jour { display: flex; flex-wrap: wrap; gap: 10px; }
.creneau-pill { border: 1px solid var(--border-solid); background: #f8fafc; border-radius: var(--radius-full); padding: 10px 16px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: var(--transition); color: var(--text-dark); }
.creneau-pill:hover { border-color: var(--tesla-red); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(232,33,39,0.1); }
.creneau-pill.selected { background: var(--tesla-red); color: white; border-color: var(--tesla-red); box-shadow: 0 6px 16px rgba(232,33,39,0.25); transform: translateY(-2px); }
