@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");

*{
  font-weight: 400;
}
:root {
  --bs-body-line-height: 1.2;
  --bs-border-radius: 20px;
  --bs-border-radius-sm: 20px;
  
}
.table-hover>tbody>tr:focus-within>*,
.table-hover>tbody>tr:focus>*,
.table-hover>tbody>tr:active>*,
.table-hover>tbody>tr:hover>* {
  --bs-table-bg-state: var(--bs-tertiary-bg);
}

.dropdown-menu {
  /* --bs-dropdown-bg: var(--bs-body-bg) */
}
.table-striped>tbody>tr:nth-of-type(odd)>* {
  --bs-table-bg-type: rgb(244,251,247,.6);
}
.dropdown-item,
.table>:not(caption)>*>*{
  /* color: #000; */
  font-weight: 300;
}
svg {
  fill: currentColor;
}

.bg-success {
  background-color: #28a745!important;
}
.table-bordered>:not(caption)>*{
  border: none;
}
.navbar {
  padding: 0rem 0rem;
}
#toolbar {
  padding-top: .725rem;
}
.fixed-table-toolbar {
  margin-top: 0rem;
}
/* .bootstrap5 {
  max-height: calc(100vh - 110px);
} */
ul.pagination {
  /* height: 38px; */
}
.bootstrap-table .fixed-table-toolbar .bs-bars {
  margin-top: 0px !important;
}

.page-link {
  min-width: 32px !important;
  width: 32px !important;
  min-height: 32px !important;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.disabled > .page-link,
.page-link {
  border-radius: 50%;
  margin: 0 2px;
  background-color: transparent;
  /* min-width: 36px;
  height: 36px; */
  text-align: center;
  border-width: 1px;
  color: #aaaaaa;
  border-color: transparent;
  font-weight: 400 !important;
}

.active > .page-link {
  background-color: transparent !important;
  /* border-color: green; */
  color: green !important;
  border-color: transparent !important;
}

.disabled > .page-link:hover {
  background-color: unset;
}

.page-item.page-pre .page-link,
.page-item.page-next .page-link {
  border-radius: 50%;
  /* font-size: 1.5rem;
    line-height: 1rem; */
}

.fixed-table-pagination {
  color: #aaaaaa;
}

.pagination-detail .btn {
  background-color: transparent;
  border-width: 0;
  /* color: #aaaaaa; */
  /* color: black; */
}

.my-table .form-control {
  background-color: #ffffff;
  border: 1px solid #aaaaaa;
  border-radius: 30px;
  color: #666666;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  opacity: 1;
}

.my-table .form-control:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  border-color: #aaaaaa;
}

.bootstrap-table .fixed-table-container.fixed-height .table thead th,
.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border,
.table td,
/* .table tr, */
.fixed-table-footer tr,
.fixed-table-header tr,
.table th {
  border: none;
  border-bottom: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.table > :not(:first-child) {
  border-top: none;
}

.fixed-table-loading {
  width: 100%;
  background: transparent !important;
}

.fixed-table-container {
  border: 0.5px solid #dee2e6;
}
.fixed-table-header {
  border-bottom: 0.5px solid #dee2e6;
}
.fixed-table-footer {
  border-top: 0.5px solid #dee2e6;
}
.selected-filter {
    padding-bottom: 1rem;
    padding-top: 1rem;
    font-weight: bold;
    display: flex;
    gap: .5rem;
    align-items: center;
}
.fixed-table-container.fixed-height {
  padding-bottom: 0px !important;
}
.bootstrap-table .fixed-table-container .fixed-table-body,
.fixed-table-border {
  max-height: calc(100vh - 196px) !important;
}
.fixed-table-border {
  width: 100% !important;
  height: auto !important;
}

.btn.btn-secondary {
  background: transparent;
  /* color: black; */
  border: none;
  /* border-radius: 2rem; */
}
.page-item.page-first-separator .page-link,
.page-item.page-last-separator .page-link {
  border: none;
}
/* .bootstrap-table .fixed-table-pagination>.pagination-detail .page-list {
    display: none;
} */
.pagination-detail .btn {
  font-size: 0.875rem;
}
.bootstrap-table .fixed-table-container .table thead th {
  vertical-align: middle;
}
.bootstrap-table .fixed-table-container .table thead th .desc {
  background-image: url(../assets/table/sort-down.svg) !important;
  filter: var(--bs-svg-filter);
  color: black !important;
}
.bootstrap-table .fixed-table-container .table thead th .asc {
  background-image: url(../assets/table/sort-up.svg) !important;
  filter: var(--bs-svg-filter);
  color: black !important;
}
.bootstrap-table .fixed-table-container .table thead th .both {
  background-image: none;
}
.bootstrap-table .fixed-table-container .table thead th .both:hover {
  background-image: url(../assets/table/sort-down.svg);
  filter: var(--bs-svg-filter);
  color: black !important;
}

.bootstrap-table .th-inner {
  color: var(--bs-body-color) !important;
}
.pagination-info {
  font-weight: 300;
}
.bootstrap-table th .both {
  font-weight: 500 !important;
}
.table-bordered {
  border: none;
}
.bootstrap-table .fixed-table-pagination>.pagination, .bootstrap-table .fixed-table-pagination>.pagination-detail {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-right: 0rem;
}
.fixed-table-pagination {
  float: right;
  display: flex;
  gap: 0rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-right: 3rem;
  margin-top: .123rem;
}
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.disabled,
.navbar-light .navbar-brand,
.navbar-light .navbar-nav .nav-link {
  color: rgb(244, 232, 232);
}
.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-nav .nav-link:hover {
  color: white;
}
.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
  color: white;
}
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  color: white;
}
.nav-link.dropdown-toggle:hover {
  color: #04c253;
}

