:root {
    --board-bg: #f6f8f9;
    --section-bg: #ffffff;
    --border-color: #e0e6e8;
    --primary-color: #7b68ee;
    --text-primary: #1e1f21;
    --text-secondary: #6b6f76;
    --hover-bg: #f4f5f7;
}

.task-board-container {
    background: var(--board-bg);
    min-height: calc(100vh - 120px);
    padding: 24px;
    overflow-x: auto;
}

.board-sections-container {
    display: flex;
    gap: 16px;
    min-height: calc(100vh - 170px);
}

.board-section {
    background: var(--section-bg);
    border-radius: 8px;
    width: 340px;
    min-width: 340px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 170px);
}

.section-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-count {
    background: #f1f2f4;
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.task-list {
    padding: 8px;
    overflow-y: auto;
    flex-grow: 1;
}

.task-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
    margin-top: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.task-item:hover {
    background: var(--hover-bg);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    border-color: #9ca3af;
}

.task-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    position: relative;
}

.task-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.task-checkbox {
    color: #dfe1e6;
    font-size: 16px;
    margin-top: 2px;
}

.task-meta {
    margin-left: 8px;
    font-size: 12px;
}

.mark-complete-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(9, 30, 66, 0.10);
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
    padding: 0;
    z-index: 2;
}

.mark-complete-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
    transition: stroke 0.2s ease;
}

.mark-complete-btn:hover {
    background: #00875a;
    border-color: #00875a;
    box-shadow: 0 2px 6px rgba(0, 135, 90, 0.25);
}

.mark-complete-btn:hover svg {
    stroke: #fff;
}

.mark-complete-btn.completed {
    background: #00875a;
    border-color: #00875a;
    cursor: default;
}

.mark-complete-btn.completed svg {
    stroke: #fff;
}

.task-type {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.task-asin {
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
    display: inline-block;
}

.task-description {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.task-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.task-assignee {
    display: flex;
    align-items: center;
    gap: 6px;
}

.avatar-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.task-due-date {
    color: var(--text-secondary);
}

.task-due-date.overdue {
    color: #de350b;
}

.collaborators-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.collaborator-badge {
    background: #f1f2f4;
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.task-actions {
    display: flex;
    gap: 4px;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.task-action-btn {
    flex: 1;
    padding: 6px 8px;
    font-size: 11px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    color: var(--text-primary);
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.task-action-btn:hover {
    background: var(--hover-bg);
    text-decoration: none;
}

/* Custom Scrollbar */
.task-list::-webkit-scrollbar {
    width: 8px;
}

.task-list::-webkit-scrollbar-track {
    background: transparent;
}

.task-list::-webkit-scrollbar-thumb {
    background: #dfe1e6;
    border-radius: 4px;
}

.task-list::-webkit-scrollbar-thumb:hover {
    background: #c1c7d0;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 16px;
    text-align: center;
}

.empty-state i {
    font-size: 28px;
    color: #29292b;
    margin-bottom: 8px;
}

.empty-state p {
    color: #060607;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

.ui-sortable-placeholder {
    background: #e4e6ea;
    border: 2px dashed #c1c7d0;
    border-radius: 6px;
    margin-bottom: 8px;
    visibility: visible !important;
    height: auto !important;
    min-height: 60px;
    box-sizing: border-box;
}

.ui-sortable-helper {
    opacity: 0.85;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transform: rotate(1deg);
    z-index: 1000 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    width: 300px !important;
    max-width: 300px !important;
    min-width: 300px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 300px !important;
}

.ui-sortable-helper.dragging-task-helper {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: auto !important;
}

.ui-sortable-helper .task-item,
.ui-sortable-helper.task-item {
    box-sizing: border-box !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}