/* VIETDESK VET cross-platform font fallback for Vietnamese and English. */
:root {
  --vds-app-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --vds-print-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, "Liberation Sans", sans-serif;
}
html, body, button, input, select, textarea {
  font-family: var(--vds-app-font) !important;
}



.pos-tier-wrap{ display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; margin-top:8px; }
.pos-tier-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  border:2px solid rgba(13,110,253,.25);
  background:rgba(13,110,253,.06);
  color:#0d6efd;
  
  font-weight:400;
  font-size:0.92rem;
  line-height:1.15;
  white-space:nowrap;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  transition:all .15s ease;
}
.pos-tier-btn:hover{ background: rgba(13,110,253,.10); box-shadow: 0 6px 16px rgba(0,0,0,.08); transform: translateY(-1px); }
.pos-tier-btn:active{ transform: translateY(0px); }
.pos-tier-btn:focus{ outline:none; box-shadow: 0 0 0 .2rem rgba(13,110,253,.15); }

.table-scroll-x {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-nowrap th,
.table-nowrap td {
    white-space: nowrap;
}

.table-nowrap {
    min-width: 1400px;
}



html { font-size: 15px; }

@media (min-width: 992px) {
  html { font-size: clamp(14px, 0.18vw + 12px, 16px); }
}

@media (min-width: 1800px) {
  html { font-size: clamp(15px, 0.14vw + 13px, 17px); }
}


html { -webkit-text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; }


.table-responsive,
.offcanvas-body,
.modal-body { -webkit-overflow-scrolling: touch; }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body { overflow-x: hidden; }




.vds-page-fill {
  
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991.98px) {
  
  .vds-page-fill {
    
    min-height: 0;
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  }
}


.vds-page-fill .vds-fill-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.vds-page-fill .vds-fill-card .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}


.vds-page-fill .vds-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: auto;
  
  overflow-y: hidden !important;
  max-height: none !important;
  height: auto !important;
}


.vds-page-fill .vds-pager-sticky {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-top: .75rem;
}


.vds-pager-sticky {
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 5;
}



img, svg, video, canvas { max-width: 100%; height: auto; }


.row > [class^="col"],
.row > [class*=" col"],
.d-flex > * { min-width: 0; }

.form-control,
.form-select,
textarea { max-width: 100%; }


.filter-row { flex-wrap: wrap !important; }

@media (max-width: 575.98px) {
  
  .filter-row > * { flex: 1 1 100% !important; }
  .filter-row .filter-box,
  .filter-row .filter-box-lg { min-width: 0 !important; }
}



.vds-date-input-group{
  position: relative;
  display:flex;
  align-items:stretch;
  flex-wrap:nowrap;
  border:1px solid #d0d5dd;
  border-radius:999px;
  overflow:hidden;
  background:#fff;
}
.vds-date-input-group > .input-group-text,
.vds-date-input-group > .vds-date-end-icon,
.vds-date-input-group > .vds-date-start-icon{
  background:#fff;
  border:0 !important;
  color:#64748b;
  padding:.55rem .9rem;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  box-shadow:none !important;
}
.vds-date-input-group > .vds-date-start-icon,
.vds-date-input-group > .input-group-text:first-child{
  border-right:1px solid #d0d5dd !important;
  border-radius:999px 0 0 999px !important;
}
.vds-date-input-group > .form-control,
.vds-date-input-group > .form-control.vds-daterange,
.vds-date-input-group > .form-control.vds-date-single,
.vds-date-input-group > .form-control[type="date"]{
  min-width:0 !important;
  flex:1 1 auto;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:#fff;
  padding-right:.9rem;
}
.vds-date-input-group > .vds-date-end-icon{
  cursor:pointer;
  border-left:1px solid #d0d5dd !important;
  border-radius:0 999px 999px 0 !important;
}
.vds-date-input-group > .vds-date-end-icon i{
  pointer-events:none;
}
.vds-date-group .input-group-text {
  background: #fff;
}
.vds-date-group .form-control {
  min-width: 240px;
}
.vds-date-group .btn {
  white-space: nowrap;
}

.vds-date-input-group.vds-date-native-group > .form-control[type="date"]{
  appearance:none;
  -webkit-appearance:none;
  position:relative;
}
.vds-date-input-group.vds-date-native-group > .form-control[type="date"]::-webkit-calendar-picker-indicator{
  opacity:0;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  cursor:pointer;
}