div.dropdown-multicol {
  width: 30em;
}
div.dropdown-row > a.dropdown-item {
  display: inline-block;
  width: 32%;
}

/* Columns */
div.dropdown-multicol2 {
  width: 30em;
}
div.dropdown-multicol2 > div.dropdown-col {
  display: inline-block;
  width: 32%;
}
.detail-view td:hover,
.detail-view td {
  /* padding: 0rem 0rem; */
  /* background-color: white; */
}
.w-100vw {
  max-width: 100vw;
}
tr.detail-view:hover,
.table-bg {
  background-color: white;
}
.table-content {
  padding: 1rem 3.225rem;
  background: white;
  font-weight: 300;
}
.table-content .content {
  max-width: calc(100vw - 8rem);
}
.table-content .content .tab-pane {
  padding: 1rem 0rem;
  /* border-top: 1px #04c253 solid; */
}

.nav-link,
.nav-underline .nav-link, 
.nav-underline .show>.nav-link {
  /* color: #333; */
}
.nav-link:hover,
.nav-underline,
.nav-underline .nav-link.active, 
.nav-underline .nav-link:hover, 
.nav-underline .show>.nav-link {
  border-bottom-color: #04c253;
  border-width: 1px;
  color: #04c253;
  font-weight: 300;
}
.dropdown-item {
  padding-top: .625rem;
  padding-bottom: .625rem ;
}
h5, .offcanvas-title,
h1, .modal-title {
  font-weight: 400;
}
.label-link {
  color: #333;
  font-weight: 300;
  text-decoration: underline;
  text-underline-position: under;
  text-underline-offset: 0.1rem;
  text-decoration-thickness: 0.055rem;
}
.label-link:hover {
  color: #04c253;
}
.fixed-table-toolbar .columns-right,
.fixed-table-toolbar .search  {
  margin-top: 1rem;
}
.form-check-input:checked {
  background-color: #04c253;
  border-color: #04c253;
}
.form-check-input:focus,
.form-select:focus,
.form-control:focus {
  box-shadow: none;
  border-color: #04c253;
}
/* .modal {
  --bs-modal-border-radius: .5rem;
} */

label,
.modal-title,
tr th .th-inner {
    /* font-weight: 500 !important; */
}
.sortable-list>ul {
  max-height: calc(100vh - 300px);
  overflow-x: auto;
}
.sortable-list>ul>li .text-truncate {
  white-space: break-spaces;
}
.scroll {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
}
.scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  -ms-overflow-style: -ms-autohiding-scrollbar; 
  -ms-overflow-style: none;
}


input#loai_hang-selectized {
  width: 100% !important;
}
:root {
  --bs-border-radius-sm: 1rem;
}
body {
  /* color: #000810; */
  line-height: 18px;
  top: 0px !important;
}

