@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* Custom CSS for the style.css overrides::START */
:root {
  --bs-border-radius: 8px;
  --bs-border-radius-sm: 6px;
  --bs-border-radius-lg: 12px;
  --bs-border-radius-xl: 16px;
  --bs-border-radius-xxl: 3rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl * 2);

  --bs-body-font-family: var(--bs-font-noto-sans);
}
.ct-container .ct-content {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}
.layout-modern .ct-container .ct-content {
    padding-left: 40px;
}

@media (max-width: 575.98px) {
    .ct-container .ct-content {
        padding: 15px;
    }
}

.loader-bg{
  bottom: auto;
}

@media (min-width:992px) {
    [data-ct-layout=horizontal] .ct-sidebar {
        height: max-content;
    }
}

/* Dropdown */
.dropdown-menu {
    border: 1px solid var(--bs-border-color);
    padding: 8px 0;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.12);
    overflow: auto;
}


/* Custom CSS for the style.css overrides::END */
.ct-item.ct-caption span {
  font-size: 0.675rem !important;
  /* display: none !important; */
}

/* Error Page  */
.background-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2D3748;
  background: url(./../app/img/errors/bg-desk.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}

.background-svg img {
  max-height: calc(100vh - 100px);
}

.action_button {
  position: absolute;
  width: 100%;
  bottom: 60px;
  text-align: center;
}

.swal-sm {
  width: 24em !important;
}

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


@media (max-width: 768px) {
  .background-svg {
    background: url(./../app/img/errors/bg-sm.svg) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: top !important;
  }
}


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

.input-group-title {
  background: var(--bs-card-bg);
  color: var(--ct-sidebar-background-color);
}

/* 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 #bec8d0 !important;
}
[data-ct-theme=dark] .border-input {
  border: 2px solid #334055 !important;
}

.swal-sm {
  width: 24em;
}

.swal-sm button {
  padding: 0.25rem 0.5rem;
  font-size: 0.76563rem;
  border-radius: 2px;
  min-width: 65px;
}
.swal2-popup {
  border-radius: var(--bs-border-radius-xl) !important;
}
.swal2-styled {
  border-radius: var(--bs-border-radius) !important;
}



/* //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: #7390ba;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  max-width: 600px;
}
[data-ct-theme="dark"] .seo-view .mobile-view .meta_title {
  color: #99c3ff;
}
[data-ct-theme="dark"] .seo-view .mobile-view .meta_description {
  color: #bfbfbf;
}

.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;
}
[data-ct-theme="dark"] .seo-view .desktop-view .meta_title {
  color: #99c3ff;
}
[data-ct-theme="dark"] .seo-view .desktop-view .meta_titles {
  color: #941f8e;
}

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

#header_notification_ul.list-group-flush>.list-group-item:hover {
    background-color: rgba(var(--bs-primary-rgb), .05)
}

.toastify {
  width: max-content;
  min-width: 300px;
  max-width: calc(100% - 40px) !important;
  padding-right: 32px !important;
}
.toastify.on{
  border-radius: var(--bs-border-radius);
}
.toastify .toast-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    cursor: pointer;
}
@media only screen and (max-width: 360px) {
  .toastify {
    min-width: calc(100% - 20px) !important;
    max-width: fit-content !important;
  }
}


/* Dark/Light mode toggle class */
[data-ct-theme="dark"] .d-dark-none {
  display: none !important;
}
[data-ct-theme="dark"] .d-dark-block {
  display: block !important;
}
[data-ct-theme="light"] .d-light-none, body:not([data-ct-theme="dark"]) .d-light-none {
  display: none !important;
}
[data-ct-theme="light"] .d-light-block, body:not([data-ct-theme="dark"]) .d-light-block {
  display: block !important;
}


/* Sortable Custom CSS */
table th.sortable:not(:has(> span.sort-arrow))::after {
  content: " ↕";
}

table th.sortable.active.asc:not(:has(> span.sort-arrow))::after {
  content: " 🡅" !important;
}

table th.sortable.active.desc:not(:has(> span.sort-arrow))::after {
  content: " 🡇" !important;
}

