.space-30 { padding: 30px }
.input-quote select, .input-quote input { height: 50px; width: 100%; border-radius: 6px; border: 1px solid #BABABA; background: #FFF; padding: 10px 25px; }
#input-email-quote { max-width: 450px; }
#tabsQuoteContent { background: #FFF; border: 1px solid #EF9911; border-radius: 0 10px 10px 10px; }
.title-quote { background: #F2F2F2; color: #111; font-family: SVN-Poppins; font-size: 16px; font-weight: 600; text-transform: uppercase; padding: 13px 30px; margin-bottom: 18px; }
.wrap-infor-product { width: 100%; max-width: 920px; }
.wrap-fee-info .row, .wrap-infor-product .row { margin: 0 -5px; row-gap: 10px; }
.wrap-fee-info .col, .wrap-infor-product .col { padding: 0 5px; }
.trash-item { width: 80px; height: 50px; border-radius: 6px; background: #CECECE; display: flex; align-items: center; justify-content: center; }
.wrap-upload-photo { width: 310px; aspect-ratio: 310/170; border-radius: 10px; background: #EFEFEF; padding: 5px }
.box-input { border-radius: 5px; border: 1px dashed #BABABA; padding: 5px; width: 100%; height: 100%; }
.btn-choose-image { border-radius: 30px; background: #072969; color: #FFF; padding: 10px 20px; display: flex; align-items: center; gap: 10px; justify-content: center; width: 140px; margin: 0 auto; }
.image-input { display: none; }
.show-photo-render img { height: 50px !important; }
.add-item { border-radius: 6px; background: #EF9911; width: 120px; height: 50px; display: flex; align-items: center; justify-content: center; color: #FFF; font-family: SVN-Poppins; font-size: 15px; font-weight: 600; line-height: normal; cursor: pointer; gap: 10px; }
.btn-submit-quote { border-radius: 6px; background: #EF9911; width: 200px; height: 50px; flex-shrink: 0; color: #FFF; font-family: SVN-Poppins; font-size: 15px; font-weight: 600; line-height: normal; cursor: pointer; margin: 0 auto; display: block; margin-top: 20px; border: none; }
.title-container { display: flex; align-items: center; gap: 8px; }
.tooltip-wrapper { position: relative; cursor: pointer; }
.tooltip-wrapper .fa-info-circle { font-size: 15px; color: #888; transition: color 0.3s ease; }
.tooltip-wrapper:hover .fa-info-circle { color: #007bff; }
.tooltip-wrapper::after { content: attr(data-tooltip); position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%); background-color: #333; color: #fff; padding: 8px 12px; border-radius: 6px; font-size: 14px; max-width: 450px; white-space: normal; text-align: left; line-height: 1.4; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 10; width: 450px; text-transform: capitalize; }
.tooltip-wrapper:hover::after { opacity: 1; visibility: visible; }

/* ===== QUOTE FORM STYLES ===== */
.quote-item { background: #fff; border: 1px solid #e9ecef; border-radius: 12px; margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); transition: all 0.3s ease;    /* overflow: hidden; */ }

/* .quote-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
} */
.quote-item-header { background: var(--main-color); color: white; padding: 6px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e9ecef; }
.quote-item-title { display: flex; align-items: center; font-size: 18px; font-weight: 600; margin: 0; }
.quote-item-title i { font-size: 20px; margin-right: 8px; }
.quote-item-actions { display: flex; gap: 8px; }
.btn-remove-item { background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); color: white; width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; cursor: pointer; }
.btn-remove-item:hover { background: rgba(220, 53, 69, 0.9); border-color: #dc3545; transform: scale(1.05); }
.quote-item-content { padding: 24px; }
.quote-section { margin-bottom: 0; }
.quote-section:last-child { margin-bottom: 0; }
.quote-section-header { background: #f8f9fa; padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; display: flex; align-items: center; font-weight: 600; color: #495057; border-left: 4px solid var(--maincolor); gap: 10px; }
.quote-section-header i { color: var(--maincolor); font-size: 16px; }
.quote-section-content { padding: 0; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 500; color: #495057; font-size: 14px; }
.form-control { width: 100%; padding: 12px 16px; border: 2px solid #e9ecef; border-radius: 8px; font-size: 14px; transition: all 0.3s ease; background-color: #fff; }
.form-control:focus { border-color: var(--maincolor); box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); outline: none; }

/* .form-control:invalid {
    border-color: #dc3545;
}

.form-control:valid {
    border-color: #28a745;
} */

/* Image Upload Styles */
.image-upload-box { border: 2px dashed #dee2e6; border-radius: 12px; padding: 12px; text-align: center; transition: all 0.3s ease; background: #fafbfc; }
.image-upload-box:hover { border-color: var(--maincolor); background: rgba(0, 123, 255, 0.05); }
.image-preview { margin-bottom: 16px; min-height: 58px; display: flex; align-items: center; justify-content: center; position: relative; }
.default-photo-icon { opacity: 0.6; transition: opacity 0.3s ease; }
.image-upload-box:hover .default-photo-icon { opacity: 1; }
.photo-preview { max-width: 100%; max-height: 120px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.image-input { display: none; }
.btn-upload-image { background: var(--maincolor); color: white; padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.3s ease; display: inline-flex; align-items: center; text-decoration: none; gap: 12px; }
.btn-upload-image:hover { background: #0056b3; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3); }

/* Add Product Button */
.btn-add-product { background: linear-gradient(135deg, var(--maincolor) 0%, #0056b3 100%); color: white; border: none; padding: 14px 28px; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3); }
.btn-add-product:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4); }
.btn-add-product:active { transform: translateY(0); }

/* Total Summary Card */
.total-summary-card { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border: 2px solid var(--maincolor); border-radius: 16px; padding: 24px; margin-top: 32px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }
.total-summary-header { background: var(--maincolor); color: white; padding: 16px 24px; margin: -24px -24px 24px -24px; border-radius: 14px 14px 0 0; display: flex; align-items: center; font-size: 18px; font-weight: 600; }
.total-summary-header i { margin-right: 12px; font-size: 20px; }
.total-summary-content { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.total-summary-item { text-align: center; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.total-summary-label { font-size: 14px; color: #6c757d; margin-bottom: 8px; font-weight: 500; }
.total-summary-value { font-size: 24px; font-weight: 700; margin: 0; }
.total-summary-value.usd { color: var(--maincolor); }
.total-summary-value.vnd { color: #28a745; }

/* Responsive Design */
@media (max-width:768px) {
    .quote-item-header { padding: 12px 16px; }
    .quote-item-title { font-size: 16px; }
    .quote-item-content { padding: 16px; }
    .quote-section-header { padding: 10px 12px; font-size: 14px; }
    .form-control { padding: 10px 12px; }
    .image-upload-box { padding: 16px; }
    .total-summary-content { grid-template-columns: 1fr; gap: 16px; }
    .total-summary-item { padding: 16px; }
    .total-summary-value { font-size: 20px; }
}

/* Animation for new items */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.quote-item.new-item { animation: slideInUp 0.5s ease-out; }

/* Loading states */
.form-control.loading { background-image: url('data:image/svg+xml;utf8,<svg xmlns=!string!viewBox=!string!fill=!string!stroke=!string!stroke-width=!string!stroke-linecap=!string!stroke-linejoin=!string!><path d=!string!/></svg>'); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; animation: spin 1s linear infinite; }
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success/Error states */
.form-control.is-valid { border-color: #28a745; background-image: url('data:image/svg+xml;utf8,<svg xmlns=!string!viewBox=!string!fill=!string!stroke=!string!stroke-width=!string!stroke-linecap=!string!stroke-linejoin=!string!><polyline points=!string!/></svg>'); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.form-control.is-invalid { border-color: #dc3545; background-image: url('data:image/svg+xml;utf8,<svg xmlns=!string!viewBox=!string!fill=!string!stroke=!string!stroke-width=!string!stroke-linecap=!string!stroke-linejoin=!string!><circle cx=!string!cy=!string!r=!string!/><line x1=!string!y1=!string!x2=!string!y2=!string!/><line x1=!string!y1=!string!x2=!string!y2=!string!/></svg>'); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
#product-list input, #product-list select { height: 50px; }
.input-with-suggest { position: relative; }
#suggest-box { position: absolute; z-index: 10000; background: #fff; padding: 0; border: 1px solid #ddd; border-radius: 8px; max-height: 300px; overflow-y: auto; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; margin-top: 5px; }
#suggest-box.show { opacity: 1; visibility: visible; transform: translateY(0); }
#suggest-box ul { padding: 0; margin: 0; list-style: none; }
#suggest-box ul li { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; gap: 10px; }
#suggest-box ul li:last-child { border-bottom: none; }
#suggest-box ul li:hover { background-color: #f8f9fa; color: var(--maincolor); }
#suggest-box ul li.selected { background-color: var(--maincolor); color: #fff; }
#suggest-box .suggest-item { display: flex; align-items: center; gap: 10px; width: 100%; }
#suggest-box .suggest-image { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
#suggest-box .suggest-info { flex: 1; min-width: 0; }
#suggest-box .suggest-name { font-weight: 500; font-size: 14px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#suggest-box .suggest-price { font-size: 12px; color: #666; }
#suggest-box .suggest-price.sale { color: var(--maincolor); font-weight: 600; }
#suggest-box .no-results { padding: 20px; text-align: center; color: #666; font-style: italic; }
.quote-section-content .row { margin: 0 -5px !important; }
.quote-section-content .row>* { padding: 0 5px !important; }
.summary-box { max-width: 24rem; background-color: #f9fafb; border-radius: 0.75rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); padding: 1rem; margin-top: 20px; margin-left: auto; }
.summary-box h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid #e5e7eb; }
.summary-row:last-child { border-bottom: none; }
.summary-label { color: #4b5563; }
.summary-value { font-weight: 600; }
.summary-value.usd { color: #1d4ed8; }
.summary-value.vnd { color: #15803d; }
#holdon-overlay .sk-bounce > div { background-color: var(--maincolor) !important; /* Xanh lá */ }
.price-detail-link { font-size: 12px; cursor: pointer; }
@media (max-width:1024px) {
    .tooltip-wrapper::after { display: none; }
}