/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  /* text-transform: lowercase; */
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.qpe-table {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

/* table.dataTable.no-footer {
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(7,14,35,.06), 0 2px 8px -1px rgba(7,14,35,.05);
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
    background-color: var(--white);
} */
table.dataTable tbody tr.odd {
  background-color: #fff !important;
}

table.dataTable.display>tbody>tr.odd>.sorting_1 {
  box-shadow: none !important;
}

table.dataTable.display>tbody>tr.odd>* {
  box-shadow: none !important;
}

table.dataTable.display>tbody>tr:hover {
  background: #F5F7F8;
}

/* table.dataTable.display>tbody>tr.even>*:hover {
    box-shadow: none !important;
} */
table.dataTable>thead>tr {
  background-color: #F5F7F8;
}

table.dataTable tbody>tr>td {
  font-size: 13px;
  font-weight: 500;
    padding:5px 0px 5px 0px;
}

table.dataTable thead>tr>th {
  font-size: 13px;
  font-weight: 500;
  color:hsl(240, 4%, 40%);
}

table.dataTable thead>tr>th:last-child {
  text-align: right;
}

.table-product-img-wrapper {
  max-width: 50px;
  max-height: 50px;
  overflow: hidden;
}

.table-product-img {
  aspect-ratio: 1;
  width: 50px;
  height: 50px;
  object-fit: cover;

}

.table-product-name {
  font-size: 12px;
  text-overflow: ellipsis;
  max-width: 300px;
  display: inline-block;
  color: hsl(240, 5%, 30%);
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.table-final-price {
  color: var(--text-800);
}

.table-initial-price {
  color: var(--text-400);
  text-decoration: line-through;
}
.table-delete-btn {
  color: var(--dark-red) !important;
}

.dataTables_length {
  display: none;
}

.dataTables_wrapper {
  padding-block: 15px;
}

.dataTables_wrapper .dataTables_filter {
  float: right;
  text-align: right;
  position: relative;
  margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_info {
  margin-top: 1.2rem;
  font-size: 14px;
}

.dataTables_wrapper .dataTables_paginate {
  margin-top: 1.2rem;
  font-size: 14px;
}



.table-search-input {
  border-radius: 0.4rem !important;
  padding-left: 35px !important;
  font-size: 14px;
}

.table-search-icon {
  position: absolute;
  top: 8px;
  left: 10px;
  cursor: pointer;
}

.back-btn {
  padding: 5px;
  border-radius: 0.5rem;
  cursor: pointer;
}

.back-btn:hover {
  background-color: var(--text-100);
}

.add-pr-content {
  padding: 1.5rem;
}

.quick-nav-div {
  width: 25%;
  background-color: var(--white);
  box-shadow: 0 1px 3px rgba(7, 14, 35, .06), 0 2px 8px -1px rgba(7, 14, 35, .05);
  padding: 1rem 1.5rem;
  /* position: fixed; */
}

.quick-nav-div .quick-nav-heading {
  font-size: 17px;
  font-weight: 600;
  padding: 0.5rem 0 0.7rem 0;
}

.quick-nav-div .quick-nav-list>li {
  padding: 0.7rem 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-600);
  border-bottom: 1px solid var(--text-200);
  cursor: pointer;
}

.quick-nav-div .quick-nav-list>li:hover {
  color: var(--text-400);
}

.quick-nav-div .quick-nav-list>li:last-child {
  border: none;
}
.table-search-icon {
  position: absolute;
  top: 8px;
  left: 10px;
  cursor: pointer;
}
table.dataTable {
  width: 100% !important;
}
table.dataTable>thead>tr {
  background-color: #F5F7F8;;
}
table.dataTable thead>tr>th {
  font-size: 13px;
  font-weight: 500;
  color: hsl(240, 4%, 40%);
padding: 10px;
}
.btn-progress {
  position: relative;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJsb2FkZXItMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQogd2lkdGg9IjQwcHgiIGhlaWdodD0iNDBweCIgdmlld0JveD0iMCAwIDUwIDUwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MCA1MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTQzLjkzNSwyNS4xNDVjMC0xMC4zMTgtOC4zNjQtMTguNjgzLTE4LjY4My0xOC42ODNjLTEwLjMxOCwwLTE4LjY4Myw4LjM2NS0xOC42ODMsMTguNjgzaDQuMDY4YzAtOC4wNzEsNi41NDMtMTQuNjE1LDE0LjYxNS0xNC42MTVjOC4wNzIsMCwxNC42MTUsNi41NDMsMTQuNjE1LDE0LjYxNUg0My45MzV6Ij4NCjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZVR5cGU9InhtbCINCiAgYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIg0KICB0eXBlPSJyb3RhdGUiDQogIGZyb209IjAgMjUgMjUiDQogIHRvPSIzNjAgMjUgMjUiDQogIGR1cj0iMC42cyINCiAgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz4NCjwvcGF0aD4NCjwvc3ZnPg0K");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30px;
  color: transparent !important;
  pointer-events: none;
}
.more-actions {
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
}

.more-actions-dropdown {
  display: flex;
  gap: 10px;
  right: 40px;
  font-size: 13px;
  top: 0;
  min-width: auto;
  width: auto;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(7, 14, 35, .06), 0 2px 8px -1px rgba(7, 14, 35, .05);
  border-radius: 0.4rem;


}

.more-actions-dropdown>li {
  padding: 8px;

}

.more-actions-dropdown>li>a {
  color: var(--text-600);
}

.more-actions-dropdown>li>a:hover {
  color: var(--text-900);
}

.more-actions-dropdown>li:hover {
  background-color: var(--text-50);

}
.dataTables_scrollHeadInner {
  width: 100% !important;
}

.empty-list-container {
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.empty-list-icon {
  width: 3rem;
  height: 3rem;
  background: hsl(240, 6%, 90%);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-list-title {
  margin: 1.25rem 0 0.5rem 0;
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  color: hsl(240, 4%, 20%);
}

.empty-list-subtitle {
  text-align: center;
  margin: 0 0 1.25rem 0;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: hsl(240, 4%, 50%);
}
/* Full-screen overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  /* Semi-transparent background */
  z-index: 100;
  /* Higher than table to cover it */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Spinner */
.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #3498db;
  /* Spinner color */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Optional styling for "Processing..." text */
.overlay p {
  margin-top: 10px;
  font-size: 16px;
  color: #555;
}

#myTable_wrapper .bottom{
display:flex;
justify-content: space-between;
align-items: center;
padding-right: .5rem !important;
padding-left: .5rem !important;
}
.action_div{
text-align: right;
padding-right: 10px !important;
}
.demoDiv{
display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.truncate {
  max-width: 15ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