figure {
  margin-block-start: unset;
  margin-block-end: unset;
  margin-inline-start: unset;
  margin-inline-end: unset;
  display: block;
  width: 100%;
}
.form-control::placeholder {
  opacity: .7;
  color: #999
}

.bootstrap-select>.dropdown-toggle.bs-placeholder, 
.bootstrap-select>.dropdown-toggle.bs-placeholder:active, 
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus, 
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  opacity: .7;
}
.bootstrap-select button {
  background-color: transparent;
}

.bootstrap-select button:focus-visible,
.bootstrap-select .filter-option:focus-visible,
.bootstrap-select button,
.bootstrap-select button:focus {
  border-left: none;
  border-top: none;
  border-right: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0;
  outline: none;
  outline-color: none !important;
  border-color: var(--bs-border-color);
}
.bootstrap-select .dropdown-toggle:focus, 
.bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
  outline: none !important;
}
.form-control:hover {
  border-color: green;
}

.input-group-text {
  border-left: none;
  border-top: none;
  /* border-right: none; */
  box-shadow: none;
  background-color: none;
  border-radius: 50%;
  padding: 0 0;
}
.form-control-plaintext,
.selectize-input,
.input-group-text,
.form-select,
.form-select:focus,
.form-control:focus,
.form-control {
  border-left: none;
  border-top: none;
  border-right: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 !important;
}
.form-check-input:checked {
  background-color: green;
  border-color: green;
}
.form-check-label {
  margin-top: 1.5px;
}
.form-check {
  margin-bottom: 0;
}
.col-form-label {
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 0;
  font-weight: 400 !important;
  /* color: black !important; */
  gap: 3px;
}
.input-group:focus .input-group-text,
.input-group:hover .input-group-text,
.form-control:focus {
  border-bottom-color: green;
}
.dropdown-menu {
  /* --bs-dropdown-link-active-bg: var(--bs-success-bg-subtle);
  --bs-dropdown-link-active-color: black; */
}
.modal {
  --bs-modal-header-padding: 1rem 1.5rem;
  --bs-modal-padding: 0rem 1.5rem 0rem 1.5rem;
  --bs-modal-footer-gap: 2.5rem;
}
.full-width {
  width: 100% !important;
}
.my-field.active label,
.my-field:hover label {
  /* color: green; */
}
.bi {
  /* width: 1em;
  height: 1em; */
  vertical-align: -0.125em;
  fill: currentcolor;
}
.mr-auto {
  margin-right: auto;
}
strong {
  font-weight: bold;
}
.mr {
  margin-right: 0.75rem;
}
.input-group-text,
.my-add-button {
  height: 26px;
  width: 26px;
}
.form-control,
.form-control:focus,
.bootstrap-select {
  padding-right: 7px;
}
.bootstrap-select button {
  padding-right: 3px;
}
.input-group .input-group-text,
.bootstrap-select .btn.show,
.bootstrap-select .btn:hover {
  background-color: transparent;
}
.bootstrap-select .btn.show:focus-visible {
  box-shadow: none;
}
.input-group * {
  border-bottom: none;
}
.input-group {
  border-bottom: var(--bs-border-width) solid var(--bs-border-color);
}
.input-group:focus-within,
.input-group:hover {
  border-bottom-color: green;
}

.btn,
.badge {
  line-height: 130%;
}

.badge:hover,
.icon-btn.lg:hover,
.icon-btn.md:hover,
.icon-btn.sm:hover,
.icon-btn:hover {
  /* background-color: #ddd !important; */
}
.icon-btn {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  /* color: black; */
  font-weight: 400;
  border-color: white;
  /* background-color: white; */
  font-size: 1.625rem;
  width: 48px;
  min-width: 48px;
  height: 48px;
  border: none;
}
.icon-btn.bg {
  /* background-color: #eeeaea !important; */
}
.icon-btn.sm {
  width: 22px;
  height: 22px;
  min-width: 22px;
  font-size: 1rem;
  padding: 0 0 0 0;
}

