* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

*:focus {
  outline: none !important;
}

body {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  background: #ffffff;
}

.up h2 {
  font-size: 0.9em;
}

.navigation1 {
  position: fixed;
  width: 100%;
  height: 60px;
  background: #ffffff;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  top: 0px;
  border-bottom: 0.1px solid #e5e5e5;
}

.navigation1 la {
  width: 300px;
}

.navigation1 la h2 {
  color: #000000;
}

.navigation1 ul {
  display: flex;
  width: 660px;
}

.navigation1 ul li {
  position: relative;
  width: 70px;
  height: 50px;
  list-style: none;
  z-index: 1;
}

.page.home {
  min-width: 300px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 5px;
  max-width: 600px;
}

.navigation1 ul li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  font-weight: 500;
}

.navigation1 ul li a .icon {
  position: relative;
  display: block;
  line-height: 75px;
  font-size: 1.5em;
  text-align: center;
  color: #9e9e9e;
  transform: translateY(-12px);
}

.navigation1 ul li.active a .icon {
  transform: translateY(-18px);
}

.navigation1 ul li a .text {
  position: absolute;
  color: #9e9e9e;
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(20px);
}

.navigation1 ul li.active a .text {
  opacity: 1;
  transform: translateY(1px);
}

.navigation {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 90px;
  background: #ffffff;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  border-top: 0.1px solid #e5e5e5;
}

.navigation ul {
  display: flex;
  width: 350px;
  justify-content: space-between;
  gap: 10%;
}

.navigation ul li {
  position: relative;
  width: 70px;
  height: 70px;
  list-style: none;
  z-index: 1;
}

.navigation ul li a {
  position: relative;
  display: flex;
  justify-content: end;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  font-weight: 500;
}

.navigation ul li a .icon {
  position: relative;
  display: block;
  line-height: 1px;
  font-size: 1.5em;
  text-align: center;
  color: #a4a4a4;
}

.navigation ul li.active a .icon {
  color: rgb(255, 0, 0);
}

.navigation ul li a .text {
  position: fixed;
  color: #a4a4a4;
  font-weight: 400;
  font-size: 0.68em;
  letter-spacing: 0.05em;
  opacity: 1;
  margin-block-end: -23px;
}

.navigation ul li.active a .text {
  color: rgb(255, 0, 0);
}

.icon-container {
  margin-left: 5px;
  background-color: rgb(236, 236, 236);
  height: 35px;
  padding-left: 10px;
  align-content: center;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  padding-top: 8.1px;
  padding-bottom: 8.1px;
}
.icon-container ion-icon {
  color: #5f5f5f;
}

@media (max-width: 999px) {
  .up {
    display: flex;
    position: fixed;
    width: 100%;
    height: 50px;
    background: #ffffff;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    top: 0px;
    border-bottom: 0.1px solid #e5e5e5;
  }
  .up .icon-up-add {
    color: rgb(255, 255, 255);
    background-color: rgb(255, 0, 0);
    border-radius: 30px;
    margin-right: 10px;
    font-size: 1.7em;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .up .icon-up-menu {
    color: rgb(255, 255, 255);
    background-color: rgb(255, 0, 0);
    border-radius: 30px;
    margin-right: 10px;
    font-size: 1.7em;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .up .icon-up-menu {
    opacity: 0;
  }

  .navigation {
    display: flex;
  }

  .data {
    margin-left: 0px;
  }
  .container {
    margin-top: 35px;
    padding-bottom: 75px;
  }

  #fixedButton {
    display: none;
  }
}

@media (min-width: 1000px) {
  .navigation1 {
    display: flex;
  }
  .data {
    margin-left: 0px;
  }
  .container {
    margin-top: 45px;
  }
  .up {
    display: none;
  }
  .search {
    height: 30px;
    margin-left: 27px;
    margin-right: 22px;
    border-radius: 5px;
  }
  #searchInput {
    height: 30px;
  }
}

@media (min-width: 600px) {
  .data {
    margin-left: 27px;
  }

  .container h1 {
    margin-left: 27px;
  }

  .left-text {
    margin-left: 27px;
  }
  .right-text {
    margin-right: 26px !important;
  }
  .page.home {
    margin-right: 10px;
  }
  .search {
    height: 30px;
    margin-left: 27px;
    margin-right: 22px;
    border-radius: 5px;
  }
  #searchInput {
    height: 30px;
  }
}

.data {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
  margin-bottom: 50px;
  column-gap: 10px;
}

.data-card {
  display: flex;
  flex-direction: column;
  width: 125px;
  box-sizing: border-box;
  border: 1px solid #f1f1f1;
  border-radius: 12px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  background-color: #f1f1f1;
  min-height: 142px;
  position: relative;
}

