.my-tasks-page {
    min-height: 100vh;
    background: var(--bg-grey, #f5f6fa);
}

.tasks-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tasks-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tasks-back svg {
    width: 22px;
    height: 22px;
    color: #333;
}

.tasks-title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
}

.tasks-placeholder {
    width: 36px;
}

.tasks-tabs {
    display: flex;
    background: #fff;
    padding: 4px;
    margin: 12px 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tasks-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    color: #999;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.tasks-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.tasks-list {
    padding: 0 15px;
}

.task-item {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s;
}

.task-item:active {
    transform: scale(0.98);
}

.task-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.task-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-item-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    margin-left: 10px;
}

.task-item-status.ongoing { background: linear-gradient(135deg, #4B7BEC, #6C8FF2); }
.task-item-status.confirming { background: linear-gradient(135deg, #2EC4B6, #5DD9CD); }
.task-item-status.completed { background: linear-gradient(135deg, #26de81, #6dd5a0); }
.task-item-status.cancelled { background: #999; }

.task-item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.task-item-meta svg {
    width: 14px;
    height: 14px;
    stroke: #bbb;
    margin-right: 3px;
}

.task-item-reward {
    font-size: 18px;
    font-weight: 700;
}

.task-item-reward.cash { color: #FF6B35; }
.task-item-reward.points { color: #4B7BEC; }
.task-item-reward.free { color: #2EC4B6; }

.task-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f5f5f5;
}

.task-item-time {
    font-size: 12px;
    color: #bbb;
}

.task-item-action {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    cursor: pointer;
}

.tasks-empty {
    text-align: center;
    padding: 60px 20px;
    color: #ccc;
    font-size: 15px;
}