.icon-btn.md {
  min-width: 30px;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  padding: 0 0 0 0;
}
.icon-btn.icon-sm {
  min-width: 40px;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  padding: 0 0 0 0;
}
.icon-btn.icon-sm .bi,
.icon-btn.md .bi{
  margin-bottom: unset;
}
.my-form-html:focus-visible {
  border: none !important;
  outline-color: none !important;
  outline: none !important;
}

.choices__inner {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  background-color: transparent;
  padding: 0 0 0;
  border: none;
  border-bottom: 1px solid var(--bs-border-color);
  border-radius: none;
  font-size: 14px;
  min-height: 24px;
  overflow: hidden;
}
/* .selectize-input:hover, */
/* .selectize-input.focus, */
.myhover .choices.is-focused.is-open .choices__inner,
.myhover .choices__inner:hover {
  border-bottom: 1px solid green !important;
}
.selectize-input.focus {
  border-color: green;
}

.choices {
  width: 100%;
}
.choices__list {
  z-index: 3 !important;
}

.choices__input {
  padding: 0;
}
.my-choices-single {
  height: 24px;
}
.choices__list .choices__item{
  margin-bottom: 1px !important;
  border: none !important;
}
.my-choice {
  height: 26px;
}
.icon-btn.md,
.icon-btn.md,
.selectize-input.input-active,
.selectize-input.focus,
.selectize-input:focus-visible,
.selectize-input {
  min-height: 25px;
  border-color: none;
  box-shadow: none;
  outline: none;
  background-color: transparent;
}
.selectize-control {
  display: flex;
  align-items: center;
}
.selectize-control.multi .selectize-input.has-items {
  padding: 0px;
}
.selectize-control.multi .selectize-input>div {
  border-radius: 20px;
  font-weight: 500;
  margin: 0 2px 1px 0;
  padding: 0px 2px;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: 0px;
}
.selectize-dropdown-content .option {
  padding-top: .4125rem;
  padding-bottom: .4125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.remove-single {
  text-decoration: none;
  color: #777;
  font-size: 1rem;
}
.remove-single:hover{
  color: black;
}
.nav-link, .nav-link, .show>.nav-link {
  /* color: black; */
  font-weight: 500;
  border-width: 1;
  border-color: transparent;
}
.table-content {
  padding: 0 0 !important;
  background: transparent !important;
  font-weight: 500 !important;
}
.btn-close {
  opacity: 1;
}

.btn-close:focus,
.btn-close:focus-visible,
.btn-close:hover {
  border: none;
  outline: none;
  box-shadow: none;
  background-color: #ddd;
}
.btn-close {
  border: none;
  border-radius: 50%;
}
.nav-link:hover,
.nav-link:hover {
  border-width: 0px !important;
  font-weight: 500 !important;
  color: black !important;
  cursor: pointer;
  background-color: #ddd;
}
.nav-link.active,  .show>.nav-link {
  border-bottom: 1px solid green !important;
  font-weight: 700 !important;
  /* color: black !important; */
}
.cs-icon {
  background-color: #938e8e33 !important;
}
.cs-icon:hover {
  background-color: #727171 !important;
  color: white !important;
}
.tab-pane:focus-visible,
.tab-content:focus-visible {
  outline: none;
}
.clickable {
  gap: .125rem;
}
.clickable .badge {
  text-decoration: underline;
  text-decoration-color: green;
  display: inline-flex !important;
  gap: 0.5rem;
  align-items: center !important;
  cursor: pointer;
}
.clickable .input-group,
.clickable input {
  width: auto;
}

.pagination .page-item .page-link:hover,
.tbl_clickable tr {
  cursor: pointer;
}

.dropdown-item {
  cursor: pointer;
}
.cs .form-label {
  font-weight: 400 !important;
  margin-bottom: 0px !important;
}
.btn.show {
  border-color: green;
}
tr.detail-view td .cs-detail-view {
  width: 39vw;
  min-height: 178px;
  border-top: 1px solid #bcb6b6ae !important;
  border-bottom: 1px solid #bcb6b6ae !important;
  border-left: 1px solid #bcb6b6ae !important;
  border-right: 1px solid #bcb6b6ae !important;
  /* max-height: calc(100vh - 195px);  */
  overflow-y: auto; 
  overflow-x: hidden;
  padding: 1rem 1rem;
  /* margin: 1rem 1rem; */
  background-color: var(--bs-body-bg);
  border-radius: .5rem;
}
tr.detail-view td .cs-detail-view.cs-detail-xl {
  width: 78vw !important;
}
tr.detail-view .tab-content {
  /* max-height: 450px; */
  /* overflow-y: auto; */
  /* overflow-x: hidden; */
}
.modal .h-scroll {
  margin-bottom: 1rem;
}
.selectize-control.plugin-remove_button .remove-single:hover {
  /* background-color: #5e5d5d33 !important; */
  background-color: #ddd;
  color: black;
}
.selectize-control.plugin-remove_button .remove-single {
  position: absolute;
  right: 3px;
  border-radius: 50%;
  top: 5px;
  font-size: 15px;
  width: 16px;
  height: 16px;
  align-items: center;
  display: flex;
  justify-content: center;
  /* line-height: 160%; */
  /* color: #000; */
  /* padding-bottom: 3px; */
  content: "";
  /* background-color: #f8f5f5; */
  color: var(--bs-body-color);
  background-color: var(--bs-border-color);
}
.selectize-control .item {
  font-weight: 400;
}
.spinner-border {
  padding: 0px;
  margin: 0px;
  height: 1rem;
  width: 1.2rem;
  margin-right: 1rem;
}

.avatar {
  vertical-align: middle;
  width: 30px;
  border-radius: 50%;
}

.iconClass{
  position: relative;
}
.iconClass span{
  position: absolute;
  top: -9px;
  right: -12px;
  display: block;
  color: red;
}
.nav-item::marker {
  display: none;
}

.notification a {
  margin-top: auto;
  margin-bottom: auto;
}

.notification {
  width: 40px;
  color: black;
  border-radius: 50%;
  height: 40px;
  display: flex;
  justify-content: center;
  justify-items: center;
  margin-right: 10px;
}
.notification:hover * {
  background-color: transparent;
}
.notification:hover {
      background-color: #ddd;
      cursor: pointer;
}

.big-icon {
  width: 40px;
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.big-icon:hover,
.hover:hover {
  background-color: var(--bs-tertiary-bg);
  cursor: pointer;
}

.table>:not(caption)>*>*,
td .badge {
  line-height: 130%;
  font-size: 1rem;
  font-weight: 400;
}

a:hover {
  /* text-decoration: underline !important;
  text-decoration-color: green !important;
  color: green !important; */
}

.width-100 {
  width: 100%;
}
.width-0 {
  display: none;
}
.toggle-button .toggle-header {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .525rem !important;
}
.toggle-button .toggle-content {
  padding-left: .525rem !important;
  padding-top: .525rem !important;
  padding-right: .525rem !important;
  padding-bottom: .825rem !important;
}
.toggle-button .toggle-header:hover {
  background-color: #ddd !important;
  cursor: pointer;
}

.toggle-button button.btn:hover {
  background-color: white !important;
}
.toggle-button .toggle-text-header {
  /* color: black; */
}

/* crollbar */
.scroll {
  overflow-y: auto;
}

:active::-webkit-scrollbar-thumb,
:focus::-webkit-scrollbar-thumb,
:hover::-webkit-scrollbar-thumb {
  visibility: visible;
}
::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  visibility: hidden;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* ckeditor */
.ck-editor__editable[role="textbox"] {
  min-height: 500px;
}
.ck-content .image {
  /* block images */
  max-width: 80%;
  margin: 20px auto;
}
.ck-body-wrapper {
  display: none !important;
}

.selectize-control.single .selectize-input:after {
  right: 12px;
}

.selectize-input {
  line-height: 25px;
}

[disabled="disabled"] {
  cursor:  not-allowed;
}

.th-inner.sortable {
  /* border-bottom: 1px solid green; */
}
.fixed-table-container {
  border: none;
}

#filter_id {
  /* max-height: calc(100vh - 130px);
  overflow-y: auto; 
  overflow-x: hidden; */
}
.form-text {
  margin-top: 0px;
}
.text-bold {
  font-weight: 600;
}
ul {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
}
.gap {
  gap: .5rem;
}

.gap1 {
  gap: 1rem;
}

.h-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding-top: 1.5rem;
}

