body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
.navbar-brand { font-weight: 700; letter-spacing: 0.5px; }
.card { border: none; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.04); margin-bottom: 20px; }
.card-header { border-radius: 8px 8px 0 0 !important; font-weight: 600; }
.badge-itbm { background-color: #4a5568; font-family: monospace; font-size: 0.7rem; }

/* ==========================================
   VUE PLANNING (STYLE RESOURCE GURU)
   ========================================== */
.planning-container {
    max-height: 70vh;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.planning-table { border-collapse: separate; border-spacing: 0; min-width: 100%; table-layout: fixed; }
.planning-table th, .planning-table td { 
    border-bottom: 1px solid #e2e8f0; 
    border-right: 1px solid #e2e8f0; 
}
.user-cell {
    position: sticky; left: 0; z-index: 2;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.03);
    min-width: 250px; width: 250px;
}
.planning-table thead th {
    position: sticky; top: 0; z-index: 1;
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}
.planning-table thead th.user-cell { z-index: 3; }

/* Cellule du planning et bouton ajout rapide */
.day-cell { position: relative; min-width: 140px; width: 140px; vertical-align: top; padding: 6px !important; }
.day-cell.weekend { background-color: #f1f5f9; }
.day-cell:hover .cell-add-btn { opacity: 1; }
.cell-add-btn {
    opacity: 0; transition: opacity 0.2s;
    text-align: center; color: #10b981; cursor: pointer;
    background: rgba(16, 185, 129, 0.1); border-radius: 4px;
    padding: 2px 0; margin-bottom: 4px; font-size: 0.8rem; font-weight: 600;
}
.cell-add-btn:hover { background: rgba(16, 185, 129, 0.2); }

/* Blocs de tâches (Tags) */
.task-block {
    padding: 4px 6px; margin-bottom: 4px;
    border-radius: 4px; font-size: 0.75rem;
    color: #1e293b; transition: transform 0.1s;
    display: flex; justify-content: space-between; align-items: center;
    border-left: 3px solid rgba(0,0,0,0.2);
}
.task-block:hover { transform: scale(1.02); cursor: default; }
.task-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80%; }
.task-duration { font-weight: 700; opacity: 0.8; font-size: 0.7rem; }

/* Onglets */
.nav-tabs .nav-link { font-weight: 600; color: #64748b; border: none; border-bottom: 3px solid transparent; padding: 10px 20px;}
.nav-tabs .nav-link.active { color: #10b981; border-bottom: 3px solid #10b981; background: transparent; }
.nav-tabs { border-bottom: 1px solid #e2e8f0; margin-bottom: 20px; }
