/* 报价区域容器样式 */
.quote-section {
    width: 100%;
    margin-top: 30px;
    padding: 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.quote-section h3 {
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.quote-section h3::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f39c12'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 报价结果容器 */
.quote-container {
    margin-top: 20px;
}

/* 房间报价项样式 */
.room-quote {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.room-quote:hover {
    background-color: #f1f3f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.room-quote h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.quote-items {
    margin-left: 20px;
}

.quote-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #dee2e6;
    font-size: 16px;
}

.quote-item:last-child {
    border-bottom: none;
}

.quote-item .item-name {
    color: #495057;
    font-weight: 500;
}

.quote-item .item-price {
    color: #2c3e50;
    font-weight: 600;
}

/* 总价区域样式 */
.total-quote {
    background: linear-gradient(135deg, #f1f3f5 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border: 2px solid #dee2e6;
    text-align: center;
}

.total-quote h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    border-bottom: none;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}

.total-quote h3::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M20.57 14.86L22 13.43 20.57 12 17 15.57 8.43 7 12 3.43 10.57 2 9.14 3.43 7.71 2 5.57 4.14 4.14 2.71 2.71 4.14l1.43 1.43L2 7.71l1.43 1.43L2 10.57 3.43 12 7 8.43 15.57 17 12 20.57 13.43 22l1.43-1.43L16.29 22l2.14-2.14 1.43 1.43 1.43-1.43-1.43-1.43L22 16.29l-1.43-1.43zM14 14.5c0 .83-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5v-5c0-.83.67-1.5 1.5-1.5h5c.83 0 1.5.67 1.5 1.5v5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.total-price {
    font-size: 32px;
    font-weight: 700;
    color: #e74c3c;
    margin: 10px 0;
}

/* 自定义材料单价表单样式 */
.price-edit-form {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.price-edit-form h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.price-edit-form .form-group {
    margin-bottom: 15px;
}

.price-edit-form .form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.price-edit-form .form-group input[type="number"] {
    width: 100%;
    max-width: 200px;
    padding: 10px 15px;
    border: 2px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    outline: none;
}

.price-edit-form .form-group input[type="number"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 分隔线样式 */
.quote-separator {
    height: 3px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    margin: 25px 0;
    border: none;
}

/* 报价说明样式 */
.quote-notes {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
}

.quote-notes p {
    margin: 5px 0;
    color: #856404;
    font-size: 14px;
}

/* 打印按钮样式 */
.print-btn {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    text-decoration: none;
}

.print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
}

/* 响应式报价结果 */
@media (max-width: 768px) {
    .quote-section {
        padding: 20px 15px;
    }
    
    .room-quote {
        padding: 15px;
    }
    
    .quote-item {
        flex-direction: column;
        padding: 10px 0;
        gap: 5px;
    }
    
    .quote-item .item-name,
    .quote-item .item-price {
        font-size: 15px;
    }
    
    .total-quote {
        padding: 15px;
    }
    
    .total-price {
        font-size: 28px;
    }
    
    .price-edit-form .form-group input[type="number"] {
        max-width: 100%;
    }
    
    .quote-section h3,
    .total-quote h3 {
        font-size: 20px;
    }
    
    .room-quote h4 {
        font-size: 16px;
    }
}