.h-scroll > button,
.h-scroll > span {
  white-space: nowrap;
  /* overflow: hidden; */
  height: fit-content;
  /* text-overflow: ellipsis; */
  /* min-width: 100px; */
  /* width: auto; */
}
.button-icon i,
.h-scroll i {
  /* margin-right: 5px; */
}
.bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
  line-height: unset;
  vertical-align: -0.125em;
}

.upload-container {
  height: 100%;
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
  /* background-color: #fcfcfc; */
}


.upload-container .card {
  border-radius: 10px;
  /* box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3); */
  border: none;
  width: 600px;
  /* padding: 10px 30px 40px; */
}

.upload-container.sm {
  justify-content: left;
  gap: 1rem;
}
.upload-container.sm .sm-card .drop_box{
  width: 100px;
  height: 100px;
  margin: 0;
  padding: 2px;
  border: 2px dotted green;
  border-radius: 10px;
  cursor: pointer;
}
.upload-container.sm .sm-card .drop_box p{
  margin: 0;
  text-align: center;
}

.upload-container .card h3 {
  font-size: 22px;
  font-weight: 600;

}

.upload-container .drop_box {
  margin: 10px 0;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 3px dotted #a3a3a3;
  border-radius: 5px;
}

.upload-container .drop_box h4 {
  font-size: 16px;
  font-weight: 400;
  /* color: #2e2e2e; */
}

