/* For new_item_admin */
.form-container {

  width: 100%;
  transition: transform 0.5s ease-in-out;
  overflow: hidden;
}

#itemForm {
  left: 100%;
  /* Start off-screen */
}

.slide-in {
  transform: translateX(-100%);
  /* Slide in */
}

.slide-out {
  transform: translateX(100%);
  /* Slide out */
}


/* preloader style */
body.loading,
html.loading {
  overflow: hidden;
}

.loading-spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.blurred {
  filter: blur(5px);
  pointer-events: none;
  /* Disable interaction with blurred content */
}


.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000000;
  transition: opacity 0.5s ease;
  pointer-events: none;
}



/* preloader 2 */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  /* Background color for preloader */
  z-index: 9999;
  /* Ensure it's on top */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  opacity: 1;
  /* Start fully visible */
  transition: opacity 0.5s ease;
  /* Fade transition */
}

/* Hide preloader */
#preloader.hidden {
  opacity: 0;
  /* Fade out */
  pointer-events: none;
  /* Prevent interaction while fading out */
}

.loading-wave {
  width: 300px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.loading-bar {
  width: 20px;
  height: 10px;
  margin: 0 5px;
  background-color: #3498db;
  border-radius: 5px;
  animation: loading-wave-animation 1s ease-in-out infinite;
}

.loading-bar:nth-child(2) {
  animation-delay: 0.1s;
}

.loading-bar:nth-child(3) {
  animation-delay: 0.2s;
}

.loading-bar:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes loading-wave-animation {
  0% {
    height: 10px;
  }

  50% {
    height: 50px;
  }

  100% {
    height: 10px;
  }
}



/* Disable scrolling */
body.preloader-active {
  overflow: hidden;
}


/* ========= mystore_accounts ========== */



.container-account-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;


}

.card-account-list {

  float: left;
  width: 330px;
  height: 240px;
  margin: 10px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  display: block;
  /* vertical-align: top; */
  display: flex;
  /* Allow children to align properly */
  flex-direction: column;
  /* Make sure content stacks vertically */
  justify-content: space-between;
}



.tbody-account {
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping */
  justify-content: flex-start;
  /* Align to the left */
}

.card-account-list h3 {
  margin-bottom: 10px;
}

.card-account-list p {
  margin-bottom: 10px;
}

/* Align the search bar to the rightmost side of the table */
.dataTables_wrapper .dataTables_filter {
  text-align: right;
  /* Aligns the search bar to the right */
  float: right;
  /* Ensures it stays on the right */
  width: 100%
}

.dropdown {
  margin-bottom: 10px;
}

/* button */
.container-button-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px; /* Spacing between button and search bar */
}

/* Button mystore styling */
/* Container styling for button */
.container-button-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px; /* Spacing between dropdown and search bar */
}

/* Dropdown button styling */
.archive-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background-color: #5a47f8;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.archive-btn:hover {
  background-color: #4c3be1;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Dropdown menu styling */
.dropdown-menu {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 8px;
  min-width: 150px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #5a47f8;
  color: #ffffff;
}
/* searchbar */
.container-search-bar {
  position: relative;
  box-sizing: border-box;
  width: fit-content;
}

.mainbox {
  box-sizing: border-box;
  position: relative;
  width: 230px;
  height: 50px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  border-radius: 160px;
  background-color: #5a47f8;
  transition: all 0.3s ease;
}

.checkbox:focus {
  border: none;
  outline: none;
}

.checkbox:checked {
  right: 10px;
}

.checkbox:checked~.mainbox {
  width: 50px;
}

.checkbox:checked~.mainbox .search_input {
  width: 0;
  height: 0px;
}

.checkbox:checked~.mainbox .iconContainer {
  padding-right: 22%;
}

.checkbox {
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 17px;
  top: 10px;
  z-index: 9;
  cursor: pointer;
  appearance: none;
}

.search_input {
  box-sizing: border-box;
  height: 100%;
  width: 170px;
  background-color: transparent;
  border: none;
  outline: none;
  padding-bottom: 4px;
  padding-left: 10px;
  font-size: 1em;
  color: white;
  transition: all 0.3s ease;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.search_input::placeholder {
  color: rgba(255, 255, 255, 0.776);
}



.search_icon {
  box-sizing: border-box;
  fill: white;
  font-size: 1.3em;
  /* margin-right: 2px; */
}



@media (max-width: 1199px) {
  .card-account-list {
    width: 410px;
  }


}


@media (max-width: 991px) {
  .card-account-list {
    width: 96%;

  }

  .group {
    max-width: none;
  }

  .card-row {
    width: 100%;
    /* border: 1px solid black; */
  }

  .card-td {
    width: 100%;
    display: block;
  }


}

/* ========= mystore_accounts END ========== */