/* @import url('https://fonts.bunny.net/css2?family=Nunito:wght@400;600;700&display=swap'); */

/* body {
  font-family: 'Nunito', sans-serif;
} */

.object-fit-cover {
  object-fit: cover;
}

.object-fit-contain {
  object-fit: contain;
}

.pc-header .pcm-logo img {
  max-width: 160px;
  max-height: 65px;
}

/* //Footer */
/* .pc-footer {
  display: none;
} */

.btns-sticky-bottom {
  position: sticky;
  bottom: 10px;
}

@media (max-width: 991.8px) {
  .vendor-panel .pcoded-content {
    padding-bottom: 70px !important;
  }

  .vendor-panel .pc-sidebar .navbar-content {
    height: calc(100vh - 140px);
  }

  .btns-sticky-bottom {
    bottom: 80px;
  }

  .vendor-panel .message-area {
    height: calc(100vh - 170px);
  }

  .vendor-panel .chat-area {
    height: calc(100vh - 170px);
  }
}

/* Custom Border Dashed */
.border-dashed {
  border: 1px dashed #dfdfdf;
}

.border-dashed .card-body {
  margin: 5px;
  border: 1px dashed #dfdfdf;
}

.border-dashed .card-header {
  margin: 5px;
  border: 1px dashed #dfdfdf;
}

.border-dashed .card-footer {
  margin: 5px;
  border: 1px dashed #dfdfdf;
}

.border-dashed:has(.card-header) .card-body {
  margin-top: 0px;
  border-top: 0px dashed #dfdfdf;
}

.border-dashed:has(.card-body) .card-header {
  margin-bottom: 0px;
  border-bottom: 1px solid #f2f4f9;
}

.border-dashed:has(.card-footer) .card-body {
  margin-bottom: 0px;
  border-bottom: 0px dashed #dfdfdf;
}

.border-dashed:has(.card-body) .card-footer {
  margin-top: 0px;
  border-top: 1px solid #f2f4f9;
}

.border-input {
  border: 2px solid #ced4da !important;
}

.swal2-container {
  z-index: 1075;
}

.swal-sm {
  width: 24em;
}

.swal-sm button {
  padding: 0.25rem 0.5rem;
  font-size: 0.76563rem;
  border-radius: 2px;
  min-width: 65px;
}



/* //CK Edito */
figure.image {
  max-width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

figure.image.image-style-side {
  float: right;
}

figure.image figcaption {
  width: 100%;
  padding: 5px;
  text-align: center;
  background: #e7e7e7;
}

figure.image img {
  max-width: 100% !important;
  height: auto !important;
}

#thumbnail_preview .file_preview_item {
  width: 100% !important;
}

#thumbnail_preview img {
  width: 100%;
  height: auto;
  max-height: 220px;
}

.ck.ck-block-toolbar-button {
  transform: translateX(0px) !important;
}

.ck-powered-by-balloon {
  display: none !important;
}

.ck.ck-sticky-panel__content {
  z-index: 99999 !important;
  top: 16px !important;
}

/* //SEO View */
.seo-view .mobile-view {
  border-radius: 8px;
  box-shadow: rgba(32, 33, 36, 0.28) 0px 1px 6px;
}

.seo-view .mobile-view .meta_title {
  color: rgb(21, 88, 214);
  display: inline-block;
  max-height: 52px;
  padding-top: 1px;
  vertical-align: top;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seo-view .mobile-view .meta_image {
  float: right;
  width: 104px;
  height: 104px;
  margin: 4px 0px 4px 16px;
  border-radius: 8px;
  overflow: hidden;
}

.seo-view .mobile-view .meta_description {
  color: rgb(60, 64, 67);
  font-size: 14px;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  max-width: 600px;
}

.seo-view .desktop-view .meta_title {
  color: rgb(26, 13, 171);
  display: inline-block;
  max-height: 52px;
  padding-top: 1px;
  vertical-align: top;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Select2 tag color */
.select2-selection__choice {
  background-color: var(--bs-primary) !important;
  border: 1px solid var(--bs-primary) !important;
  color: var(--text-primary) !important;
  border-radius: 3px !important;
  font-size: 1rem;
}

.select2-selection__choice:hover {
  background-color: var(--bs-primary-hover) !important;
}

.select2-selection__choice__remove {
  background-color: var(--bs-primary) !important;
  color: var(--text-primary) !important;
  height: 100%;
}

.bg-gradient-1 {
  background: linear-gradient(180deg, #ff8a00, #e52e71);
  background-color: #ED6825;
  color: #ffffff !important;
}

.card-3d {
  /* box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%), inset 0 0 11px 4px rgba(184, 184, 184, 0.67) !important; */
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%), inset 5px 8px 8px rgba(0, 0, 0, .2), inset -2px -2px 10px hsla(0, 0%, 100%, .2) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ff8a00, #e52e71);
}

.dashboard-card .card-icon {
  transition: all 300ms ease;
  position: absolute;
  font-size: 51px;
  top: 0;
  right: 0;
  opacity: .2;
  padding: 9px;
}

.dashboard-card:hover .card-icon {
  scale: 1.4;
}

/* Location */
.pac-container {
  z-index: 10000;
}

.card-badge {
  position: absolute;
  top: 15px;
  right: -25px;
  padding: 0px 30px;
  transform: rotate(45deg);
}

.notification.seen {
  opacity: 0.5;
}

/* Custom CSS for Nested Dropdown Positioning */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}


/*Sale:: :: Mobile View: Converts Table Row to Card */
@media (max-width: 768px) {
  .sale-item {
      display: flex;
      flex-direction: column;
      border: 1px solid #ddd;
      /* padding: 10px; */
      border-radius: 8px;
      margin-bottom: 10px;
      background: #fff;
  }

  .sale-item td {
      display: block;
      width: 100%;
      text-align: left;
      padding: 5px 0;
  }

  .sale-item .quantity-group {
      display: flex;
      justify-content: center;
      gap: 5px;
      width: 100%;
  }

  .sale-item .total-container {
      display: flex;
      justify-content: space-between;
      width: 100%;
      font-weight: bold;
  }

  /* Hide Table Headers in Mobile */
  thead.saleItemsTableHeader {
      display: none;
  }
}

.sale-item .sale-item-option {
  justify-content: space-between;
}
.search-item #searchResult{
  max-height: calc(100vh - 250px);
}

/* Desktop View */
@media (min-width: 769px) {
  .sale-item {
      display: table-row;
  }

  .sale_info {
      height: calc(100vh - 255px);
  }
  .search-item #searchResult{
    max-height: calc(100vh - 215px);
  }
}