.upload-container .drop_box p {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #a3a3a3;
}

.upload-container .btn {
  text-decoration: none;
  background-color: #005af0;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  outline: none;
  transition: 0.3s;
}

.upload-container .btn:hover {
  text-decoration: none;
  background-color: #ffffff;
  color: #005af0;
  padding: 10px 20px;
  border: none;
  outline: 1px solid #010101;
}

.upload-container .form input {
  margin: 10px 0;
  width: 100%;
  background-color: #e2e2e2;
  border: none;
  outline: none;
  padding: 12px 20px;
  border-radius: 4px;
}
.hover:hover {
  background-color: #e2e2e2;
  border-radius: 1rem;
}

.nav[role="tablist"] {
  margin-left: -1rem;
}

.ck-editor,
.ck-focused {
  width: 100% !important;
}

.fade {
  /* display: none; */
}
input#loai_hang-selectized {
  width: 100% !important;
}
.my-builder-field>* {
  min-width: 55px;
}
.database {
  margin-left: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: .5rem;
  gap: .5rem;
}
.database select {
  background-image: none;
  border: none;
  text-decoration: underline;
  text-decoration-color: green;
  text-decoration-style: dotted;
  padding-top: 1px;
  padding-bottom: 1px;
  cursor: pointer;
}



/* variants */
.my-variant-table .delete-icon,
.my-variant-table .move-icon {
    border: none;
    box-shadow: none;
    font-size: 1rem;
    border-radius: 50%;
    min-width: 22px;
    min-height: 22px;
    max-width: 22px;
    max-height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-variant-table .delete-icon,
.my-variant-table .move-icon {
    cursor: hand;
}
.my-variant-table input {
  padding-top: 2.35px;
  padding-bottom: 2.35px;
}
.my-variant-table input:read-only {
    cursor: not-allowed;
    background-color: var(--bs-secondary-bg);
}

.my-variant-table .delete-icon:hover {
    background-color: rgb(195, 190, 190) !important;
    color: white !important;
}

.my-variant-table .move-icon:hover .bi {
    font-weight: bold !important;
    color: green !important;
    font-size: 1.25rem;
}

.my-variant-table th,
.my-variant-table td {
    padding: 0.5rem 0rem 0rem 0.625rem !important;
    vertical-align: middle;
}
.selectize-dropdown, .selectize-dropdown.form-control {
  margin: 10px 0 0 0;
  border-top: .5px solid var(--bs-border-color);
}
.my-variant-table input {
    background-color: unset;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--bs-border-color);
    box-shadow: none;
}
.my-variant-table .selectize-input {
  border-bottom: 1px solid var(--bs-border-color);
}
.my-variant-table .selectize-input:hover {
  border-bottom: 1px solid green;
}

.my-variant-table input:focus-visible,
.my-variant-table input:hover {
    border-bottom: 1px green solid;
}

.my-variant-table input:focus-visible {
    outline: none !important;
}