/* Slim Select */
.ss-main {
  border: 2px solid #bec8d0 !important;
  border-radius: var(--bs-border-radius) !important;
  box-shadow: none !important;
}
.ss-main .ss-values .ss-value {
  background: var(--bs-primary) !important;
  border-radius: var(--bs-border-radius-pill) !important;
  padding: 0.375rem 0.5rem !important;
  border-radius: 50rem !important;
}
.ss-main .ss-values .ss-value:hover {
  background: var(--bs-primary-hover) !important;
}
.ss-main:focus {
  border-color: var(--bs-primary) !important;
  box-shadow: none !important;
}
.ss-main.ss-open-below, .ss-main.ss-open-above {
  border-color: var(--bs-primary) !important;
  box-shadow: none !important;
}
.ss-main.form-control {
  padding: 0.25rem 0.75rem !important;
}
.ss-content.form-control {
  padding: 0.5rem !important;
}
.ss-option {
  border-radius: var(--bs-border-radius-sm);
  margin-bottom: 0.15rem;
}
.ss-content ::-webkit-scrollbar {
  width: 5px;
}
.ss-addable {
  padding: .25rem;
}

/* Avatar Placeholder */
.ct-avatar {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
}
.ct-avatar-text {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 50%;
  background-color: #6c757d;
  color: #ffffff;
  user-select: none;
}

/* 
| Special Customizations for Frontend/User Panel 
*/
/* @media (min-width:992px) {
  .user-panel[data-ct-layout=horizontal] .ct-container {
      top: calc(70px + 56px);
      min-height: calc(100vh - 70px - 140px)
  }
} */
.user-panel[data-ct-layout=horizontal] .ct-container {
  top: auto;
  padding-top: 70px;
  padding-bottom: 70px;
  min-height: (100vh - 70px);
}
@media (min-width:992px) {
  .user-panel[data-ct-layout=horizontal] .ct-container {
      top: auto;
      padding-top: 126px;
      padding-bottom: 0px;
      min-height: calc(100vh - 61px)
  }
}

/* Offcanvas */
.offcanvas.offcanvas-bottom {
  border-radius: 25px 25px 0 0;
}

/* Food Type Badge::START */
.food-type-badge-veg{
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  border: 1.5px solid green;
  border-radius: 4px;
  height: 16px;
  width: 16px;
}

.food-type-badge-non-veg{
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #e43b4f;
  border-radius: 4px;
  height: 16px;
  width: 16px;
}
.food-type-badge-egg{
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  border: 1.5px solid orange;
  border-radius: 4px;
  height: 16px;
  width: 16px;
}

.food-type-badge-veg::after{
  content: '';
  background-color: green;
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.food-type-badge-non-veg::after{
  content: '';
	width: 0;
	height: 0;
  border-radius: 2px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 8px solid #e43b4f;
}

.food-type-badge-egg::after{
  content: '';
  background-color: orange;
  border-radius: 50%;
  height: 12px;
  width: 9px;
}
/* Food Type Badge::END */


/* Custom CSS for Footer Active Link */
.ct-mob-footer {
    display: none;
    background: var(--ct-white);
    height: 70px;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 1026;
    left: 0;
    right: 0;
    bottom: 0;
}
.ct-mob-footer .ct-mob-footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: #6c757d;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
    width: 100%;
    border-radius: 8px;
    background: rgba(var(--bs-primary-rgb), 0.1);
}
.ct-mob-footer .ct-mob-footer-link .footer-icon {
    font-size: 24px;
    margin-bottom: 2px;
    line-height: 1;
}
.ct-mob-footer .ct-mob-footer-link .footer-text {
    font-size: 12px;
    line-height: 1;
    margin: 0;
}
.ct-mob-footer .ct-mob-footer-link.active,
.ct-mob-footer .ct-mob-footer-link:hover {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.3);
}

@media (max-width:991.98px) {
    .ct-mob-footer {
        display: flex;
    }

    .ct-footer {
        bottom: 0;
        left: 0;
        transition: all 0.15s ease-in-out;
    }
    .navbar-content .ct-navbar {
        padding-bottom: 70px;
    }
}