:root {

.button:hover {
    opacity: 0.9;
}

.container {
    padding: 30px;
}

.planning-card {
    background: var(--card);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.week-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.week-title {
    font-size: 18px;
    font-weight: 600;
}

.arrow {
    background: white;
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
}

.planning-table {
    width: 100%;
    border-collapse: collapse;
}

.planning-table th {
    text-align: left;
    font-weight: 600;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

.planning-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
}

.planning-table tr:hover {
    background: #f8fafc;
}

.name-cell {
    font-weight: 500;
}

.badge {
    background: #eef2ff;
    color: #3730a3;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.footer-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.edit-button {
    background: white;
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
}
    .planning-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.planning-table td {
    border: 1px solid var(--border);
    padding: 14px;
    text-align: center;
    vertical-align: top;
}

.row-title {
    font-weight: 600;
    background: #f8fafc;
    text-align: left !important;
    width: 140px;
}

.header-row td {
    font-weight: 600;
    background: #f1f5f9;
}

.assistant {
    background: #eef2ff;
    color: #3730a3;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.assistant.absent {
    background: #fee2e2;
    color: #991b1b;
}

.assistant.light {
    background: #ecfeff;
    color: #155e75;
}
    
.assistant-name {
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

.assistant-1 { background:#fee2e2; color:#991b1b; }
.assistant-2 { background:#e0f2fe; color:#075985; }
.assistant-3 { background:#ecfccb; color:#365314; }
.assistant-4 { background:#ede9fe; color:#4c1d95; }
.assistant-5 { background:#fef3c7; color:#92400e; }
.assistant-6 { background:#fce7f3; color:#9d174d; }
.assistant-7 { background:#dcfce7; color:#14532d; }
.assistant-8 { background:#cffafe; color:#164e63; }
    
.role {
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
}

.role-clinique { background:#dbeafe; color:#1e3a8a; }
.role-desk { background:#fde68a; color:#78350f; }
.role-telephone { background:#fecaca; color:#7f1d1d; }
.role-libre { background:#e5e7eb; color:#374151; }

.arrow {
    margin: 0 6px;
    font-weight: bold;
    color:#333;
}
.shift-block{
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:4px;
    flex-wrap:nowrap;
}

.role{
    display:inline-block;
}

.assistant-name{
    display:inline-block;
}

.arrow{
    display:inline-block;
}