.my-variant-table td .number-input {
    text-align: right;
}
.lg-backdrop {
  background-color: #000000bd;
}
.bootstrap-table .fixed-table-container .table td {
  padding-left: 12px !important;
}
.detail-view .input-group .icon-btn.sm i {
  font-size: .725rem; 
}
.selectize-control.single .selectize-input:after {
  content: none !important;
}
.date_time {
  min-width: 190px;
}
.date_no_time {
  min-width: 140px;
}
.is_select {
  min-width: 208px;
}
.long_text {
  min-width: 400px;
}
.medium_text {
  min-width: 250px;
}
.working_day,
.off_day {
  min-width: 32px;
}
.off_day {
  background-color: hsl(43,85%,88%) !important;
}
.pass_day {
  background-color: hsl(210,8%,95%) !important;
}
.is_to_day {
  border-left: 2px solid rgba(0, 128, 0, 0.273) !important;
  background-color: rgba(0, 128, 0, 0.273) !important;
}
th.is_to_day,
th.pass_day,
th.off_day {
  background-color: unset !important;
}
th.is_to_day {
  border-left: 0px solid rgba(0, 128, 0, 0.273) !important;
  color: green;
}
th.pass_day {
  opacity: .4;
}
th.off_day {
  /* color: hsl(44, 91%, 51%); */
}
.image_field {
  min-width: 140px;
}
.query_right,
.query_right>div {
  padding-right: 0px !important;
}
.bootstrap-table .fixed-table-container .table td .checkin-box,
.bootstrap-table .fixed-table-container .table td .checkin-box .form-check {
  display: flex !important;
  justify-content: center !important;
}
.bootstrap-table .fixed-table-container .table td .checkin-box {
  width: 100%;
  height: 100%;
}

.bootstrap-table .fixed-table-container .table td.working_day,
.bootstrap-table .fixed-table-container .table td.is_to_day,
.bootstrap-table .fixed-table-container .table td.pass_day,
.bootstrap-table .fixed-table-container .table td.off_day {
  margin: 0 !important;
  padding: 0 !important;
}
td.working_day:hover,
td.is_to_day:hover,
td.pass_day:hover,
td.off_day:hover {
  background-color: rgba(0, 128, 0, 0.1) !important;
}

.fixed-table-body {
  /* width: 538px !important; */
}
.fixed-columns {
  width: 338px !important;
}

.app-container {
  min-height: calc(100vh - 60px);
}

.my-icon-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .125rem;
}
.delete-action {
  border-color: transparent !important;
  color: var(--bs-danger);
}
.delete-action:hover {
  border-color: var(--bs-danger-border-subtle) !important;
  color: var(--bs-danger) !important;
  background-color: var(--bs-danger-rgb) !important;
}

tfoot tr:hover * {
  background-color: transparent !important;
}

.all-input {
  max-width: auto;
}
.date-input {
  max-width: 155px;
}
.date-input .mb-0 {
  padding-left: 4px;
}
.datetime-input {
  max-width: 200px;
}
.datetime-input .mb-0 {
  padding-left: 4px;
}
.money-input {
  min-width: 153px;
}
.money-input .mb-0 {
  padding-right: 18px;
}
.money-input input {
  text-align: right;
}
.number-input {
  min-width: 100px;
}
.number-input .mb-0 {
  padding-right: 18px;
}
.number-input input {
  text-align: right;
}
.qty-input {
  min-width: 190px;
}
.qty-input input {
  text-align: center;
}
.text-input {
  min-width: 300px;
}

.my-variant-table .text-input {
  width: 100px;
}



.input-group-right input {
  padding: 0 !important;
  margin: 0 !important;
  
  text-align: right !important;
}
.input-group-right input[readonly="readonly"] {
  border: none !important;
}
.input-group-right input::-ms-clear { display: none; width : 0; height: 0; }
.input-group-right input::-ms-reveal { display: none; width : 0; height: 0; }
.input-group-right input::-webkit-search-decoration,
.input-group-right input::-webkit-search-cancel-button,
.input-group-right input::-webkit-search-results-button,
.input-group-right input::-webkit-search-results-decoration { display: none; }

.bootstrap-table input::-ms-clear { display: none; width : 0; height: 0; }
.bootstrap-table input::-ms-reveal { display: none; width : 0; height: 0; }
.bootstrap-table input::-webkit-search-decoration,
.bootstrap-table input::-webkit-search-cancel-button,
.bootstrap-table input::-webkit-search-results-button,
.bootstrap-table input::-webkit-search-results-decoration { display: none; }

