
        /* 全局字体调整 */
        body { font-size: 14px; background-color: #f5f7fa; }
        
        /* === 左侧选项紧凑优化 === */
        .option-label {
            font-size: 13px;
            font-weight: 600;
            color: #444;
            padding-top: 6px; /* 对齐按钮 */
            text-align: right;
            padding-right: 10px;
            white-space: nowrap;
        }
        
        .compact-row {
            border-bottom: 1px dashed #eee;
            padding-bottom: 1px;
            margin-bottom: 1px !important; /* 强制减少行间距 */
        }
        
        /* 按钮组紧凑化 */
        .btn-group-sm-custom .btn {
            padding: 0.25rem 0.6rem; /* 缩小按钮内边距 */
            font-size: 13px;
            margin-right: 4px;
            margin-bottom: 4px;
            border-radius: 4px !important;
        }
        
        .btn-check:checked + .btn-outline-secondary {
            background-color: #fff;
            color: #28a745;
            border-color: #28a745;
            font-weight: bold;
        }

        /* 输入框紧凑化 */
        .form-control-sm-custom {
            height: 28px;
            font-size: 13px;
            padding: 2px 6px;
        }

        /* === 右侧侧边栏优化 === */
        .sidebar-card {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.05);
            padding: 15px;
            position: sticky;
            top: 10px; /* 悬浮效果 */
        }
        
        .section-title {
            font-size: 14px;
            font-weight: bold;
            border-left: 3px solid #0d6efd;
            padding-left: 8px;
            margin-bottom: 10px;
            color: #333;
        }

        .price-display {
            color: #dc3545;
            font-weight: bold;
            font-size: 24px;
            line-height: 1.2;
        }

        .upload-area-compact {
            border: 2px dashed #ccc;
            border-radius: 6px;
            padding: 10px;
            text-align: center;
            background: #fafafa;
            transition: all 0.3s;
            cursor: pointer;
        }
        .upload-area-compact:hover {
            border-color: #0d6efd;
            background: #f0f7ff;
        }

        /* 隐藏原本的 btn-group 默认行为，方便换行 */
        .btn-group-wrap {
            display: flex;
            flex-wrap: wrap;
        }
        button#btn_shibieadd {
                border: 1px dashed #e2e2e2;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s;
    cursor: pointer;
}/* 定义按钮显现时的醒目动画 */
@keyframes attention-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 6px rgba(13, 110, 253, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

.btn-highlight-visible {
    display: block !important; /* 强制显示 */
    animation: attention-pulse 1.5s infinite; /* 循环播放醒目动画 */
    color: #0d6efd !important; /* 文字变蓝 */
    border-color: #0d6efd !important; /* 边框变蓝 */
    background-color: #f0f7ff !important; /* 背景变浅蓝 */
    font-weight: bold;
}
  
    /* =========================================
       1. 全局重置与字体优化 (仿参考图风格)
       ========================================= */
    body {
        background-color: #fff; /* 背景改白 */
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        color: #333;
    }

    /* 调整行间距，让表单更紧凑 */
    .row.compact-row {
        margin-bottom: 1px !important; /* 行距适中 */
        border-bottom: none; /* 去掉原本的虚线，图片里看起来很干净 */
        align-items: center; /* 垂直居中 */
    }

    /* 左侧 Label 样式 */
    .option-label {
        font-size: 13px;
        color: #666; /* 浅灰色文字 */
        font-weight: normal; /* 不加粗 */
        text-align: right;
        padding-right: 15px;
        line-height: 32px; /* 与按钮高度对齐 */
    }

    /* =========================================
       2. 核心按钮样式 (仿图片：方角、带角标)
       ========================================= */
    
    /* 2.1 按钮容器微调 */
    .btn-group-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 8px; /* 按钮之间的间距 */
    }

    /* 2.2 按钮默认状态 (未选中) */
    .btn-group-wrap .btn,
    .btn-outline-secondary,
    .custom-selected {
        border-radius: 2px !important; /* 微圆角，接近直角 */
        border: 1px solid #dcdfe6 !important; /* 浅灰边框 */
        color: #606266 !important; /* 深灰文字 */
        background-color: #fff !important;
        font-size: 14px;
        padding: 0 15px; /* 左右内边距 */
        height: 32px; /* 固定高度 */
        line-height: 30px; /* 文字垂直居中 */
        box-shadow: none !important; /* 去掉阴影 */
        margin: 0 !important; /* 由 gap 控制间距 */
        position: relative; /* 为角标做定位准备 */
        transition: all 0.2s;
        overflow: visible; /* 允许角标溢出(虽然在内部) */
    }

    /* 鼠标悬停 */
    .btn-group-wrap .btn:hover,
    .btn-outline-secondary:hover {
        border-color: #c0c4cc !important;
        color: #409eff !important; /* 悬停变蓝 */
        background-color: #fff !important;
    }

   
    /* =========================================
       3. 输入框样式 (长宽输入框)
       ========================================= */
    .form-control, 
    .form-control-sm-custom,
    input[type="number"] {
        border-radius: 2px !important;
        border: 1px solid #dcdfe6;
        height: 32px; /* 与按钮同高 */
        font-size: 12px;
        padding: 0 10px;
        box-shadow: none !important;
    }
    .form-control:focus {
        border-color: #009688;
    }
    
    /* 尺寸输入框中间的 'x' 和单位 */
    .text-muted {
        font-size: 12px;
        color: #909399 !important;
        padding: 0 5px;
    }

    /* =========================================
       4. 右侧侧边栏 (价格汇总区)
       ========================================= */
    .sidebar-card {
        background: #fff;
        border: 1px solid #ebeef5;
        border-radius: 4px;
        box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1); /* 柔和阴影 */
        padding: 20px;
        position: sticky;
        top: 20px;
    }

    /* 右侧头部：工程费、税费那一栏 */
    .sidebar-header-table {
        width: 100%;
        background-color: #f5f7fa;
        border: 1px solid #ebeef5;
        margin-bottom: 15px;
        font-size: 12px;
    }
    .sidebar-header-table td {
        padding: 8px;
        border: 1px solid #ebeef5;
        text-align: center;
        color: #606266;
    }

    /* 价格大数字 */
    .price-display {
        color: #f5222d; /* 鲜艳的红色 */
        font-size: 32px;
        font-weight: bold;
        font-family: Arial, sans-serif;
    }
    .price-label {
        font-size: 14px;
        color: #333;
        font-weight: bold;
    }

    /* 交期、快递选择下拉框 */
    .form-select {
        border-radius: 2px;
        border-color: #dcdfe6;
        font-size: 12px;
        height: 32px;
    }

    /* =========================================
       5. 下单按钮 (大红色按钮)
       ========================================= */
    #submitOrder {
        background-color: #dd4b39 !important; /* 类似于京东/淘宝红 */
        border-color: #d73d32 !important;
        color: #fff !important;
        font-size: 16px;
        font-weight: bold;
        border-radius: 2px;
        padding: 10px 0;
        width: 100%;
        margin-top: 15px;
        transition: opacity 0.2s;
    }
    #submitOrder:hover {
        opacity: 0.9;
    }

    /* 底部提示文字 */
    .submit-note {
        font-size: 12px;
        color: #f5222d;
        margin-top: 5px;
    }


    
    /* 颜色块样式微调 (针对阻焊颜色等) */
    span[style*="background-color"] {
        border: 1px solid #ddd; /* 给颜色块加个淡淡的边 */
    }
    /* 外层容器 */
