body,
h1,
h2,
h3,
p,
ul,
li {
  margin: 0;
  padding: 0;
  direction: rtl;
  box-sizing: border-box;
  font-family: "Somar", sans-serif !important;
}


@font-face {
  font-family: "Somar";
  src: url("/shop/assets/fonts/alfont_com_SomarGX.ttf");
}

/* * {
  box-sizing: border-box;
  font-family: "Somar", sans-serif !important;
} */

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}
.left-nav {
  width: 103px;
  height: 95vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  right: 20px;
  top: 2.5vh;
  border-radius: 24px;
  transition: width 0.8s;
}

.nav-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: white;
  gap: 5px;
  transition: color 10s;
}
.container {
  margin-left: 150px;
}
.icon {
  font-size: 24px;
  margin-bottom: 5px;
  border-radius: 50%;
}

.items-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  margin-top: 2rem;
}

.main-title {
  color: #331a4d;
  font-weight: 700;
  font-size: 30px;
  line-height: 40px;
}
.description {
  color: #584668;
  font-size: 16px;
  line-height: 40px;
}
.title {
  display: none;
  opacity: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 33px;
  color: #9b90a5;
  transition: opacity 0.8s;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.left-nav:hover {
  width: 220px;
}

.left-nav:hover .nav-item {
  color: #663399;
  font-weight: 700;
  padding: 5px 40px;
  transition: padding 0.8s;
}
.active {
  background-color: #663399;
  color: white;

  padding: 5px;
  border-radius: 24px;
}

.left-nav:hover .icon {
  display: inline-block;
}

.left-nav:hover .title {
  display: block;
  opacity: 1;
}
.content {
  margin-top: 5vh;
  margin-right: -150px;
  flex-grow: 1;
  padding: 0px;
  transition: margin-right 0.8s;
  height: 160px;
}
.left-nav:hover + .content {
  margin-right: 240px;
}
.card-container {
  display: flex;
  padding-right: 15%;
  margin-top: 2rem;
  width: 100%;
  flex-wrap: wrap;
  gap: 30px;
}
.card {
  background-color: #ffffff;
  padding: 16px;
  border-radius: 16px;
  width: 330px !important;
  height: 160px !important;
  max-width: 330px !important;
  max-height: 160px !important;
}
.card-column {
  display: flex;
  text-align: center;
  flex-direction: column;
}
.orders-title {
  font-size: 18px;
  font-weight: 600;
  color: #663399;
}

.orders-description {
  color: #584668;
  font-weight: 600;
}
.client-title {
  font-size: 12px;
  font-weight: 700;
  color: #1b1125;
}
.card-row-between {
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-row-end {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: space-between;
}

.switch {
  position: relative;
  display: inline-block;
  width: 55px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #663399;
}

input:focus + .slider {
  box-shadow: 0 0 1px #663399;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* .modal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.modal {
  background-color: #fff;
  padding: 20px;
  width: 600px;
  border-radius: 25px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transform: scale(0.1);
  transition: transform 0.8s ease-in-out;
}

.modal.active {
  transform: scale(1.2);
} */
select {
  width: 230px;
  color: rgb(36, 35, 42);
  font-size: 16px;
  line-height: 20px;
  min-height: 28px;
  border-radius: 4px;
  padding: 4px 16px;
  border: 2px solid transparent;
  box-shadow: rgb(0 0 0 / 12%) 0px 1px 3px, rgb(0 0 0 / 24%) 0px 1px 2px;
  background: rgb(251, 251, 251);
  transition: all 0.1s ease 0s;
}
input {
  width: 100%;
  color: rgb(36, 35, 42);
  font-size: 16px;
  line-height: 20px;
  min-height: 28px;
  border-radius: 4px;
  padding: 8px 16px;
  border: 2px solid transparent;
  box-shadow: rgb(0 0 0 / 12%) 0px 1px 3px, rgb(0 0 0 / 24%) 0px 1px 2px;
  background: rgb(251, 251, 251);
  transition: all 0.1s ease 0s;
}
input:focus,
input:focus-visible {
  border: 2px solid #663399;
  outline: none;
}
select:focus,
select:focus-visible {
  border: 2px solid #663399;
  outline: none;
}

.button-primary {
  background-color: #663399;
  cursor: pointer;
  border: none;
  color: white;
  padding: 14px 32px;
  border-radius: 25px;
  font-weight: 500;
}
.button-secondary {
  border: 1px solid #663399;
  cursor: pointer;
  font-weight: 500;
  background-color: transparent;
  color: #663399;
  padding: 12px 32px;
  border-radius: 25px;
  margin-left: 65px;
}
.label {
  color: #663399;
  font-size: 14px;
  display: block;
  margin: 5px;
}
/* .close-btn {
  position: absolute;
  width: 25px;
  height: 25px;
  top: 23px;
  right: 23px;
  font-size: 20px;
  cursor: pointer;
} */
.button-error {
  border: 1px solid red;
  cursor: pointer;
  font-weight: 500;
  background-color: transparent;
  color: red;
  padding: 12px 32px;
  border-radius: 20px;
  margin-left: 70px;
}

/* .modal-content {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
} */
.form-content {
  display: none;
}
/* .modal-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 20px;
}
.modal-card {
  padding: 10px;
} */
.client-description {
  font-size: 12px;
  color: #331a4d;
  font-weight: 500;
}
.flex {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  /* .modal {
    background-color: #fff;
    padding: 20px;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transform: scale(0.1);
    transition: transform 0.8s ease-in-out;
  } */
  header {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
  }
  /* .modal-card-responsive {
    flex-direction: column;
  } */
  .card {
    padding: 10px;
  }
  .card-row-end {
    flex-wrap: wrap;
    margin-top: 0.5rem;
    gap: 20px;
  }

  /* .modal.active {
    transform: scale(1);
  } */
  .container {
    margin-left: 0;
  }
  .left-nav {
    right: 0;
    width: 50px;
    height: 100vh;
    top: 0;
    border-radius: none;
  }
  .card {
    width: 330px;
  }
  .main-title {
    font-size: 20px;
  }
  .description {
    font-size: 12px;
  }
  .left-nav:hover + .content {
    margin-right: 50px;
  }
  .content {
    margin-right: 50px;
  }
  .card-container {
    margin-top: 3rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}