.form-control,
.form-select,
.input-group-text,
.btn { font-size: 1rem; }


.dropdown-menu { margin-top: 8px !important; }


.table-responsive { overflow-x: auto; overflow-y: visible; }


.table-responsive .dropdown-menu { z-index: 2050; }


.payment-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 4px 8px;
  border-radius: 12px;
  line-height: 1.05;
  font-weight: 650;
  text-align: center;
  width: 100%;
  max-width: 160px; 
  margin: 0 auto;
  white-space: nowrap;
  font-size: 0.88em; 
}
.payment-badge .amount{
  font-size: 1.08em;
  font-weight: 750;
}

.pcd-page h4,


.pk-page{
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.pk-page > .card{
  flex: 1 1 auto;
  min-height: 0;
}
.pk-page > .card > .card-body{
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.pk-page > .card > .card-body > .table-responsive{
  flex: 1 1 auto;
  min-height: 0;
}
.ppt-page{
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ppt-page > .card{
  flex: 1 1 auto;
  min-height: 0;
}
.ppt-page > .card > .card-body{
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ppt-page > .card > .card-body > .table-responsive{
  flex: 1 1 auto;
  min-height: 0;
}



.pcd-page{
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.pcd-page > .card{
  flex: 1 1 auto;
  min-height: 0;
}
.pcd-page > .card > .card-body{
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.pcd-page > .card > .card-body > .table-responsive{
  flex: 1 1 auto;
  min-height: 0;
}


.tc-card{
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.tc-card .tc-body{
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.tc-card .tc-body > .table-responsive{
  flex: 1 1 auto;
  min-height: 0;
}

.pk-page h4 {
  font-size: clamp(1.05rem, 0.35vw + 0.95rem, 1.25rem);
}


.pcd-page .filter-row .form-control,
.pcd-page .filter-row .form-select,
.pk-page .filter-row .form-control,
.pk-page .filter-row .form-select {
  font-size: 0.92rem;
  padding-top: .35rem;
  padding-bottom: .35rem;
}


.pcd-page .pcd-list-table,
.pk-page .pk-list-table {
  font-size: clamp(12px, 0.20vw + 11px, 14px);
}

.pcd-page .pcd-list-table thead th,
.pk-page .pk-list-table thead th {
  font-size: 0.82em;
  letter-spacing: .25px;
}

.pcd-page .pcd-list-table > :not(caption) > * > *,
.pk-page .pk-list-table > :not(caption) > * > * {
  padding: .35rem .45rem;
}

.pcd-page .pcd-list-table .cell-compact,
.pk-page .pk-list-table .cell-compact {
  line-height: 1.15;
}


.pcd-page .pcd-list-table td.pcd-ketluan {
  font-size: 1.08em;
}
.pcd-page .pcd-list-table td.pcd-ketluan .truncate-2 {
  -webkit-line-clamp: 3;
}


.pk-page .pk-list-table td.pk-chandoan .truncate-2 {
  -webkit-line-clamp: 4;
}


.pk-page .pk-list-table .badge {
  font-size: 0.82em;
  padding: .33rem .6rem !important;
  border-radius: .65rem;
}


@media (max-width: 575.98px) {
  .payment-badge { max-width: none; padding: 4px 8px; }

  .pcd-page .filter-row .form-control,
  .pcd-page .filter-row .form-select,
  .pk-page .filter-row .form-control,
  .pk-page .filter-row .form-select { font-size: 0.88rem; }

  .pcd-page .pcd-list-table,
  .pk-page .pk-list-table { font-size: 12px; }

  .pcd-page .pcd-list-table > :not(caption) > * > *,
  .pk-page .pk-list-table > :not(caption) > * > * { padding: .32rem .38rem; }
}


.pcd-page .pcd-list-table td.pcd-status-cell { min-width: 150px;   padding-top: .4rem;
  padding-bottom: .4rem;
}



.img-thumb{
  position: relative;
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
}
.img-thumb .img-del{
  position: absolute;
  top: 6px;
  left: 6px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  padding: 0;
  z-index: 5;
}


.vds-date-group {
  flex-wrap: nowrap;
}
.vds-date-group{
  width: auto;
  min-width: 280px;
  max-width: 100%;
}
@media (max-width: 575.98px){
  .vds-date-group{ width: 100%; }
}
.vds-date-group .form-control {
  min-width: 0 !important;
}
.vds-date-group .input-group-text {
  flex: 0 0 auto;
  white-space: nowrap;
}


.daterangepicker.vds-drp-compact .drp-calendar,
.daterangepicker.vds-drp-compact .drp-buttons{
  display: none;
}
.daterangepicker.vds-drp-compact.show-calendar .drp-calendar,
.daterangepicker.vds-drp-compact.show-calendar .drp-buttons{
  display: block;
}




.branch-modal { border-radius: 18px; overflow: hidden; }
.branch-modal__icon{
  width: 42px; height: 42px; border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: #f1f5f9; border: 1px solid #e5e7eb;
  font-size: 20px;
}
.branch-modal__panel{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}
.branch-modal__chips-row{
  display:flex; gap:10px; flex-wrap:wrap;
  max-height: 88px; overflow:auto; padding-right: 6px;
}
.branch-chip{ border-radius: 999px; }
.branch-chip.is-scanning{ outline: 3px solid rgba(13,110,253,.15); }
.branch-modal__search{ position:relative; }
.branch-modal__search-ic{
  position:absolute; left:12px; top:50%; transform:translateY(-50%);
  color:#94a3b8;
}
.branch-modal__search .form-control{ padding-left: 38px; padding-right: 44px; border-radius: 14px; }
.branch-modal__clear{
  position:absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border-radius: 12px;
}





h1 { font-size: clamp(1.35rem, 1.1vw + 1.05rem, 2.05rem); }
h2 { font-size: clamp(1.25rem, 0.9vw + 1.0rem, 1.85rem); }
h3 { font-size: clamp(1.15rem, 0.7vw + 0.95rem, 1.55rem); }
h4 { font-size: clamp(1.05rem, 0.55vw + 0.92rem, 1.35rem); }


.table { font-size: clamp(12px, 0.22vw + 11px, 14px); }
.table > :not(caption) > * > * { padding: .42rem .5rem; }
@media (max-width: 575.98px){
  .table > :not(caption) > * > * { padding: .35rem .45rem; }
}


.card { border-radius: 14px; }
.card .card-body { padding: clamp(.75rem, .5vw + .65rem, 1.1rem); }


.form-control, .form-select, .input-group-text, .btn { font-size: 1rem; }
@media (max-width: 575.98px){
  .btn { --bs-btn-padding-y: .55rem; }
}


@media (max-width: 768px){
  .vds-toolbar-left,
  .vds-search { min-width: 0 !important; width: 100% !important; max-width: none !important; flex: 1 1 100% !important; }
  .vds-toolbar form { min-width: 0 !important; width: 100% !important; }
}


@media (max-width: 575.98px){
  .mx-n1, .mx-n2, .mx-n3, .mx-n4, .mx-n5 { margin-left: 0 !important; margin-right: 0 !important; }
  .px-0 { padding-left: .5rem !important; padding-right: .5rem !important; }
}


th[style*="width:"],
td[style*="width:"] { white-space: normal; }




.pk-page .pk-list-table td.pk-chandoan {
  text-align: left;
  vertical-align: top;
}

/* Treatment Orders: Kết luận cuối cùng canh trái như Chẩn đoán,
   đồng thời căn giữa theo chiều dọc của hàng. */
.pcd-page .pcd-list-table td.pcd-ketluan {
  text-align: left;
  vertical-align: middle;
}

.pk-page .pk-list-table td.pk-chandoan ol,
.pk-page .pk-list-table td.pk-chandoan ul,
.pcd-page .pcd-list-table td.pcd-ketluan ol,
.pcd-page .pcd-list-table td.pcd-ketluan ul {
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
}

.pk-page .pk-list-table td.pk-chandoan li,
.pcd-page .pcd-list-table td.pcd-ketluan li {
  margin: 0;
  padding: 0;
}

.pk-page .pk-list-table td.pk-chandoan p,
.pcd-page .pcd-list-table td.pcd-ketluan p {
  margin: 0;
}



.vds-filter-bar{
  display:flex;
  align-items:center;
  gap:.5rem;
  width:100%;
  flex-wrap:wrap;
}
.vds-filter-bar .vds-hh-input{ flex:1 1 420px; min-width:240px; }
.vds-filter-bar .vds-date-group{ flex:1 1 320px; min-width:260px; }
.vds-filter-bar .vds-payments{ display:flex; align-items:center; gap:.5rem; flex:0 0 auto; flex-wrap:wrap; }
.vds-filter-bar .btn-group{ flex:0 0 auto; }
@media (max-width: 575.98px){
  .vds-filter-bar .vds-date-group .form-control{ min-width: 0; }
}



.vds-ac-host{position:relative;display:block;width:100%}
.vds-ac-panel{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:1080;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.12);max-height:320px;overflow:auto;-webkit-overflow-scrolling:touch}
.vds-ac-item{display:block;width:100%;padding:.65rem .85rem;border:0;background:#fff;text-align:left}
.vds-ac-item + .vds-ac-item{border-top:1px solid rgba(0,0,0,.06)}
.vds-ac-item.active,.vds-ac-item:hover{background:rgba(13,110,253,.08)}
.vds-ac-item-text{display:block;white-space:normal;word-break:break-word;font-size:.95rem;line-height:1.35}




.vds-customer-search-wrap { position: relative; }
.vds-customer-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1050;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  max-height: 360px;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(15,23,42,.10);
}
.vds-customer-suggest .suggest-group {
  padding: 8px 12px;
  font-weight: 700;
  background: #f8fafc;
  border-bottom: 1px solid #edf2f7;
}
.vds-customer-suggest .suggest-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #edf2f7;
}
.vds-customer-suggest .suggest-item:last-child { border-bottom: 0; }
.vds-customer-suggest .suggest-item:hover,
.vds-customer-suggest .suggest-item.active { background: #f1f5f9; }
.vds-customer-suggest .name { font-weight: 700; }
.vds-customer-suggest .meta { font-size: .9rem; color: #64748b; margin-top: 2px; }



.vds-auto-submit,
.vds-auto-submit .filter-row,
.vds-auto-submit .filter-box,
.vds-auto-submit .filter-box-lg,
.vds-auto-submit .filter-box-stretch,
.vds-auto-submit .vds-customer-search-wrap {
  position: relative;
  z-index: 3000;
  overflow: visible !important;
}
.vds-auto-submit .vds-customer-suggest {
  z-index: 4000 !important;
}
.vds-auto-submit + .card,
.vds-auto-submit + .card .card-body {
  position: relative;
  z-index: 1;
  overflow: visible;
}
.vds-auto-submit + .card .table-responsive {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overflow-y: visible !important;
}




@media (max-width: 767.98px) {
  .pager {
    overflow: hidden;
  }

  .pager .pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    max-width: 100%;
    margin-bottom: 0;
  }

  .pager .page-item {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .pager .page-link {
    width: auto !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: .375rem .75rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    border-radius: .375rem !important;
    font-size: 1rem;
    line-height: 1.2;
  }

  .pager .page-item.disabled .page-link,
  .pager .page-item.active .page-link {
    min-width: 42px !important;
  }
}


.vds-dropdown-portal {
  position: absolute !important;
  inset: auto !important;
  margin-top: 0 !important;
  z-index: 3000 !important;
}


.modal.vds-unified-modal .modal-dialog{padding:14px}
.modal.vds-unified-modal .modal-content{
  border:0;
  border-radius:28px;
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 28px 80px rgba(15,23,42,.20), 0 8px 22px rgba(37,99,235,.08);
}
.modal.vds-unified-modal .modal-header{
  border-bottom:0;
  padding:24px 26px 12px;
  align-items:flex-start;
  gap:14px;
}
.modal.vds-unified-modal .modal-header .btn-close{
  margin:4px 0 0 auto;
  width:40px;
  height:40px;
  border-radius:14px;
  background-color:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
  opacity:1;
}
.modal.vds-unified-modal .modal-header .btn-close:hover{transform:translateY(-1px)}
.modal.vds-unified-modal .modal-body{padding:12px 26px 26px;color:#475569;font-size:15px;line-height:1.7}
.modal.vds-unified-modal .modal-footer{
  border-top:1px solid #e2e8f0;
  padding:18px 26px 26px;
  gap:12px;
  justify-content:flex-end;
}
.modal.vds-unified-modal .modal-footer .btn{
  min-width:122px;
  border-radius:16px;
  font-weight:800;
  padding:.82rem 1.2rem;
}
.modal.vds-unified-modal .modal-footer .btn-primary,
.vds-popup-modal .btn-primary{
  background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);
  border-color:#1d4ed8;
  box-shadow:0 16px 28px rgba(37,99,235,.22);
}
.modal.vds-unified-modal .modal-footer .btn-outline-secondary,
.vds-popup-modal .btn-outline-secondary{
  border-color:#dbe3ef;
  color:#334155;
  background:#fff;
}
.modal.vds-unified-modal .modal-title{
  margin:6px 0 0;
  font-size:30px;
  line-height:1.08;
  font-weight:900;
  color:#0f172a;
}
.modal.vds-unified-modal .vds-modal-head{display:flex;gap:16px;align-items:flex-start;flex:1 1 auto;min-width:0}
.modal.vds-unified-modal .vds-modal-icon{
  width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;flex:0 0 58px;
  font-size:28px;color:#2563eb;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 24px rgba(37,99,235,.14);
}
.modal.vds-unified-modal[data-vds-tone="warning"] .vds-modal-icon{color:#ea580c;background:linear-gradient(135deg,#fff7ed 0%,#ffedd5 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 24px rgba(234,88,12,.14)}
.modal.vds-unified-modal[data-vds-tone="danger"] .vds-modal-icon{color:#dc2626;background:linear-gradient(135deg,#fef2f2 0%,#fee2e2 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 24px rgba(220,38,38,.14)}
.modal.vds-unified-modal[data-vds-tone="success"] .vds-modal-icon{color:#059669;background:linear-gradient(135deg,#ecfdf5 0%,#d1fae5 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 24px rgba(5,150,105,.14)}
.modal.vds-unified-modal .vds-modal-badge{
  display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;
  background:#eef2ff;color:#1d4ed8;font-size:12px;font-weight:800;letter-spacing:.01em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}
.modal.vds-unified-modal[data-vds-tone="warning"] .vds-modal-badge{background:#fff7ed;color:#c2410c}
.modal.vds-unified-modal[data-vds-tone="danger"] .vds-modal-badge{background:#fef2f2;color:#dc2626}
.modal.vds-unified-modal[data-vds-tone="success"] .vds-modal-badge{background:#ecfdf5;color:#047857}
.modal.vds-unified-modal .vds-modal-copy{min-width:0;flex:1 1 auto}
.modal.vds-unified-modal .vds-modal-desc{margin-top:12px;color:#64748b;font-size:15px;line-height:1.7}
.modal.vds-unified-modal .modal-footer .btn:not(.btn-primary){box-shadow:none}
.modal.vds-unified-modal.modal-fullscreen .modal-content,
.modal.vds-unified-modal .modal-dialog[class*="modal-fullscreen"] .modal-content{border-radius:0}

.vds-popup-modal.modal{z-index:20000}
.vds-popup-modal .modal-dialog{max-width:540px;padding:18px}
.vds-popup-modal .modal-content{
  border:0;border-radius:32px;overflow:hidden;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 34px 90px rgba(15,23,42,.26),0 10px 28px rgba(37,99,235,.10);
}
.vds-popup-modal .modal-body{padding:26px 28px 22px}
.vds-popup-card__top{display:flex;gap:16px;align-items:flex-start}
.vds-popup-card__icon{
  width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;flex:0 0 58px;
  font-size:28px;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);color:#2563eb;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 12px 26px rgba(37,99,235,.16)
}
.vds-popup-modal[data-vds-tone="warning"] .vds-popup-card__icon{background:linear-gradient(135deg,#fff7ed 0%,#ffedd5 100%);color:#ea580c;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 12px 26px rgba(234,88,12,.16)}
.vds-popup-modal[data-vds-tone="danger"] .vds-popup-card__icon{background:linear-gradient(135deg,#fef2f2 0%,#fee2e2 100%);color:#dc2626;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 12px 26px rgba(220,38,38,.16)}
.vds-popup-modal[data-vds-tone="success"] .vds-popup-card__icon{background:linear-gradient(135deg,#ecfdf5 0%,#d1fae5 100%);color:#059669;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 12px 26px rgba(5,150,105,.16)}
.vds-popup-card__eyebrow{
  display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;
  background:#eef2ff;color:#1d4ed8;font-size:12px;font-weight:800;letter-spacing:.01em;margin-bottom:12px
}
.vds-popup-modal[data-vds-tone="warning"] .vds-popup-card__eyebrow{background:#fff7ed;color:#c2410c}
.vds-popup-modal[data-vds-tone="danger"] .vds-popup-card__eyebrow{background:#fef2f2;color:#dc2626}
.vds-popup-modal[data-vds-tone="success"] .vds-popup-card__eyebrow{background:#ecfdf5;color:#047857}
.vds-popup-card__title{margin:0;font-size:28px;line-height:1.08;font-weight:900;color:#0f172a}
.vds-popup-card__desc{margin:12px 0 0;font-size:16px;line-height:1.7;color:#64748b;white-space:pre-line}
.vds-popup-card__footer{margin-top:22px;padding-top:18px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:12px}
.vds-popup-card__footer .btn{min-width:124px;border-radius:16px;padding:.82rem 1.2rem;font-weight:800}

@media (max-width: 767.98px){
  .modal.vds-unified-modal .modal-header{padding:20px 18px 10px}
  .modal.vds-unified-modal .modal-body{padding:10px 18px 20px}
  .modal.vds-unified-modal .modal-footer{padding:16px 18px 20px}
  .modal.vds-unified-modal .modal-title,.vds-popup-card__title{font-size:24px}
  .vds-popup-modal .modal-dialog{padding:10px}
  .vds-popup-modal .modal-body{padding:22px 18px 18px}
  .vds-popup-card__footer{flex-direction:column-reverse}
  .vds-popup-card__footer .btn{width:100%}
}


.vds-date-group,
.xv-range-group.vds-date-input-group{
  width:320px;
  max-width:100%;
}
@media (max-width: 575.98px){
  .vds-date-group,
  .xv-range-group.vds-date-input-group{ width:100%; }
}
.xv-range-group.vds-date-input-group .xv-range-input{
  width:100%;
  min-width:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}




#bcFilterForm,
#bcFilterForm .vds-filter-bar,
#bcFilterForm .vds-hh-input,
#bcFilterForm .vds-ac-host {
  position: relative;
  z-index: 6000;
  overflow: visible !important;
}
#bcFilterForm .vds-ac-panel {
  z-index: 7000 !important;
}
#bcFilterForm ~ .summary-grid,
.summary-grid,
.revenue-desktop-table,
.revenue-mobile-list {
  position: relative;
  z-index: 1;
}



.vds-ac-host{
  position:relative;
  overflow:visible !important;
}
.vds-ac-host:focus-within,
.vds-filter-bar:focus-within,
.vds-auto-submit:focus-within{
  position:relative;
  z-index:6500;
  overflow:visible !important;
}
.vds-ac-panel{
  z-index:7000 !important;
}



#bcFilterForm .bc-product-search{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:stretch;
  width:100%;
  min-width:0;
}
#bcFilterForm .bc-product-search > .form-control{
  flex:1 1 auto;
  width:1%;
  min-width:0 !important;
}
#bcFilterForm .bc-product-search > .btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}


#bcFilterForm .vds-filter-bar{
  display:grid !important;
  grid-template-columns:minmax(430px,1fr) auto minmax(340px,420px) auto;
  align-items:center;
  gap:.5rem;
  width:100%;
  overflow:visible !important;
}
#bcFilterForm .vds-hh-input{
  width:100%;
  min-width:0;
}
#bcFilterForm .bc-product-search{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:stretch;
  width:100%;
  min-width:0;
}
#bcFilterForm .bc-product-search > .form-control{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  height:34px;
}
#bcFilterForm .bc-product-search > .btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  height:34px;
  white-space:nowrap;
}
@media (max-width:1199.98px){
  #bcFilterForm .vds-filter-bar{
    display:flex !important;
    flex-wrap:wrap;
  }
  #bcFilterForm .vds-hh-input{
    flex:1 1 100%;
  }
}





.pos-hh-thumb,
.hh-sug-thumb,
.vds-suggest-thumb,
.goods-suggest-thumb,
.product-suggest-thumb,
.service-suggest-thumb,
.item-suggest-thumb,
.search-result-thumb,
.product-search-thumb,
.service-search-thumb {
    width:92px !important;
    height:92px !important;
    min-width:92px !important;
    max-width:92px !important;
    flex:0 0 92px !important;
    border-radius:16px !important;
    overflow:hidden !important;
    background:#fff !important;
    border:1px solid rgba(0,0,0,.10) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:#94a3b8 !important;
    font-size:28px !important;
}

.pos-hh-thumb img,
.hh-sug-thumb img,
.vds-suggest-thumb img,
.goods-suggest-thumb img,
.product-suggest-thumb img,
.service-suggest-thumb img,
.item-suggest-thumb img,
.search-result-thumb img,
.product-search-thumb img,
.service-search-thumb img {
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center !important;
    display:block !important;
}

.pos-hh-thumb-fallback,
.hh-sug-thumb-fallback,
.vds-suggest-thumb .bi,
.goods-suggest-thumb .bi,
.product-suggest-thumb .bi,
.service-suggest-thumb .bi,
.item-suggest-thumb .bi {
    width:100% !important;
    height:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:28px !important;
    line-height:1 !important;
}







@media (max-width: 767.98px) {
  body.modal-open {
    overflow: hidden !important;
    touch-action: none;
  }

  .modal.show {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .modal .modal-dialog,
  .modal.vds-unified-modal .modal-dialog,
  .vds-popup-modal .modal-dialog {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 24px) !important;
    margin: 12px auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    pointer-events: none;
  }

  .modal .modal-content,
  .modal.vds-unified-modal .modal-content,
  .vds-popup-modal .modal-content {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 24px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    pointer-events: auto;
  }

  .modal .modal-header,
  .modal .modal-footer,
  .modal.vds-unified-modal .modal-header,
  .modal.vds-unified-modal .modal-footer {
    flex: 0 0 auto !important;
  }

  .modal .modal-body,
  .modal.vds-unified-modal .modal-body,
  .vds-popup-modal .modal-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain;
    touch-action: pan-y !important;
  }

  .modal .modal-footer,
  .modal.vds-unified-modal .modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: inherit;
  }

  .modal .modal-body .row,
  .modal .modal-body [class*="col-"] {
    min-height: 0;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 767.98px) {
    .modal .modal-dialog,
    .modal.vds-unified-modal .modal-dialog,
    .vds-popup-modal .modal-dialog,
    .modal .modal-content,
    .modal.vds-unified-modal .modal-content,
    .vds-popup-modal .modal-content {
      max-height: calc(100vh - 24px) !important;
    }
  }
}



#modalLichHen .modal-dialog,
#mdlLichHen .modal-dialog { max-width: 980px; }

#modalLichHen .modal-content,
#mdlLichHen .modal-content {
    border: 0;
    border-radius: 0;
    box-shadow: 0 24px 72px rgba(15,23,42,.22);
}

#modalLichHen .modal-header,
#mdlLichHen .modal-header {
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f7;
    align-items: center;
}

#modalLichHen .modal-body,
#mdlLichHen .modal-body { padding: 12px 14px 10px; }

#modalLichHen .modal-footer,
#mdlLichHen .modal-footer {
    padding: 10px 14px 12px;
    border-top: 0;
    gap: 10px;
}

#modalLichHen .modal-title,
#mdlLichHen .modal-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin: 0;
}

#modalLichHen .form-label,
#mdlLichHen .form-label {
    font-size: 13px;
    margin-bottom: .25rem;
    color: #475569;
}

#modalLichHen .form-control,
#modalLichHen .form-select,
#mdlLichHen .form-control,
#mdlLichHen .form-select {
    font-size: 13px;
    padding: .35rem .5rem;
    border-radius: .375rem;
}

#modalLichHen .input-group > .form-control,
#mdlLichHen .input-group > .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#modalLichHen .input-group > .form-select,
#mdlLichHen .input-group > .form-select {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#modalLichHen input[type="number"],
#mdlLichHen input[type="number"] {
    appearance: auto;
    -moz-appearance: auto;
}

#modalLichHen .form-check-label,
#mdlLichHen .form-check-label { font-size: 13px; }

#modalLichHen .form-check,
#mdlLichHen .form-check { margin-bottom: .22rem; }

#modalLichHen .slot-grid,
#mdlLichHen .slot-grid,
.slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#modalLichHen .slot-btn,
#mdlLichHen .slot-btn,
.slot-btn {
    border: 1px solid var(--line, #e5e7eb);
    background: #fff;
    border-radius: 8px;
    padding: 5px 8px;
    min-width: 96px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
}

#modalLichHen .slot-btn.active,
#mdlLichHen .slot-btn.active,
.slot-btn.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

#modalLichHen .lh-lan,
#mdlLichHen .lh-lan {
    width: 118px;
    flex: 0 0 118px;
}

#modalLichHen .lh-required:after,
#mdlLichHen .lh-required:after,
.lh-required:after {
    content: " *";
    color: #dc3545;
}


#modalLichHen .lh-head-icon,
#modalLichHen .lh-eyebrow,
#mdlLichHen .lh-head-icon,
#mdlLichHen .lh-eyebrow {
    display: none !important;
}
