/* ==================== 公共任务卡片样式 ==================== */
/* 适用于首页和悬赏大厅的任务卡片显示 */

/* 任务卡片网格布局 */
.task-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 44px;
}

/* 任务卡片基础样式 */
.task-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
    border-radius: 16px;
    padding: 40px 32px 32px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

/* 悬停效果 (可选,目前注释) */
/* .task-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(244, 106, 28, 0.2);
    border-color: #F46A1C;
} */

/* 状态标签 */
.task-status-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 40px;
    border-radius: 0 16px 0 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 40px;
    color: #FFFFFF;
    text-align: center;
}

.task-status-badge.status-recruiting {
    background: #F46A1C;
    color: #fff;
}

.task-status-badge.status-ongoing {
    background: #F46A1C;
    color: #fff;
}

/* 价格显示 */
.task-price {
    font-weight: bold;
    font-size: 30px;
    color: #F46A1C;
    line-height: 1;
    margin-bottom: 24px;
}

.task-price .icon-price {
    margin-right: 4px;
    font-size: 20px;
}

/* 任务标题 */
.task-title {
    max-width: 234px;
    height: 16px;
    font-weight: 500;
    font-size: 16px;
    color: #121212;
    line-height: 1;
    margin-bottom: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}

/* 任务类型 */
.task-type {
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 13px;
    color: #999999;
    line-height: 16px;
}

/* 截止时间 */
.task-deadline {
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 13px;
    color: #999999;
    line-height: 16px;
}

/* 发布者信息 */
.task-publisher {
    display: flex;
    align-items: center;
}

.publisher-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 9px;
    background: #D9D9D9;
}

.publisher-name {
    font-weight: 400;
    font-size: 13px;
    color: #666666;
    line-height: 16px;
}