/* === Layout chính === */
form#trien-order-form {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    text-align: left;
}

.chu-dien {
    flex: 1.5 1;
}

.khach-hang {
    flex: 1 1;
}
.order-content {
    max-width: 900px;
    margin: 20px -75px;
}


/* === Nội dung chính === */
.order .entry-content p,
.order .entry-content li {
    text-align: justify;
    line-height: 1.5;
}

/* === Info block & khung giá, mô tả === */
.order .info-dt,
#order-result,
#price-rules {
    flex: 1;
    border: 1px solid #ccc;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: #f5f7fa;
    font-size: 15px;
    color: #333;
}

/* === Form inputs chung === */
#trien-order-form input,
#trien-order-form textarea {
    width: 100%;
    margin-bottom: 1rem;
    font-size: 14px;
    display: block;
}

/* textarea riêng */
#trien-order-form textarea {
    resize: vertical;
}

/* === Nút gửi === */
#trien-order-form button {
    background-color: #24325d;
    color: white;
    padding: 0.7rem;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
}

/* === Hiển thị kết quả giá dự đoán === */
#price-preview {
    margin-top: 1rem;
    font-weight: bold;
}

/* === Phần kết quả === */
#order-result p {
    margin: 0.5rem 0;
    font-weight: 500;
}

#order-result strong {
    color: #1a237e;
}

/* === Danh sách trùng lặp === */
#order-result .duplicate-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

#order-result .duplicate-list span {
    background: #e3f2fd;
    color: #1565c0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
    border: 1px solid #90caf9;
}

#order-result .duplicate-list[style*="color: #c62828;"] span {
    background: #ffcdd2;
    border: 1px solid #e57373;
    color: #b71c1c;
}
