/* ============================================
   活动详情页专用样式
   ============================================ */

/* 活动描述 */


.activity-description h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1890ff;
}

.activity-description p {
    line-height: 1.8;
    color: #374151;
    font-size: 1rem;
}

/* 活动参与按钮区域 */
.activity-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.activity-action-left {
    flex: 1;
    text-align: center;
}

.activity-action-right {
    flex-shrink: 0;
}

.btn-activity-join {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #1890ff 0%, #006eff 100%);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(24, 144, 255, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-activity-join:hover {
    background: linear-gradient(135deg, #40a9ff 0%, #1890ff 100%);
    box-shadow: 0 0.75rem 2rem rgba(24, 144, 255, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.btn-activity-join .layui-icon {
    font-size: 1.25rem;
}

.activity-tips {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* 二维码容器 */
.qrcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qrcode-image {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.qrcode-tips {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
}

/* 活动信息表 */
.activity-info-table {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.activity-info-table h3 {
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 0.875rem 1rem;
}

.info-table .label {
    width: 30%;
    color: #6b7280;
    font-weight: 500;
    background: #f3f4f6;
}

.info-table .value {
    color: #1f2937;
}

.activity-url {
    color: #1890ff;
    word-break: break-all;
    text-decoration: underline;
}

.activity-url:hover {
    color: #40a9ff;
}

/* 温馨提示 */
.activity-notice {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 0.5rem;
}

.activity-notice h4 {
    font-size: 1rem;
    color: #92400e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-notice h4 .layui-icon {
    color: #f59e0b;
    font-size: 1.25rem;
}

.activity-notice ul {
    margin: 0;
    padding-left: 1.5rem;
}

.activity-notice li {
    color: #78350f;
    line-height: 2;
    font-size: 0.9375rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .activity-action {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .activity-action-left,
    .activity-action-right {
        width: 100%;
    }
    
    .activity-description h3 {
        font-size: 1.125rem;
    }
    
    .activity-description p {
        font-size: 0.9375rem;
    }
    
    .btn-activity-join {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .activity-info-table {
        padding: 1rem;
    }
    
    .info-table td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .info-table .label {
        width: 35%;
    }
    
    .activity-notice {
        padding: 1rem;
    }
    
    .activity-notice h4 {
        font-size: 0.9375rem;
    }
    
    .activity-notice li {
        font-size: 0.875rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .info-table td {
        display: block;
        width: 100%;
        padding: 0.5rem 0.75rem;
    }
    
    .info-table .label {
        width: 100%;
        background: transparent;
        padding-bottom: 0.25rem;
        font-size: 0.8125rem;
    }
    
    .info-table .value {
        padding-top: 0;
        font-size: 0.9375rem;
    }
    
    .info-table tr {
        border-bottom: 1px solid #e5e7eb;
        padding: 0.5rem 0;
    }
}
