ul.breadcrumb {
  padding: 0;
  margin: 0;
  list-style: none;
  background: transparent;
  color: #333;
}

ul.breadcrumb li {
  display: inline-block;
}

/* Dấu ngăn cách */
ul.breadcrumb li+li:before {
  color: #333;
  content: "\00BB";
}

ul.breadcrumb li a {
  color: #0331c4;
  text-decoration: none;
}

ul.breadcrumb li a:hover {
  text-decoration: underline;
}

ul.breadcrumb li span.crumb-label {
  color: #333;
  cursor: default;
}

ul.breadcrumb li span.active-crumb {
  color: #333;
  font-weight: bold;
}

.g-b-header {
  float: none;
}

.content_text {
  padding-bottom: 10px;
  margin: 0;
  overflow: hidden;
}
/* Trang thông số kỹ thuật của đời xe */
 .matrix-wrapper {
   width: 100%;
   margin-top: 15px;
   border-radius: 8px;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
   overflow: visible;
 }

 .matrix-wrapper.has-h-scroll {
   max-height: calc(100vh - 200px);
   overflow: auto;
 }

 .table-compare {
   min-width: 100%;
   width: max-content;
   font-size: 14px;
   font-family: Arial, sans-serif;
   border-collapse: separate !important;
   border-spacing: 0 !important;
 }

 .table-compare th,
 .table-compare td {
   border-right: 1px solid #e0e0e0;
   border-bottom: 1px solid #e0e0e0;

   padding: 8px 10px;
   text-align: center;
   background: #fff;
   vertical-align: middle;
   background-clip: padding-box;
 }

 .table-compare thead tr:first-child th:first-child,
 .table-compare tbody td:first-child {
   position: sticky;
   left: 0;
   text-align: left;
  
   z-index: 2;
   background: #fff;
   box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
   border-left: 1px solid #e0e0e0;
   width: 220px;
   color: #555;
   padding-right: 15px;
   line-height: 15px;
   font-size: 14px;
   padding-left: 12px;
 }

 .table-compare thead th {
   position: sticky;
   background: #f8f9fa;
   z-index: 3;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 .table-compare thead tr:first-child th {
   top: 0;
   border-top: 1px solid #e0e0e0;
   height: 1px;
 }

 .table-compare thead tr:nth-child(2) th {
   top: 35px;
   border-top: 1px solid #e0e0e0;
   max-width: 100px;
 }

 .table-compare thead tr:first-child th:first-child {
   left: 0;
   top: 0;
   z-index: 5;
 }
 .table-compare th:not(:first-child),
 .table-compare td:not(:first-child) {
   max-width: 100px;
 }
 .feature-group-title {
   position: sticky;
   left: 0;
   background: #f4f6f8 !important;
   text-align: left !important;
   font-weight: bold !important;
   color: #333;
   /* text-transform: uppercase; */
   z-index: 2;
 }
 .top_tools {
   margin-bottom: 15px;
   padding: 10px 0;
 }

 .top_tools label {
   cursor: pointer;
   font-weight: bold;
   color: #333;
   display: flex;
   align-items: center;
   gap: 8px;
 }

 .table-compare td.val_car_compare,
 .table-compare td.cell_value_compare {
   display: table-cell !important;
   width: auto !important;
   flex-grow: unset !important;
   gap: unset !important;
   font-size: 13px;
   text-align: center !important;
   vertical-align: middle !important;
 }

 .table-compare tr.feature_child:nth-child(even) td {
   background-color: #f9f9f9;
 }

 .table-compare .group_feature td {
   color: #000;
   background: #e1e1e1 !important;
   padding-left: 8px;
 }

 .table-compare td.val_car_compare.cell-sticky-wrapper,
 .table-compare th.cell-sticky-wrapper {
   text-align: left !important;
   padding: 0 !important;
 }

 .text-sticky-center {
   position: sticky;
   left: calc(50% + 110px);
   transform: translateX(-50%);
   display: inline-block;
   width: max-content;
   max-width: 100%;
   padding: 10px;
   font-size:14px;
 }
 .group_feature span.toggle_icon{
    display: inline-block;
    width: 20px;
    font-weight: normal;
}
.group_feature span.toggle_icon::before {
    color: #757575;
    content: "_";
    position: absolute;
    right: 15px;
    font-size: 28px;
    top: -15px;
}
.group_feature .is-closed span.toggle_icon::before {
    content: "+";
    top: 0px;
}

.year-selector-wrapper {
    margin-bottom: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}

.year-selector-wrapper .label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.year-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.year-item {
    display: inline-block;
    padding: 6px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}

.year-item:hover {
    border-color: #007bff;
    color: #007bff;
    background: #f0f7ff;
}

.year-item.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    font-weight: bold;
}
.g-b-header{
  height: auto !important;
}
.g-b-header h1{
  float:none;
  margin:0px;
  padding:5px 10px;
}

