/* 价格显示样式 - 从frontend/styles.css提取 */

#aiServiceCard, .expert-service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#aiServiceCard .card-body,
.expert-service-card .service-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    box-sizing: border-box;
    margin-top: auto;
}

.price-summary-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(135deg, #FF7E5F 0%, #FF6B35 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.price-summary-box .pay-now-btn-card {
    background: linear-gradient(135deg, #0A1931 0%, #1F4287 100%);
    color: #FFFFFF;
    font-weight: 800;
    border-radius: 8px;
    border: none;
    padding: 12px 26px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(31, 66, 135, 0.4);
    cursor: pointer;
}

.price-summary-box .pay-now-btn-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 66, 135, 0.6);
    background: linear-gradient(135deg, #1F4287 0%, #0A1931 100%);
}

.price-summary-box .pay-now-btn-card:active {
    transform: translateY(-1px);
}

.price-summary-box span span {
    font-weight: 800;
    color: #FFFFFF;
    font-size: 1.3rem;
}

/* 服务卡片样式 */
.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-card.selected {
    border: 2px solid #FF6B35;
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.3);
}

/* 徽章样式 */
.badge-top-left {
    position: absolute;
    top: -10px;
    left: 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    z-index: 10;
}

.badge-top-right {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    z-index: 10;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .price-summary-box {
        flex-direction: row; /* 🎯 改为左右排版 */
        gap: 12px;
        align-items: center;
        justify-content: space-between;
    }

    .price-summary-box .pay-now-btn-card {
        white-space: nowrap; /* 防止按钮文字换行 */
        flex-shrink: 0; /* 防止按钮被压缩 */
    }

    .price-summary-box > span {
        flex: 1; /* 让价格文字占据剩余空间 */
    }
}
