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

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

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

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

.app-brand-text.demo {
  font-size: 1.25rem;
}

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

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

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

/* select2 dropdown */
.select2-container--default .select2-dropdown {
  z-index: 10000; /* Adjust as needed */
}

.select2.select2-container {
  width: 100% !important;
}

.select2.select2-container .select2-selection {
  border: 1px solid #d8d8dd;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  height: 40px;
  margin-bottom: 15px;
  outline: none !important;
  transition: all .15s ease-in-out;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
  color: #636578;
  line-height: 38px;
  padding-right: 33px;
}

.select2.select2-container .select2-selection .select2-selection__arrow {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
  height: 38px;
  width: 33px;
  color: #636578;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
  background: #f8f8f8;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
  -webkit-border-radius: 0 3px 0 0;
  -moz-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
  color: #636578;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple {
  border: 1px solid #34495e;
}

.select2.select2-container .select2-selection--multiple {
  height: auto;
  min-height: 34px;
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
  margin-top: 0;
  height: 32px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: block;
  padding: 0 4px;
  line-height: 29px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin: 4px 4px 0 0;
  padding: 0 6px 0 22px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  position: relative;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  margin: 0;
  text-align: center;
  color: #e74c3c;
  font-weight: bold;
  font-size: 16px;
}

.select2-container .select2-dropdown {
  background: transparent;
  border: none;
  margin-top: -5px;
}

.select2-container .select2-dropdown .select2-search {
  padding: 0;
}

.select2-container .select2-dropdown .select2-search input {
  outline: none !important;
  border: 1px solid #34495e !important;
  border-bottom: none !important;
  padding: 4px 6px !important;
}

.select2-container .select2-dropdown .select2-results {
  padding: 0;
}

.select2-container .select2-dropdown .select2-results ul {
  background: #fff;
  border: 1px solid #34495e;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
  background-color: #3498db;
}

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




/* Added By Sajid Ahmad */
.swiper-container .swiper-wrapper .swiper-slide .weekly-sales-text-bg-primary {
  padding: 0.25rem 0.65rem;
  border-radius: 0.375rem;
  min-width: 40px;
  text-align: center;
  background-color: #666cff;
}
.weekly-sales-text-bg-primary {
      background-color: #666cff;
      color: #fff;
      border-radius: 8px; /* Increased border-radius for a rounded appearance */
      padding: 8px 16px; /* Adjusted padding for a larger button */
      margin-right: 10px; /* Increased margin for additional spacing */
      box-shadow: 0px 4px 8px -4px rgba(76, 78, 100, 0.42);
      font-size: 16px; /* Increased font size for larger text */
      cursor: pointer;
      text-align: center;
  }

  .weekly-sales-text-bg-primary:hover {
      transform: scale(1.1); /* Increased scale effect on hover */
      color: #fff; /* Change to desired link color on hover */
      background-color: #575cd9; /* Change to desired background color on hover */
      box-shadow: 0px 4px 8px -4px rgba(76, 78, 100, 0.42);
      text-decoration: none; /* Remove default underline */
      font-weight: bold;
  }

  .weekly-sales-text-bg-danger {
      background-color: #ff4d49; /* Danger color */
      border-color: #ff4d49;
      color: #fff;
      border-radius: 6px;
      padding: 4px 10px;
      margin-right: 10px;
      box-shadow: 0px 4px 8px -4px rgba(76, 78, 100, 0.42);
      font-size: 16px;
      cursor: pointer;
      text-align: center;
  }

  .weekly-sales-text-bg-danger:hover {
      transform: scale(1.1);
      color: #fff;
      background-color: #bd2130; /* Darker shade for hover effect */
      box-shadow: 0px 4px 8px -4px rgba(76, 78, 100, 0.42);
      text-decoration: none;
      font-weight: bold;
  }

  .weekly-sales-text-bg-secondary {
      background-color: #6c757d; /* Danger color */
      color: #fff;
      border-radius: 6px;
      padding: 4px 10px;
      margin-right: 10px;
      box-shadow: 0px 4px 8px -4px rgba(76, 78, 100, 0.42);
      font-size: 16px;
      cursor: pointer;
      text-align: center;
  }

  .weekly-sales-text-bg-secondary:hover {
      transform: scale(1.1);
      color: #fff;
      background-color: #5a6268; /* Darker shade for hover effect */
      box-shadow: 0px 4px 8px -4px rgba(76, 78, 100, 0.42);
      text-decoration: none;
      font-weight: bold;
  }

  .totalInActiveParts a:hover {
      transform: scale(1.1);
      color: #007bff;
      text-decoration: none;
      font-weight: bold;
  }

  .weekly-sales-text-bg-success {
      background-color: #72e128; /* Danger color */
      color: #fff;
      border-radius: 6px;
      padding: 4px 10px;
      margin-right: 10px;
      box-shadow: 0px 4px 8px -4px rgba(76, 78, 100, 0.42);
      font-size: 16px;
      cursor: pointer;
      text-align: center;
  }

  .weekly-sales-text-bg-success:hover {
      transform: scale(1.1);
      color: #fff;
      background-color: #28a745; /* Bootstrap success color */
      box-shadow: 0px 4px 8px -4px rgba(76, 78, 100, 0.42);
      text-decoration: none;
      font-weight: bold;
  }

.custom-link {
      color: #fff; /* Set your default text color */
      text-decoration: none;
  }

  .custom-link:hover {
      transform: scale(1.1);
      color: #333;
      text-decoration: none;
      font-weight: bold;
  }


  .button {
  display: inline-block;
  padding: 6px 12px; /* Adjust padding to make the button smaller */
  font-size: 16px; /* Adjust font size to make the button smaller */
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  margin: 20px;
  position: relative;
  transition: background-color 0.3s ease-out, transform 0.3s ease-out;
}

.button.btn-custom {
  background-color: #666cff; /* Bootstrap btn-primary color */
  color: #fff; /* Text color for the btn-primary state */
  border: 1px solid #666cff; /* Border color for the btn-primary state */
}

.button:hover {
  transform: scale(1.1); /* Increased scale effect on hover */
  color: #fff; /* Change to desired link color on hover */
  background-color: #575cd9; /* Change to desired background color on hover */
  box-shadow: 0px 4px 8px -4px rgba(76, 78, 100, 0.42);
  text-decoration: none; /* Remove default underline */
  font-weight: bold;
}
