.fw-600{
    font-weight: 600;
}
.fw-500{
    font-weight: 500;
}
.fs-36{
    font-size: 36px;
}
.fs-11{
    font-size: 11px;
}
.cl-gray-4{
    color: #6f6f6f;
}
@media (max-width: 767px){
  .fs-18-mb{
    font-size: 18px !important;
  }
  .fs-14-mb{
    font-size: 14px !important;
  }
}
.page-bidding.popup-open{
  overflow: hidden;
}
.list-project-bidding .heading-bidding {
  padding: 60px 0;
}
@media (max-width: 767px){
  .list-project-bidding .heading-bidding {
    padding: 60px 0 30px 0;
  }
}
.list-project-bidding .heading-bidding .filter-heading .search-bidding input {
  border-radius: 100px;
  background: #F3F4F5;
  height: 36px;
  width: 100%;
  border: 0;
  font-size: 15px;
  padding: 0 24px;
}
.list-project-bidding .heading-bidding .filter-heading .search-bidding input:focus {
  border: 0;
  box-shadow: none;
  outline: 0;
}
.list-project-bidding .heading-bidding .filter-heading .search-bidding input::-moz-placeholder {
  color: #999;
  font-size: 15px;
}
.list-project-bidding .heading-bidding .filter-heading .search-bidding input::placeholder {
  color: #999;
  font-size: 15px;
}
.list-project-bidding .heading-bidding .filter-heading .date-filter-wrap {
  display: flex;
  align-items: center;
}
.list-project-bidding .heading-bidding .filter-heading .date-bidding {
  border-radius: 8px;
  background: #F3F4F5;
  height: 36px;
  width: 100%;
  border: 0;
  font-size: 15px;
  padding: 0 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.list-project-bidding .heading-bidding .filter-heading .date-bidding .date-text {
  color: #999;
}
.list-project-bidding .heading-bidding .filter-heading .date-bidding input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  cursor: pointer;
  color: transparent;
}
.list-project-bidding .heading-bidding .filter-heading .date-bidding input::-webkit-datetime-edit {
  display: none;
}
.list-project-bidding .heading-bidding .filter-heading .date-bidding input::-webkit-calendar-picker-indicator {
  opacity: 1;
  cursor: pointer;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 16px;
}
.list-project-bidding .heading-bidding .filter-heading .filter-selects {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}
.list-project-bidding .heading-bidding .filter-heading .filter-selects .select-box {
  margin-right: 24px;
  position: relative;
}
@media (max-width: 767px) {
  .list-project-bidding .heading-bidding .filter-heading .filter-selects .select-box {
    margin-right: 10px;
    margin-bottom: 10px;
  }
}
.list-project-bidding .heading-bidding .filter-heading .filter-selects .select-box svg {
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
}
.list-project-bidding .heading-bidding .filter-heading .filter-selects .select-box select {
  border-radius: 8px;
  border: 1px solid #D9D9D9;
  padding: 6px 30px 6px 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.list-project-bidding .heading-bidding .filter-heading .filter-selects .select-box select:focus {
  box-shadow: none;
  outline: none;
}
.list-project-bidding .heading-bidding .filter-heading .filter-selects .filter-price {
  border-radius: 8px;
  border: 1px solid #D9D9D9;
  position: relative;
}
.list-project-bidding .heading-bidding .filter-heading .filter-selects .filter-price a {
  width: 100%;
  height: 100%;
  padding: 6px 30px 6px 8px;
  display: flex;
  align-items: center;
}
.list-project-bidding .heading-bidding .filter-heading .filter-selects .filter-price svg {
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
}
.list-project-bidding .project_bidding {
  padding-bottom: 64px;
}
.list-project-bidding .project_bidding .bidding-item {
  border-radius: 8px;
  border: 1px solid #989898;
  padding: 12px 20px;
  height: 100%;
}
.list-project-bidding .project_bidding .bidding-item a{
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (max-width: 767px) {
  .list-project-bidding .project_bidding{
    padding-bottom: 0;
  }
  .list-project-bidding .project_bidding .bidding-item {
    margin-top: 20px;
    height: auto;
  }
  .list-project-bidding .project_bidding .j_paging{
    margin-top: auto;
    margin: 40px 0;
  }
}
.list-project-bidding .project_bidding .bidding-item.noticed .status .status-sign {
  background-color: #0088FF;
}
.list-project-bidding .project_bidding .bidding-item .infor {
  padding: 12px 0;
  border-top: 1px solid #D9D9D9;
  border-bottom: 1px solid #D9D9D9;
}
.list-project-bidding .project_bidding .bidding-item .infor .row-infor:not(:last-child) {
  margin-bottom: 5px;
}
.list-project-bidding .project_bidding .bidding-item .category {
  margin-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #D9D9D9;
}
.list-project-bidding .project_bidding .bidding-item .status {
  margin-top: auto;
  padding-top: 12px;
}
.list-project-bidding .project_bidding .bidding-item .status .status-sign {
  padding: 2px 6px;
  border-radius: 8px;
  background: #000;
  color: white;
  font-size: 11px;
  width: -moz-fit-content;
  width: fit-content;
  height: 24px;
  display: flex;
  align-items: center;
  margin-left: auto;
}

#popup_price .modal-dialog {
  max-width: 20vw;
  margin: 0 auto;
  filter: drop-shadow(-2px 2px 59px rgba(0, 0, 0, 0.25));
}
@media (min-width: 768px) and (max-width: 1024px) {
  #popup_price .modal-dialog {
    max-width: 50vw;
  }
}
@media (max-width: 767px) {
  #popup_price .modal-dialog {
    max-width: 90vw;
  }
}
#popup_price .modal-dialog .modal-content {
  position: relative;
}
#popup_price .modal-dialog .modal-content .btn-close {
  position: absolute;
  right: 14px;
  top: 15px;
}
#popup_price .modal-dialog .modal-content .btn-close:focus {
  box-shadow: none;
}
#popup_price .modal-dialog .modal-content h5 {
  border-bottom: 1px solid #d6d6d6;
}
#popup_price .modal-dialog .modal-content .wrap_prices {
  padding: 11px 14px;
}
#popup_price .modal-dialog .modal-content .wrap_prices .price-typing {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
#popup_price .modal-dialog .modal-content .wrap_prices .price-typing .price-type {
  width: 100%;
}
#popup_price .modal-dialog .modal-content .wrap_prices .price-typing .price-type input {
  width: 100%;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #D6D6D6;
  background: #FFF;
  padding: 0 0.75rem;
}
#popup_price .modal-dialog .modal-content .wrap_prices .price-typing .price-type input::-moz-placeholder {
  color: #8f8f8f;
  font-size: 12px;
  text-align: center;
}
#popup_price .modal-dialog .modal-content .wrap_prices .price-typing .price-type input::placeholder {
  color: #8f8f8f;
  font-size: 12px;
  text-align: center;
}
#popup_price .modal-dialog .modal-content .wrap_prices .price-typing .price-type input:focus {
  outline: none;
  box-shadow: none;
}
#popup_price .modal-dialog .modal-content .wrap_prices .slider {
  height: 3px;
  position: relative;
  background: #f0f0f0;
  border-radius: 5px;
}
#popup_price .modal-dialog .modal-content .wrap_prices .slider .progress {
  position: absolute;
  left: 25%;
  right: 25%;
  height: 100%;
  border-radius: 5px;
  background: #d6d6d6;
}
#popup_price .modal-dialog .modal-content .wrap_prices .range-input {
  position: relative;
}
#popup_price .modal-dialog .modal-content .wrap_prices .range-input input {
  position: absolute;
  top: -5px;
  width: 100%;
  height: 5px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