.img {
  border-radius: 10px;
  margin-top: 3px;
  margin-left: 4px;
  margin-right: 4px;
  margin-bottom: 10px;
  height: 72px;
  object-fit: cover;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.data-card img {
  width: 90px;
  object-fit: cover;
}

.container h1 {
  font-size: 18px;
  margin-bottom: 10px;
}

#noSalesTitle {
  text-align: center;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  margin-bottom: 0px;
  margin-left: 0px;
}

.data-card p {
  margin-left: 5px;
  align-items: flex-start;
}

.no-margin {
  margin-bottom: 0 !important;
}

.total-length-display {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.left-text {
  text-align: left;
  color: rgb(0, 0, 0);
}

.right-text {
  text-align: right;
  margin-right: 8.3px;
}

.retail {
  color: red;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 5px;
}

.title {
  color: #000000;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.size {
  color: #9f9f9f;
  font-size: 15px;
  margin-bottom: 5px;
}

#fixedButton {
  position: fixed;
  right: 10px;
  top: 70px;
  padding: 10px 20px;
  background-color: rgb(255, 0, 0);
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  width: 140px;
}

.containerN {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  width: 100%;
  max-width: 600px;
  padding-left: 10px;
  padding-right: 10px;
}

.containerI {
  margin-top: 60px;
  width: 100%;
  max-width: 430px;
  padding-left: 10px;
  padding-right: 10px;
}

.up .icon-up-menu {
  color: rgb(255, 255, 255);
  background-color: rgb(255, 49, 49);
  border-radius: 30px;
  margin-left: 10px;
  font-size: 1.7em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.up .icon-up-add {
  color: rgb(255, 255, 255);
  background-color: rgb(255, 0, 0);
  border-radius: 30px;
  margin-right: 10px;
  font-size: 1.7em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bouton {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 10px;
  border-radius: 15px;
  padding: 10px;
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  margin-left: 10px;
  margin-right: 10px;
  max-width: 450px;
  margin: auto;
  margin-bottom: 15px;
}

#submitDataButton {
  width: 100%;
  height: 35px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  display: block;
  margin: 0 auto;
}

.popupS {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 30px;
  padding: 10px;
  background-color: #c8c8c8;
  color: #fff;
  text-align: center;
  transition: top 0.5s;
  font-size: 14px;
}

.popupS.show {
  top: 55px;
}

h5 {
  text-align: left;
  margin-left: 0;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 3px;
}

.Input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid #ccc;
  height: 35px;
}

.icon-container ion-icon {
  vertical-align: middle;
  color: #5f5f5f;
}

@media (max-width: 600px) {
  .bouton {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    background-color: #2b2b2b;
    border-radius: 0px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border: 0.2px solid rgba(211, 211, 211, 0);
    box-shadow: 0 0 4px rgb(82 82 82 / 28%);
    padding: 10px;
    position: fixed;
    bottom: 0px;
    margin-left: 10px;
    margin-right: 10px;
    left: 0px;
    right: 0px;
    margin: auto;
    width: 100%;
    max-width: 600px;
    height: 90px;
  }
}

@media (max-width: 999px) {
  .navigation {
    display: flex;
  }

  .up {
    display: flex;
    position: fixed;
    width: 100%;
    height: 50px;
    background: #ffffff;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    top: 0px;
    border-bottom: 0.1px solid #e5e5e5;
  }

  .data {
    margin-left: 0px;
  }

  #fixedButton {
    display: none;
  }

  .containerN {
    margin-top: 60px;
    margin-bottom: 100px;
  }
}

@media (min-width: 1000px) {
  .navigation1 {
    display: flex;
  }
  .data {
    margin-left: 0px;
  }

  .up {
    display: none;
  }
  .search {
    height: 30px;
    margin-left: 27px;
    margin-right: 22px;
    border-radius: 5px;
  }
  #searchInput {
    height: 30px;
  }

  .containerN {
    margin-top: 70px;
    margin-bottom: 100px;
  }
}

