.planner-board {
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 500px;
    overflow-y: auto;
}

.task-card {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    padding: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 3px solid #ddd;
    display: flex;
    flex-direction: column;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.task-card .task-title {
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    word-break: break-word;
}

.task-card .task-details {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: auto;
}

.task-card .task-due {
    margin-bottom: 5px;
}

.task-card .task-progress {
    margin-top: 5px;
}

.task-progress .progress {
    height: 6px;
    border-radius: 3px;
}

.task-progress .progress-bar {
    font-size: 0px;
}

/* 颜色标识 */
.task-card.overdue {
    border-left-color: #dc3545;
}

.task-card.due-soon {
    border-left-color: #ffc107;
}

.task-card.in-progress {
    border-left-color: #0d6efd;
}

.task-card.completed {
    border-left-color: #198754;
}

/* 优先级样式 */
.priority-badge {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}

.priority-high {
    background-color: #dc3545;
}

.priority-medium {
    background-color: #ffc107;
}

.priority-low {
    background-color: #6c757d;
}

/* 组列表样式 */
.group-list {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.group-header {
    cursor: pointer;
    padding: 0.5rem 0;
    color: #495057;
    font-weight: 500;
    transition: background-color 0.2s;
}

.group-header:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.group-header .badge {
    font-weight: normal;
}

.group-plans {
    padding-left: 1rem;
}

.group-plan-item {
    border-left: 3px solid transparent;
    padding-left: 1rem;
    font-size: 0.9rem;
}

.group-plan-item:hover {
    border-left-color: #0d6efd;
}

.group-plan-item.active {
    border-left-color: #0d6efd;
}

.group-title {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    color: #343a40;
}

/* 计划容器样式 */
.plan-container {
    margin-bottom: 2rem;
}

.plan-header {
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.plan-header h5 {
    margin-bottom: 0;
    color: #495057;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .col-md-3, .col-md-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .planner-board {
        overflow-x: visible;
    }
}

/* 动画效果 */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s;
}

.fade-enter, .fade-leave-to {
    opacity: 0;
}

/* 加载指示器 */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* 任务计数样式 */
.badge.rounded-pill {
    font-weight: normal;
    font-size: 0.75rem;
}

.card-header {
    background-color: #f8f9fa;
    font-weight: 500;
}

.list-group-item {
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.list-group-item.active:hover {
    background-color: #0b5ed7;
}

.modal {
    z-index: 1050;
}

@media (max-width: 768px) {
    .planner-board .row > div {
        margin-bottom: 1rem;
    }
    
    .modal-dialog {
        max-width: 90%;
        margin: 1.75rem auto;
    }
}

/* 全部任务视图样式 */
.plan-container {
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.plan-header {
    background-color: #f8f9fa;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    border-radius: 8px 8px 0 0;
}

.plan-header h5 {
    margin-bottom: 0;
    font-weight: 600;
    color: #343a40;
    font-size: 1.1rem;
}

/* 任务组和任务卡片的样式增强 */
.planner-board .card {
    transition: all 0.2s ease;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.planner-board .card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.planner-board .card-header {
    font-weight: 600;
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
}

.task-card {
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    background-color: white;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.2s ease;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #dee2e6;
}

.task-title {
    font-weight: 500;
    margin-bottom: 8px;
    color: #495057;
}

.task-details {
    font-size: 0.85rem;
    color: #6c757d;
}

.task-due {
    margin-bottom: 8px;
}

.task-progress {
    margin-top: 8px;
}

.progress {
    height: 8px;
    border-radius: 4px;
}

/* 进度条颜色 */
.bg-success {
    background-color: #28a745 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

/* 任务分配样式 */
.task-assignees {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.assignee-avatars {
    display: flex;
    margin-left: 4px;
    flex-wrap: wrap;
}

.assignee-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #6c757d;
    color: white;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    cursor: default;
    transition: transform 0.2s;
    border: 1px solid #fff;
}

.assignee-avatar:hover {
    transform: scale(1.2);
    z-index: 1;
}

/* 给不同用户不同的背景色 */
.assignee-avatar:nth-child(5n+1) { background-color: #007bff; }
.assignee-avatar:nth-child(5n+2) { background-color: #28a745; }
.assignee-avatar:nth-child(5n+3) { background-color: #dc3545; }
.assignee-avatar:nth-child(5n+4) { background-color: #fd7e14; }
.assignee-avatar:nth-child(5n+5) { background-color: #6f42c1; }

/* 任务附件样式 */
.task-attachments {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    margin-top: 6px;
}

.attachment-count {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 添加空间区分任务各信息部分 */
.task-details > div:not(:last-child) {
    margin-bottom: 6px;
} 