.bootstrap-table .fixed-table-container .table tbody tr.no-records-found td {
  text-align: left; 
  height: 200px;
}

.selectize-dropdown .create strong {
  font-weight: normal;
}
.selectize-dropdown .create {
    color: var(--bs-body-color) !important;
}

span.d-inline-flex i {
  font-size: .825rem !important;
}

.my-variant-table tbody tr:has(td :focus),
.my-variant-table tbody tr:has(td :focus-visible),
.my-variant-table tbody tr:has(td :focus-within),
.my-variant-table tbody tr:active td,
.my-variant-table tbody tr:hover td {
  background-color: var(--bs-tertiary-bg) !important;
}
tr td {
  transition: background-color 0.2s ease;
}

.my-variant-table tbody .cs-input-table {
  width: 100%;
}

.my-variant-table tbody .cs-input-number {
  text-align: right;
}

.handsontable td:first-of-type, .handsontable th:first-child, .handsontable th:nth-child(2),
.handsontable tr:first-child td, .handsontable tr:first-child th {
    border-top: 1px solid var(--bs-border-color);
    border-left: 1px solid var(--bs-border-color);
}
.ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.ht_clone_top) thead tr th:first-child, .ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable tbody tr th,
.handsontable.htRowHeaders thead tr th:nth-child(2) {
  border-left: 1px solid var(--bs-border-color);
}
.handsontable .ht_clone_top th:nth-child(2) {
  border-right: 1px solid var(--bs-border-color);
}
.handsontable th:last-child {
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
}
.handsontable th {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}
.handsontable td, .handsontable th {
  border-right: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}
.htDropdownMenu table.htCore,
.handsontable tbody, td, tfoot, th, thead, tr {
  border-color: var(--bs-border-color);
}
.handsontable tr {
  background: var(--bs-body-bg);
}
.handsontable tbody th.ht__highlight, .handsontable thead th.ht__highlight {
  background-color: var(--bs-border-color-translucent);
}
.handsontableInput {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}
.htContextMenu .ht_master table.htCore {
  border-color: var(--bs-border-color-translucent)
}
.handsontable tbody th.ht__active_highlight, .handsontable thead th.ht__active_highlight {
  color: var(--bs-body-color);
}
.htContextMenu table tbody tr td.current, .htContextMenu table tbody tr td.zeroclipboard-is-hover,
.htContextMenu table tbody tr td {
  background: unset;
}
.handsontable .changeType:before {
  content: unset;
}
.handsontable .changeType {
  visibility: hidden;
}
.bootstrap-table .fixed-table-container .table td, .bootstrap-table .fixed-table-container .table th {
  vertical-align: top;
}
#app {
  height: 40px;
}
.attribute-selection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attribute-selection-panel {
    background-color: var(--bs-body-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
}

.slide-content {
    min-height: 300px;
}

.panel-header {
    padding-bottom: 15px;
}

.panel-footer {
    padding-top: 15px;
    margin-top: 20px;
}

.list-group {
    border-radius: 0rem;
}

.list-group-item {
    cursor: pointer;
    transition: background-color 0.3s;
}

/* CellCalculator Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup {
    background-color: var(--bs-body-bg);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    padding: 0;
    min-width: 280px;
    max-width: 300px;
    z-index: 99999 !important;
    position: relative !important;
    display: block !important;
    backdrop-filter: blur(5px);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px 6px 0 0;
}

.popup-title {
    margin: 0;
    flex: 1;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
}

.popup-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    max-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.popup-body {
    padding: 8px;
}

.popup .row {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.popup input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.popup button {
    flex: 1;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
    border: none;
}

.popup .line-top {
    padding-top: 10px;
    margin-top: 10px;
}

.popup .result {
    font-weight: bold;
    font-size: .825rem;
}

.popup a {
    text-decoration: none;
}

.popup a:hover {
    text-decoration: underline;
}

.bootstrap-table .form-check.form-switch {
  display: flex;
  justify-content: center;
  padding-left: unset;
}
.bootstrap-table .form-check.form-switch input {
  margin-left: unset;
}