/* Gardes Biologistes - Custom Styles */

body {
    background-color: #f5f7fa;
}

.planning-table td {
    vertical-align: middle;
    padding: 0.35rem 0.5rem;
}

.planning-table .garde-badge {
    font-size: 0.85rem;
    padding: 0.35em 0.65em;
}

.planning-table .assign-btn {
    opacity: 0;
    transition: opacity 0.2s;
    padding: 0.1rem 0.3rem;
    font-size: 0.75rem;
}

.planning-table tr:hover .assign-btn {
    opacity: 1;
}

.garde-cell {
    min-width: 180px;
}

/* Notification bell */
#notifCount {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.65rem;
    padding: 0.2em 0.45em;
}

.notif-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item .notif-type {
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* Dashboard cards */
.card {
    border: none;
    border-radius: 0.5rem;
}

.card-header {
    border-radius: 0.5rem 0.5rem 0 0 !important;
}

/* Weekend highlight */
.table-warning {
    --bs-table-bg: #fff8e1 !important;
}

/* Jours fériés */
tr.ferie {
    --bs-table-bg: #e9e9e9 !important;
    color: #777 !important;
}
tr.ferie .garde-select {
    opacity: 0.8;
}

/* Today highlight */
.table-info {
    --bs-table-bg: #e3f2fd !important;
}

/* Garde select inline */
.garde-select {
    min-width: 150px;
    font-size: 0.82rem;
    padding: 0.2rem 1.8rem 0.2rem 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.garde-select.bg-success option,
.garde-select.bg-warning option {
    background: white;
    color: #212529;
    font-weight: normal;
}

/* Responsive */
@media (max-width: 768px) {
    .planning-table .assign-btn {
        opacity: 1;
    }
    .garde-cell {
        min-width: 140px;
    }
}