@media (min-width: 600px) {
  .data {
    margin-left: 27px;
  }

  .container h1 {
    margin-left: 27px;
  }

  h2 {
    margin-left: 27px;
  }
  .left-text {
    margin-left: 27px;
  }
  .right-text {
    margin-right: 26px !important;
  }
  .page.home {
    margin-right: 10px;
  }
  .search {
    height: 30px;
    margin-left: 27px;
    margin-right: 22px;
    border-radius: 10px;
  }
  #searchInput {
    height: 30px;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: rgb(23, 23, 23);
  }

  .container h1 {
    color: #ffffff;
  }

  .title {
    color: #ededed;
  }

  .size {
    color: #9f9f9f;
  }

  .data-card {
    background-color: #272727;
    border: 1px solid #272727;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  }
  .img {
    background-color: #ffffff0d;
  }

  .navigation1 {
    background: rgb(23, 23, 23);
    border-bottom: 0.1px solid #353535;
  }
  .up {
    display: flex;
    position: fixed;
    width: 100%;
    height: 50px;
    background: #ffffff;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    top: 0px;
    border-bottom: 0.1px solid #e5e5e5;
  }

  .up {
    background: rgb(23, 23, 23);
    border-bottom: 0.1px solid #353535;
  }

  .navigation1 ul li a .icon {
    color: #ffffff;
  }

  .navigation1 ul li.active a .icon {
    transform: translateY(-18px);
  }

  .navigation1 ul li a .text {
    color: #ffffff;
  }

  .navigation {
    background: rgb(23, 23, 23);
    border-top: 0.1px solid #353535;
  }

  .navigation ul li a .icon {
    color: #ffffff;
  }

  .navigation ul li a .text {
    color: #ffffff;
  }

  .navigation1 la h2 {
    color: #ffffff;
  }

  .up {
    background: rgb(23, 23, 23);
    border-bottom: 0.1px solid #353535;
  }

  .up h2 {
    color: #ffffff;
  }

  .right-text {
    color: rgb(255, 255, 255);
  }

  #searchInput {
    color: #ffffff !important;
    background-color: rgb(47, 47, 47) !important;
  }

  .search {
    position: relative;
  }

  .icon-container {
    background-color: rgb(47, 47, 47) !important;
  }

  .search-button {
    background-color: rgb(47, 47, 47) !important;
  }

  #submitDataButton {
    background-color: #00d1a4;
    color: #fff;
  }

  #submitDataButton:hover {
    background-color: #007a5f;
  }

  .bouton {
    background-color: #2b2b2b;
    border: 0.2px solid rgba(211, 211, 211, 0);
    box-shadow: 0 0 4px rgb(82 82 82 / 28%);
  }

  .popupS {
    background-color: #353535;
    color: #bababa;
    border: 1px solid rgb(75 75 75);
  }

  h5 {
    color: #d5d5d5;
  }

  .Input {
    border: none;
    background-color: rgb(47, 47, 47);
    color: white;
  }

  .left-text {
    color: rgb(255, 255, 255);
  }
}

@media (prefers-color-scheme: light) {
  #submitDataButton {
    background-color: #00d1a4;
    color: #fff;
  }

  #submitDataButton:hover {
    background-color: #00ad88;
  }

  .bouton {
    background-color: #f1f1f1;
    border: 0.2px solid rgba(211, 211, 211, 0);
    box-shadow: 0 0 4px rgb(82 82 82 / 28%);
  }

  .popupS {
    background-color: #c8c8c8;
    color: #fff;
  }

  h5 {
    color: #000000;
  }

  .Input {
    border: 1px solid rgb(208, 208, 208);
    background-color: white;
    color: black;
  }
}

.light-mode #submitDataButton {
  background-color: #00d1a4;
  color: #fff;
}

.light-mode #submitDataButton:hover {
  background-color: #00ad88;
}

.light-mode .bouton {
  background-color: #f1f1f1;
  border: 0.2px solid rgba(211, 211, 211, 0);
  box-shadow: 0 0 4px rgb(82 82 82 / 28%);
}

.light-mode .popupS {
  background-color: #c8c8c8;
  color: #fff;
}

.light-mode .up {
  background: #ffffff;
  border-bottom: 0.1px solid #e5e5e5;
}

.light-mode .up h2 {
  color: #000000;
}

.light-mode h5 {
  color: #000000;
}

.light-mode .Input {
  border: 1px solid rgb(208, 208, 208);
  background-color: white;
  color: black;
}

.light-mode .navigation {
  background: #ffffff;
  border-top: 0.1px solid #e5e5e5;
}

.light-mode .navigation ul li a .icon {
  color: #a4a4a4;
}
.light-mode .navigation ul li.active a .icon {
  color: rgb(255, 0, 0);
}
.light-mode .navigation ul li a .text {
  color: #a4a4a4;
}
.light-mode .navigation ul li.active a .text {
  color: rgb(255, 0, 0);
}

.light-mode .navigation1 {
  background: #ffffff;
  border-bottom: 0.1px solid #e5e5e5;
}
.light-mode .navigation1 la h2 {
  color: #000000;
}
.light-mode .navigation1 ul li a .icon {
  color: #9e9e9e;
}
.light-mode .navigation1 ul li a .text {
  color: #9e9e9e;
}

.light-mode .data-card {
  border: 1px solid #f1f1f1;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  background-color: #f1f1f1;
}

.light-mode .title {
  color: #000000;
}

.light-mode .size {
  color: #9f9f9f;
}

.light-mode .container h1 {
  color: #000000;
}

.light-mode .search {
  background-color: rgb(236, 236, 236);
}

.light-mode #searchInput {
  color: #000000;
  background-color: rgb(236, 236, 236);
  border: rgb(236, 236, 236);
}
.up {
  display: flex;
  position: fixed;
  width: 100%;
  height: 50px;
  justify-content: space-between;
  align-items: center;
  z-index: 99999;
  top: 0px;
}