.order-summary-box {
    background-color: #f8f9fa; /* 浅灰背景 */
    border: 1px solid #e9ecef; /* 浅边框 */
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
    position: relative; /* 为定位做准备 */
}

/* 详情文字区域 */
.summary-content {
    font-size: 12px;
    color: #555;
    line-height: 1.6;
    word-break: break-all; /* 防止长单词撑破 */
    margin-bottom: 8px; /* 给按钮留空隙 */
    font-family: Consolas, Monaco, "Courier New", monospace; /* 仿代码字体，看起来更像参数 */
}

/* 底部操作栏 */
.summary-actions {
    display: flex;
    justify-content: space-between; /* 提示语靠左，按钮靠右 */
    align-items: center;
    border-top: 1px dashed #dee2e6; /* 虚线分隔 */
    padding-top: 6px;
}

/* 复制按钮样式 */
.copy-btn {
    font-size: 12px;
    color: #0d6efd; /* 蓝色链接 */
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.copy-btn:hover {
    color: #0a58ca;
    text-decoration: underline;
}
/* 把 xl（≥1200px）和 xxl（≥1400px）的 container 宽度都改成 1300px */
@media (min-width: 1200px) {
  .container {
    max-width: 1300px;
  }
}

/* 如果你想 sm/md/lg 也按比例放大，可以一起改 */
@media (min-width: 576px) {
  .container { max-width: 540px; }
}
@media (min-width: 768px) {
  .container { max-width: 720px; }
}
@media (min-width: 992px) {
  .container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1300px; }   /* 这里是你最想要的 */
}

