/* CSS cho thông báo giao việc nhóm */
.giaoviec-nhom-notification .timeline-item {
    border-left: 3px solid #007bff;
    /* padding-left: 15px;
    margin-bottom: 15px; */
    position: relative;
}

.giaoviec-nhom-notification .timeline-icon {
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    float: left;
    position: absolute;
    left: -15px;
    top: 0;
}

.giaoviec-nhom-notification .timeline-content {
    margin-left: 10px;
    margin-right: 10px;
    border-bottom:1px solid #686b6e;
    padding: 10px 0;
}

.giaoviec-nhom-notification .timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.giaoviec-nhom-notification .timeline-title {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.giaoviec-nhom-notification .timeline-time {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.giaoviec-nhom-notification .timeline-description {
    margin-bottom: 5px;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

.giaoviec-nhom-notification .vai-tro {
    font-weight: bold;
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 11px;
    display: inline-block;
    margin-right: 8px;
}

.giaoviec-nhom-notification .trang-thai {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    /* font-weight: bold; */
    display: inline-block;
}

.giaoviec-nhom-notification .trang-thai.chua-tien-hanh {
    background: #ffc107;
    color: #000;
}

.giaoviec-nhom-notification .trang-thai.dang-tien-hanh {
    background: #17a2b8;
    color: white;
}

.giaoviec-nhom-notification .trang-thai.cho-phe-duyet {
    background: #28a745;
    color: white;
}

.giaoviec-nhom-notification .trang-thai.hoan-thanh {
    background: #28a745;
    color: white;
}

.giaoviec-nhom-notification .trang-thai.tu-choi {
    background: #dc3545;
    color: white;
}

.giaoviec-nhom-notification .muc-do-uu-tien {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    /* font-weight: bold; */
    display: inline-block;
}

.giaoviec-nhom-notification .muc-do-uu-tien.urgent {
    background: #dc3545;
    color: white;
    animation: pulse 2s infinite;
}

.giaoviec-nhom-notification .muc-do-uu-tien.high {
    background: #dc3545;
    color: white;
}

.giaoviec-nhom-notification .muc-do-uu-tien.medium {
    background: #ffc107;
    color: #000;
}

.giaoviec-nhom-notification .muc-do-uu-tien.low {
    background: #28a745;
    color: white;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}



/* Responsive design */
@media (max-width: 768px) {
    .giaoviec-nhom-notification .timeline-item {
        align-items: flex-start;
        text-align: left;
        padding-left: 10px;
    }
    
    .giaoviec-nhom-notification .timeline-icon {
        display: none !important;
    }
    
    .giaoviec-nhom-notification .timeline-content {
        margin-left: 0;
        padding: 8px 0;
    }
    
    .giaoviec-nhom-notification .timeline-header,
    .giaoviec-nhom-notification .timeline-description,
    .giaoviec-nhom-notification .timeline-title,
    .giaoviec-nhom-notification .timeline-time {
        text-align: left !important;
    }
    
    .giaoviec-nhom-notification .timeline-header {
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
    
    .giaoviec-nhom-notification .timeline-title {
        font-size: 13px;
    }
    
    .giaoviec-nhom-notification .timeline-description {
        font-size: 12px;
    }
    
    .giaoviec-nhom-notification .vai-tro {
        font-size: 10px;
        padding: 1px 4px;
    }
}

/* Empty state */
.giaoviec-nhom-notification .empty,
.giaoviec-nhom-notification .li_empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

.giaoviec-nhom-notification .empty {
    font-size: 16px;
}

.giaoviec-nhom-notification .li_empty {
    font-size: 14px;
}

/* Loading state */
.giaoviec-nhom-notification .loading_notification {
    text-align: center;
    padding: 20px;
    color: #666;
}

.giaoviec-nhom-notification .loading_notification i {
    margin-right: 8px;
    color: #007bff;
}