/* Thanh so sánh */
.compare-bar-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    padding: 15px 0;
    z-index: 9999;
    border-top: 5px solid #1a91e5;
    display: block;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(110%);
}
.compare-bar-sticky.is-active {
    transform: translateY(0);
}
.compare-container {
    max-width: 1025px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}
.compare-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.compare-placeholder.add-slot {
    cursor: pointer;         
    border: 1px dashed #ccc;  
    background-color: #f9f9f9;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 13px;
    gap: 8px;
}

.compare-placeholder.add-slot:hover {
    background-color: #eef6ff;
    border-color: #007bff;
    color: #007bff;
}

.compare-placeholder .icon-plus {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 2px;
    line-height: 1;
}
/* Style cho ô chứa tên xe */
.compare-item-box {
    position: relative;
    background: #f8f9fa;
    border: 1px solid #ccc;
    padding: 8px 25px 8px 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis; /* Tên dài quá thì hiện dấu ... */
}
.compare-item-box h4{
  margin:0px;
  margin-bottom:10px;
}
.btn-remove-item {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #999;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px;
}
.btn-remove-item:hover {
    color: red;
}
.content_tit .btn-remove-item {
  font-size: 25px;
  font-weight: normal;
}

.compare-placeholder {
    border: 1px dashed #ccc;
    padding: 8px 15px;
    border-radius: 4px;
    color: #999;
    font-size: 13px;
    background: #fff;
}
.btn-go-compare {
    background: #1a91e5;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}
.compare-actions{
  text-align: center;
}
.btn-clear {
    color: #666;   
    padding: 10px 15px;     
    margin-right: 10px;  
    border-radius: 4px;  
    cursor: pointer;
    display: block;
}

.btn-minimize {
    position: absolute;
    top: -24px;
    right: 15px;
    background: #fff;
    color: #1a91e5;
    border: solid 1px #1a91e5;
    width: 30px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    font-size: 12px;
    display: none;
}
.compare-bar-sticky.is-active .btn-minimize{
  display: block;
}
.btn-compare{
    border: 1px solid #8392a0;
    line-height: 30px;
    padding: 0 5px;
    width: 88px;
    font-size: 14px;
    margin:0px 15px 15px 0px;
    background: #f7f7f7;
    border-radius: 3px;
    display: inline-block;
    text-align: center;
    float:right;
}
/* pop up thêm xe */
/* Nền mờ đằng sau */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Màu đen mờ */
    z-index: 9999; /* Luôn nổi trên cùng */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Hộp nội dung chính */
.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    /* overflow: hidden; */
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

/* Header */
.modal-header {
    background-color: #f8f9fa;
    padding: 8px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 { margin: 0; font-size: 17px; }

.close-modal {
    font-size: 24px;
    cursor: pointer;
    color: #999;
}
.close-modal:hover { color: #333; }

/* Body */
.modal-body { padding: 15px; }
.modal-body .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.form-group label { 
    width: 108px;
    min-width: 108px;
    margin-bottom: 0;
    margin-right: 15px;
    font-weight: 600;
    text-align: right;
}
.modal-body .form-group .custom_select{
    flex-grow: 1;
    width: 100%;
}
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}
.form-group .custom-select__option--value{
   width: 100%;
    padding:5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    line-height: 1.3;
}
#list_car_config_add{
    flex-grow: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;

    max-height: 300px; 
    overflow-y: auto;
    background: #fff;
}
#list_car_config_add li{
  padding: 5px;
  border-bottom: 1px solid #eee;
  padding-left: 10px;
  cursor: pointer;
}
#list_car_config_add li.item_car.selected {
    background-color: #e6f2ff;
    border: 1px solid #007bff;
    position: relative;
}

