/* 任务大厅页面样式 */

/* 任务卡片样式 */
.task-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.task-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 任务标题样式 */
.task-title {
    font-size: 1.25rem;
    line-height: 1.4;
}

/* 操作栏样式 */
.action-bar {
    background-color: #fff;
}

.action-stats {
    font-size: 0.875rem;
}

/* 筛选表单样式 */
.filter-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 任务详情页样式 */
.detail-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background-color: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.detail-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 数据卡片样式 */
.data-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 8px;
    padding: 1.25rem 1rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

.data-card .label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-card .value {
    font-weight: 700;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

/* 企业信息卡片 */
.company-card {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.company-card:hover {
    background-color: #f1f5f9;
}

/* 分割线样式 */
.divider {
    border-top: 1px dashed #e9ecef;
    margin: 1.5rem 0;
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 12px;
    background-color: #fff;
}

/* 标签样式 */
.badge-custom {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    border-radius: 4px;
    font-weight: 500;
}

/* 按钮样式 */
.btn-custom {
    border-radius: 6px;
    font-size: 0.875rem;
    padding: 8px 18px;
    transition: all 0.2s ease;
    font-weight: 500;
    border-width: 1px;
}

.btn-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 信息标签样式 */
.info-label {
    color: #6c757d;
    font-weight: 600;
    min-width: 90px;
    display: inline-block;
}

/* 响应式适配 */
@media (max-width: 767.98px) {
    /* 移动端按钮全屏宽 */
    .btn-custom {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    /* 移动端信息标签堆叠 */
    .info-label {
        display: block;
        margin-bottom: 0.25rem;
    }

    /* 移动端卡片间距 */
    .detail-card {
        margin-bottom: 1rem !important;
    }
    
    /* 移动端任务卡片 */
    .task-card {
        margin-bottom: 1.5rem;
    }
    
    /* 移动端任务标题 */
    .task-title {
        font-size: 1.1rem;
    }
}

/* 加载动画 */
.btn-custom.loading {
    position: relative;
    pointer-events: none;
}

.btn-custom.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translateY(-50%);
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* 企业头像优化 */
.company-avatar {
    transition: all 0.3s ease;
}

.company-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 空状态样式 */
.empty-state {
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state i {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #6c757d;
    margin-bottom: 0;
}