/*
* custom.css
* Custom CSS overrides for Materialize template
* Add your custom styles here to override Materialize core CSS without modifying template files
******************************************************************************/

/* Override Materialize color variables */
/* Default Materialize colors:
   --bs-primary: #666cff
   --bs-success: #72e128
   --bs-info: #26c6f9
   --bs-warning: #fdb528
   --bs-danger: #ff4d49
*/
:root {
  /* Primary color - default: #666cff */
  /* --bs-primary: #666cff; */
  
  /* Success color - default: #72e128 */
  --bs-success: #47a666;
  --bs-success-bg-subtle: #daede0;
  
  /* Info color - default: #26c6f9 */
  --bs-info: #2092ec;
  
  /* Warning color - default: #fdb528 */
  /* --bs-warning: #ffab1d; */
  
  /* Danger color - default: #ff4d49 */
  /* --bs-danger: #your-color-here; */
}

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

.app-brand-logo.demo svg {
  width: 38px;
  /* height: 20px; */
}

.app-brand-text.demo {
  font-size: 1.25rem;
  letter-spacing: 0.15px;
}

.authentication-wrapper .app-brand-text.demo {
  text-transform: capitalize;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* 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: 1.25rem !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;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 300px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}
/*
* Layout demo
******************************************************************************/

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

/* Table cells - prevent text wrapping */
.table-responsive table td,
.table-responsive table th {
  white-space: nowrap;
}

/* intlTelInput - Make phone input full width */
.iti {
  display: block !important;
  width: 100%;
}

/* Tagify - Match form-control height */
.tagify.form-control {
  block-size: auto;
  padding-block: calc(0.375rem - 1px) !important;
  padding-inline: calc(0.4375rem - 1px) !important;
}

/* Color Picker - Circular style */
.color-picker-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid #d9dee3;
  cursor: pointer;
  padding: 0.125rem;
}

.color-picker-circle:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
  border-radius: 50%;
  padding: 0.25rem;
}

.color-picker-circle::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker-circle:focus::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker-circle::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}

.color-picker-circle:focus::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}

.color-picker-circle::-moz-color-swatch {
  border: none;
  border-radius: 50%;
}

.color-picker-circle:focus::-moz-color-swatch {
  border: none;
  border-radius: 50%;
}

/* Reduce margin-bottom for filter columns in orders listing */
#filtersCollapse .row.g-4 > .col-md-3 > div.mb-6 {
  margin-bottom: 0 !important;
}

/* Pagination overflow on mobile */
@media (max-width: 768px) {
  .card-footer {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
  }
  
  nav[aria-label="pagination"] {
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    position: relative;
    touch-action: pan-x pan-y pinch-zoom;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: block !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  nav[aria-label="pagination"]::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
  }
  
  nav[aria-label="pagination"] .pagination {
    flex-wrap: nowrap !important;
    min-width: max-content;
    display: inline-flex !important;
    margin-bottom: 0;
    padding-left: 0;
    white-space: nowrap;
  }
  
  nav[aria-label="pagination"] .pagination .page-item {
    flex-shrink: 0;
  }
}

/* Vue.js v-cloak - Hide template expressions until Vue has finished rendering */
[v-cloak] {
  display: none !important;
}

/* Separator Info - Light gray background for form field separator information */
.separatorInfo {
  border-radius: .375rem;
  padding: 1rem 1.5rem;
  margin: 1rem 0 2rem;
  background-color: var(--bs-gray-75);
}