#list_car_config_add li.item_car.selected::after {
    content: "✔";
    position: absolute;
    top: 5px;
    right: 10px;
    color: #007bff;
    font-weight: bold;
    font-size: 16px;
}
/* Footer */
.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
    background-color: #fcfcfc;
}

.btn-cancel, .btn-confirm {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.btn-cancel { background: #eee; color: #333; margin-right: 10px; }
.btn-confirm { background: #007bff; color: #fff; }
.btn-confirm:hover { background: #0056b3; }
#modal_add_car .custom-select__option-wrap {
    overflow-y: auto;
    max-height: 26.25rem;
}
#modal_add_car .custom-select__dropdown {
    box-shadow: 3px 4px 6px 0px #999;
}
li.item_car a:hover{
  text-decoration: none;
}
li.item_car a:hover h4{
  text-decoration: underline;
}
li.item_car h4{
  margin: 0 0 4px 0; 
  font-size: 13px;  
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}
.item_car:hover {
    background-color: #f8f9fa;
}
.item_car.active {
    background-color: #f0f7ff;
}
.item_car.active h4{
  color: #c83d14;
  text-decoration: underline;
  font-weight: bold;
}
.item_tit_car.item_add_new {
    cursor: pointer;
    border: 1px dashed #ddd; /* Viền nét đứt tạo cảm giác placeholder */
    background-color: #fcfcfc;
    display: flex; /* Căn giữa nội dung */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 100%;
}
.item_tit_car h3{
  font-size: 16px; 
  color: #0331c4;
  margin:5px 0px;
}
.item_tit_car.item_add_new:hover {
    border-color: #007bff; 
    background-color: #f0f7ff;
}

.item_tit_car.item_add_new:hover .add-icon,
.item_tit_car.item_add_new:hover .add-text {
    color: #007bff;
}
.content_add_car {
    text-align: center;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.add-icon {
    display: block;
    font-size: 20px;
    line-height: 1;
}
.add-text {
    font-size: 14px;
    font-weight: 600;
}
div.v-title{
  margin-bottom: 5px;
}
div.o_other_info{
    display: block;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    padding-left: 6px;
}

div.o_other_info span {
    display: inline-block; 
    background: none;   
    padding: 0;
    color: #666;
    font-weight: normal;
}
.o_other_info span::after {
    content: "•";
    color: #ddd; 
    margin: 0 4px;  
    font-size: 14px;
    line-height: 1;
    vertical-align: text-bottom;
}
.o_other_info span:last-child::after {
    display: none;
}
.custom-dropdown-wrapper {
    position: relative;
    font-family: Arial, sans-serif;
    max-width: 100%;
}

.dropdown-trigger {
    border: 1px solid #ccc;
    padding: 8px 12px;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999; /* Đảm bảo đè lên các bảng biểu phía dưới */
    max-height: 300px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

li.dropdown-item {
    padding: 10px 12px !important;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}

.dropdown-item:hover {
    background: #f9f9f9;
}

.dropdown-item:last-child {
    border-bottom: none;
}
.full_compare_div{
  padding:12px;
}
.full_compare_div h3{
  display: inline-block;
  border-bottom: solid 3px #999;
  margin: 10px 0px;
  padding: 0px 10px 5px 0px;
}
.full_compare_div ul.list_same_submodel{
  width: max-content;
}
.full_compare_div ul.list_same_submodel li{
  padding: 5px 20px !important;
}