#popup_price .modal-dialog .modal-content .wrap_prices .range-input input[type=range]::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #d6d6d6;
  pointer-events: auto;
  -webkit-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
#popup_price .modal-dialog .modal-content .wrap_prices .range-input input[type=range]::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border: none;
  border-radius: 50%;
  background: #17a2b8;
  pointer-events: auto;
  -moz-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
#popup_price .modal-dialog .modal-content .btn-filter {
  padding: 0 14px 17px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#popup_price .modal-dialog .modal-content .btn-filter .btn-apply {
  border-radius: 8px;
  background: #08F;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  border: 0;
}

.modal-backdrop {
  background-color: #fff;
  opacity: 0.5;
}

.popup_bidding {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(10, 10, 10, 0.568627451);
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
.popup_bidding .wrap-form-content {
  border-radius: 20px;
  position: absolute;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  width: 860px;
  height: auto;
  padding: 40px 20px;
}
.popup_bidding .wrap-form-content .close-bidding{
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .popup_bidding .wrap-form-content {
    padding: 20px;
    width: 90vw;
  }
}
.popup_bidding .wrap-form-content .intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}
.popup_bidding .wrap-form-content .intro .logo-bidding {
  margin-bottom: 20px;
  width: auto;
  height: 80px;
}
.popup_bidding .wrap-form-content .intro h5 {
  font-size: 30px;
}
@media (max-width: 767px) {
  .popup_bidding .wrap-form-content .intro .logo-bidding {
    width: auto;
    height: 60px;
  }
  .popup_bidding .wrap-form-content .intro h5 {
    font-size: 24px;
  }
  .popup_bidding .wrap-form-content .intro p {
    font-size: 14px !important;
  }
}
.popup_bidding .wrap-form-content .box_form {
  border-radius: 16px;
  border: 1px solid #989898;
  padding: 12px 30px;
  position: relative;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .popup_bidding .wrap-form-content .box_form {
    padding: 10px;
    margin-bottom: 20px;
  }
}
.popup_bidding .wrap-form-content .box_form .tag-form {
  cursor: pointer;
}
.popup_bidding .wrap-form-content .box_form .tag-form.active .btn-form .close-form {
  display: block;
}
.popup_bidding .wrap-form-content .box_form .tag-form.active .btn-form .open-form {
  display: none;
}
.popup_bidding .wrap-form-content .box_form .tag-form .btn-form img {
  cursor: pointer;
  width: auto;
  height: 30px;
}
@media (max-width: 767px) {
  .popup_bidding .wrap-form-content .box_form .tag-form .btn-form img {
    width: 20px;
    height: auto;
  }
}
.popup_bidding .wrap-form-content .box_form .tag-form .btn-form .close-form {
  display: none;
}
.popup_bidding .wrap-form-content .box_form .tag-form .title-form {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 31px; /* 86.111% */
  letter-spacing: 0.2px;
}
@media (max-width: 767px) {
  .popup_bidding .wrap-form-content .box_form .tag-form .title-form {
    font-size: 18px;
    margin-bottom: 0;
  }
}
.popup_bidding .wrap-form-content .box_form .wrap-input {
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid #ccc;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input:not(:last-child) {
  margin-bottom: 20px;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field {
  border-radius: 15px;
  border: 1px solid #BABABA;
  height: 46px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .popup_bidding .wrap-form-content .box_form .wrap-input{
    padding-top: 20px;
  }
  .popup_bidding .wrap-form-content .box_form .wrap-input .box-input p{
    font-size: 14px;
  }
  .popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field {
    margin-top: 10px;
  }
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field.selection {
  position: relative;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field.selection::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  background-image: url("../images/down-select.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field.file-select {
  position: relative;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field.file-select::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  background-image: url("../images/plus-file.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field.file-select .name-file {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0.75rem;
  display: inline-block;
  max-width: 300px;   /* chỉnh theo layout */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field.file-select input {
  opacity: 0;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field.date-select {
  position: relative;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field.date-select::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  background-image: url("../images/calendar.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field.date-select .date-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0.75rem;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field.date-select input {
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field .form-control {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}
.popup_bidding .wrap-form-content .box_form .wrap-input .box-input .input-field .form-control:focus {
  box-shadow: none;
}
.popup_bidding .wrap-form-content .btn-send {
  display: flex;
  justify-content: center;
}
.popup_bidding .wrap-form-content .btn-send button {
  border-radius: 15px;
  padding: 12px 20px;
  width: 80%;
  border: 1px solid #000;
  background: #000;
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.5s ease;
}
@media (max-width: 767px) {
  .popup_bidding .wrap-form-content .btn-send button {
    font-size: 14px;
    padding: 10px;
  }
}
.popup_bidding .wrap-form-content .btn-send button:hover {
  transition: all 0.5s ease;
  background-color: white;
  color: #000;
  border: 1px solid #000;
}

.bidding-detail-head {
  background-color: white;
}

.btn-join-bidding {
  border-radius: 8px;
  background: linear-gradient(99deg, #6CC0F1 1.09%, #3A8BFA 98.09%);
  width: -moz-fit-content;
  width: fit-content;
  height: 40px;
}
.btn-join-bidding a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  color: white;
}

/* -------------------------supplier page------------------------------------- */
.fw-600{
  font-weight: 600;
}
.fw-500{
  font-weight: 500;
}
.cl-gray-2{
  color: #80828D;
}
.cl-black{
  color: #000;
}
.cl-white{
  color: #fff;
}

.supplier_page .supplier_header{
  padding: 40px 0;
}
.supplier_page .supplier_header .brand_intro ul{
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
}
@media (max-width: 767px){
 .supplier_page .supplier_header .brand_intro p{
    font-size: 14px !important;
 } 
 .fs-16-mb{
  font-size: 16px;
 }
}
.supplier_page .supplier_header .brand_intro ul li{
  margin-right: 15px;
}
.supplier_page .supplier_header .brand_intro ul li a{
  color: #000;
}
.btn-style{
  width: fit-content;
  height: 40px;
  border: 1px solid #000;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center; 
}
.btn-style a{
  padding: 8px 16px;
  color: #000;
  font-weight: 600;
}
.select-style{
  width: fit-content;
  height: 40px;
  border: 1px solid #000;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center; 
}
.select-style:focus{
  box-shadow: none;
  border: 1px solid #000;
}

.supplier_menu{
  border-bottom: 1px solid var(--border-neutral-medium-default, #E7E8EC);
background: var(--content-on-colors, #FFF);
margin-bottom: 80px;
}
.supplier_menu ul{
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
}
.supplier_menu ul li{
  padding: 12px 24px;
}
@media (max-width: 767px){
  .supplier_menu{
    margin-bottom: 40px !important;
  }
 .supplier_menu ul li{
    padding: 12px;
  } 
}
.supplier_menu ul li.current-menu-item{
  border-bottom: 1.5px solid var(--border-primary-strong-default, #131316);
}
.supplier_menu ul li.current-menu-item a{
  color: black;
}
.supplier_menu ul li a{
  color: var(--content-neutral-medium, #80828D);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px; /* 144.444% */
}

.supplier_page .supplier_menu .slider_breakcrumb .item-breakcrumb {
    margin-right: 20px;
    padding: 8px;
}

.supplier_page .supplier_menu .slider_breakcrumb .item-breakcrumb.active {
    border-bottom: 1.5px solid #000;
}

.supplier_page .supplier_menu .slider_breakcrumb .item-breakcrumb.active a {
    color: #000;
}

.supplier_page .supplier_menu .slider_breakcrumb a {
    color: var(--content-neutral-medium, #80828D);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
}
.modal-backdrop.show {
    z-index: 9999 !important; /* Thấp hơn modal */
}

#popup_price {
    z-index: 10000 !important;
}

#popup_price .modal-content {
    pointer-events: auto !important;
}

/* Filter selects row - căn giữa tất cả items */
.filter-selects {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Nút Xóa bộ lọc */
.filter-selects .clear-filter-box {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    border: none !important;
    margin-right: 0 !important;
}

.filter-selects .clear-filter-box a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #e74c3c;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.filter-selects .clear-filter-box a:hover {
    background: #fff1f1;
}

.chatbot-file-select {
    height: auto !important;
    min-height: 46px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
}

.auto-file-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.chatbot-file-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px 3px 6px;
    border-radius: 6px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-size: 11px;
    font-weight: 500;
    color: #374151;
    max-width: 180px;
}

.chatbot-file-tag i { font-size: 12px; flex-shrink: 0; }

.chatbot-file-tag span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chatbot-file-tag .tag-remove {
    cursor: pointer;
    color: #9ca3af;
    font-size: 10px;
    flex-shrink: 0;
    margin-left: 2px;
    transition: color 0.2s;
}

.chatbot-file-tag .tag-remove:hover { color: #ef4444; }

/* Áp dụng cho tất cả file-select trên trang mời thầu */
.popup_bidding .file-select {
    height: auto !important;
    min-height: 46px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
}

/* Trong file CSS */
@media (max-width: 991.98px) {
    .supplier_page .supplier_menu .slider_breakcrumb {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* ẩn scrollbar Firefox */
    }
    .supplier_page .supplier_menu .slider_breakcrumb::-webkit-scrollbar {
        display: none; /* ẩn scrollbar Chrome/Safari */
    }
    .supplier_page .supplier_menu .slider_breakcrumb .item-breakcrumb {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* Khóa scroll ở màn hình đen (overlay) */
.popup_bidding {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(10, 10, 10, 0.568627451);
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  overflow: hidden; /* SỬA TỪ overflow-y: auto THÀNH hidden */
}

/* Giới hạn chiều cao khung trắng và ép scroll bên trong */
.popup_bidding .wrap-form-content {
  border-radius: 20px;
  position: absolute;
  top: 50%; /* Đổi từ 5rem thành 50% */
  left: 50%;
  transform: translate(-50%, -50%); /* Dùng transform để căn giữa hoàn hảo */
  background-color: white;
  width: 860px;
  max-width: 95vw; /* Đảm bảo không tràn màn hình nhỏ */
  max-height: 90vh; /* KHOÁ CHIỀU CAO ở mức 90% màn hình */
  overflow-y: auto; /* XUẤT HIỆN THANH SCROLL BÊN TRONG KHUNG */
  padding: 40px 20px;
}

/* Cập nhật lại cho Mobile */
@media (max-width: 767px) {
  .popup_bidding .wrap-form-content {
    padding: 20px;
    width: 95vw;
    max-height: 90vh;
  }
}
/* ====================================================
   FIX 1: Class để tô đỏ viền khi input bị bỏ trống
   ==================================================== */
.popup_bidding .input-error {
    border: 1px solid #ef4444 !important; /* Viền đỏ */
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important; /* Glow nhẹ */
}

/* ====================================================
   FIX 3: Xóa khoảng trống thừa dưới ô nhập file
   ==================================================== */
.popup_bidding .chatbot-file-select {
    position: relative !important;
}

/* Rút thẻ input ra khỏi luồng flexbox (absolute) để nó KHÔNG chiếm diện tích thừa.
   Đồng thời trải rộng 100% để user click vào vùng trống hoặc dấu (+) đều mở được. */
.popup_bidding .chatbot-file-select::after {
    z-index: 3 !important;
    pointer-events: none !important;
}
.popup_bidding .chatbot-file-select input[type="file"] {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 2 !important;
}

/* Kéo các tag file nổi lên trên (z-index: 2) 
   để không bị input đè lên, giúp bấm được nút tắt (X) bình thường */
.popup_bidding .chatbot-file-select .auto-file-tags,
.popup_bidding .chatbot-file-select .chatbot-file-tag {
    position: relative !important;
    z-index: 2 !important;
}