body {
  margin: 0px;
}
@import url("/regalefarzad/src/main/resources/static/css/variables.css");
.header {
  background-color: var(--primary-color);
}
.header-container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.left-section {
  display: flex;
  align-items: center;
  width: max-content;
}
.upper-actions {
  background-color: var(--onPrimary-color);
  border-radius: 10px;
  padding: 5px;
  margin: 10px;
  left: 0;
}

.shopping-basket {
  width: 35px;
  height: 100%;
  cursor: pointer;
}
.sign-in {
  font-size: larger;
  color: var(--white-color);
  font-family: Inter;
  cursor: pointer;
  padding: 10px;
}

.right-section {
  display: flex;
  align-items: center;
  direction: rtl;
}
.logo-text {
  color: white;
  font-size: xx-large;
}
.logo-image {
  width: 80px;
  margin-inline: 20px;
}

.search-bar-desktop {
  background-color: var(--onPrimary-color);
  border-radius: 10px;
  padding: 5px;
  margin: 10px;
  left: 0;
  display: flex;
  margin-right: 25px;
}
.search-input-desktop {
  font-size: x-large;
  background-color: transparent;
  border: none;
  color: var(--white-color);
  outline: none;
  caret-color: white;
  margin: 5px;
  margin-left: 40px;
}

.search-icon-desktop {
  width: 35px;
  cursor: pointer;
}
.search-bar-mobile {
  display: none;
}
.search-input-mobile {
  margin-right: 5px;
}
.search-icon-mobile {
  width: 35px;
  cursor: pointer;
}

.user-dropdown {
  position: relative;
  display: inline-block;
  direction: rtl;
  color: white;
}
.user-dropdown .dropdown-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  font-weight: 500;
  color: white;
  font-size: 14px;
}
.user-dropdown .dropdown-toggle:after {
  content: " ▾ ";
  display: inline-block;
  margin-right: 6px;
  font-size: 12px;
}
.user-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  min-width: 160px;
  padding: 6px 0;
  border-radius: 6px;
  z-index: 1000;
}
.user-dropdown .dropdown-menu li {
  list-style: none;
}
.user-dropdown .dropdown-menu li a {
  display: block;
  padding: 8px 14px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}
.user-dropdown .dropdown-menu li a:hover {
  background: #f5f5f7;
}
.upper-actions {
  display: inline-block;
  margin: 0 8px;
  vertical-align: middle;
}

/* Mobile layouts*/
@media only screen and (max-width: 768px) {
  .header {
    background-color: var(--primary-color);
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: column;
  }
  .left-section {
    display: flex;
    align-items: center;
    width: max-content;
  }
  .upper-actions {
    background-color: var(--onPrimary-color);
    border-radius: 10px;
    padding: 5px;
    margin: 10px;
    left: 0;
  }

  .shopping-basket {
    width: 28px;
    height: 100%;
    cursor: pointer;
  }
  .sign-in {
    font-size: small;
    color: var(--white-color);
    font-family: Inter;
    cursor: pointer;
    padding: 10px;
  }

  .right-section {
    display: flex;
    align-items: center;
    direction: rtl;
  }
  .logo-text {
    color: white;
    font-size: x-large;
  }
  .logo-image {
    width: 50px;
    margin-inline: 20px;
  }

  .search-bar-desktop {
    background-color: var(--onPrimary-color);
    border-radius: 10px;
    padding: 5px;
    margin: 10px;
    left: 0;
    display: none;
    margin-right: 25px;
  }
  .search-input-desktop {
    font-size: x-large;
    background-color: #00000000;
    border: none;
    color: var(--white-color);
    outline: none;
    caret-color: white;
    margin: 5px;
    margin-left: 40px;
  }

  .search-icon-desktop {
    width: 35px;
    cursor: pointer;
  }
  .search-bar-mobile {
    display: flex;
    direction: rtl;
    background-color: var(--onPrimary-color);
    border-radius: 10px;
    padding: 5px;
    padding-inline: 5px;
    justify-content: space-between;
    width: 80%;
    margin-inline: 100px;
    margin-bottom: 15px;
  }
  .search-input-mobile {
    background-color: #00000000;
    border: none;
    margin-left: 20px;
  }
  .search-icon-mobile {
    width: 35px;
    cursor: pointer;
  }
}
