/* 询盘插件样式 */

.inquiry-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.inquiry-header {
    text-align: center;
    margin-bottom: 30px;
}

.inquiry-header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.inquiry-header p {
    color: #666;
    font-size: 16px;
}

.form-section {
    margin-bottom: 25px;
}

.form-section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1e9fff;
}

.layui-form-item {
    margin-bottom: 20px;
}

.required {
    color: #ff5722;
}

.product-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.btn-remove-product {
    float: right;
    margin-top: -5px;
}

.inquiry-tips {
    background: #f0f9ff;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #1e9fff;
    margin-bottom: 20px;
}

.inquiry-tips h4 {
    color: #1e9fff;
    margin-bottom: 8px;
}

.inquiry-tips ul {
    margin: 0;
    padding-left: 18px;
}

.inquiry-tips li {
    margin-bottom: 5px;
    color: #666;
}

/* 后台管理样式 */
.inquiry-stats .layui-card {
    transition: all 0.3s ease;
}

.inquiry-stats .layui-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.priority-high {
    color: #ff5722;
    font-weight: bold;
}

.priority-urgent {
    color: #f44336;
    font-weight: bold;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.follow-timeline .layui-timeline-item {
    border-left: 2px solid #e6e6e6;
}

.follow-timeline .layui-timeline-item:last-child {
    border-left: none;
}

.status-new {
    background-color: #ff5722 !important;
}
.status-contacted {
    background-color: #ff9800 !important;
}
.status-quoted {
    background-color: #2196f3 !important;
}
.status-negotiating {
    background-color: #00bcd4 !important;
}
.status-sample-sent {
    background-color: #4caf50 !important;
}
.status-closed-won {
    background-color: #8bc34a !important;
}
.status-closed-lost {
    background-color: #9e9e9e !important;
}

.customer-tags .layui-badge {
    margin-right: 5px;
    margin-bottom: 5px;
}

.cart-icon-container {
    position: relative;
    display: inline-block;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    line-height: 1;
    font-weight: bold;
}

.tiered-price-label {
    font-size: 12px;
    color: #28a745;
    font-weight: normal;
    margin-left: 5px;
}

