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: "»";
}

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: left;
  height:auto;
}

.content_text {
  padding-bottom: 10px;
  margin: 0;
  overflow: hidden;
}
.btn-compare{
    border: 1px solid #8392a0;
    line-height: 30px;
    padding: 0 5px;
    width: 88px;
    font-size: 14px;
    margin-left: 16px;
    background: #f7f7f7;
    border-radius: 3px;
    display: inline-block;
    text-align: center;
    float:right;
}
#submodel_content {
  clear: both;
  padding:10px;
}
.group_feature{
  margin-bottom:6px;
}
.group_feature .group_child{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 15px
}

.group_feature h3 {
  font-weight: bold;
  background: #ececec;
  padding: 8px 5px;
  width: 100%;
  margin: 0px;
  position: relative;
  cursor: pointer;
}

.group_feature .feature_child {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding: 8px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
}
.group_feature .feature_child:last-child{
  border-bottom: none;
  /* padding-bottom: 0; */
}

.group_feature .feature_child:nth-child(even) {
  background-color: #f9f9f9;
}
.group_feature .feature_child:hover {
    /* background-color: #e6f7ff; */
}

.group_feature .label_name {
  width: 235px;
  color: #555;
  padding-right: 15px;
  line-height: 15px;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 13px;
}

.group_feature .label_val {
  color: #000;
  flex-grow: 1;
  font-size: 13px;
}

.group_feature .op_char {
  font-size: 16px;
}
.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 h3.is-closed span.toggle_icon::before {
    content: "+";
    top: 0px;
}


.suggest-box h3{
    margin: 0;
    padding-top: 5px;
    min-height: 31px;
    padding-left: 10px;
    color: #666;
    /* font-size: 15px; */
    background: #eaeaea;
    border: 1px solid #ccc;
    border-radius: 3px 3px 0 0;
    border-bottom: none;
}
#colR2 #submodel_list{
  border-radius: unset;
  border: 1px solid #ccc;
}
/* list tin xe cột phải */
#colR2 #list_same_submodel{
  padding:0px;
  margin:0px;
}
.suggest-box .g-box-content{
  border-radius: 0px;
}
#colR2 #list_same_submodel li.item_car{
  padding:5px;
  border-bottom: 1px solid #eee;
  /*  */
}
#colR2 #list_same_submodel li.item_car:last-child{
  border:none;
}
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;
}

li.item_car div.o_other_info{
    display: block;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    padding-left: 10px;
}

li.item_car div.o_other_info span {
    display: inline-block; 
    background: none;   
    padding: 0;
    color: #666;
}
.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;
}
.item_car:hover {
    background-color: #f8f9fa;
}
.item_car.active {
    background-color: #f0f7ff;
}
.item_car.active h4{
  color: #c83d14;
  text-decoration: underline;
  font-weight: bold;
}

/* end list tin xe */
#list_sr .sl_link 
{
	font-size:13px;
	padding:10px 6px;
	float:left;	
	border-bottom: 1px solid #eee;
}
.sl_link img
{
	 float: left;
	 width:50px;
	 margin:2px;
	 border:1px solid #ccc;
	 border-radius:1px;
	 opacity:0.8;
	 max-height:40px;
}
.sl_link:hover img
{
	opacity:1;
}
.sl_link .sl_info
{
	float:left;width: 180px;padding-top: 2px;
}
.sl_link:hover strong {font-weight:normal;color:blue}
.sl_link strong {font-weight:normal;color:#0331c4}
.sl_link span {float:left;width:100%;;color:#bbb;font-size:12px;margin-top:1px}

/* 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;
}

/* Trang so sánh xe */
#compare_car{
  width: 988px;
  float:none;
  clear:both;
}
.top_car_compare{
  width: 100%;
  align-items: stretch;
  display: flex;
  justify-content: flex-start;
  padding: 8px;
  margin-bottom: 10px;
}
.l_top{
  width: 230px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.list_car_compare{
    flex-grow: 1;
    display: flex;
}
.item_tit_car{
    padding: 5px 10px;
    display: flex;    
    flex-direction: column;
    justify-content: center;
    padding-left: 0;
    border-right: 1px dashed #d6d6d6;
    padding: 15px 10px;
    text-align: center;
    position: relative;
}
.item_tit_car:last-child{
  border:none;
}
.content_tit{
  border-radius: 3px;
 padding: 8px 0px;
 text-align: left;
}
.content_tit h3{
  color:#0331c4;
  margin: 0px;
  padding-bottom: 9px;
}

.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;
}

.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;
}

.cell_value_compare{
  width:25%;
  flex-grow: unset !important;
}
.val_car_compare{
  flex-grow: 1;
  display: flex;
  gap: 5px;
}
.top_car_compare {
    position: -webkit-sticky; /* Cho Safari */
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}
label[for='chk_hide_same']{
  cursor: pointer;
}
/* 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;
}