.gallery_container {
  height: fit-content;
  /* min-height: 100vh; */
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  padding-top: 0;
}

.gallery_header {
  height: fit-content;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: #f5f7fa;
  z-index: 9;
}

.header_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;

  >h1 {
    font-size: 18px;
    font-weight: 700;
  }
}

.gallery_action {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.gallery_status {
  font-size: 13px;
  font-weight: 400;
  display: flex;
  gap: 20px;

  span {
    font-weight: 700;
  }
}

.action {
  &:hover {
    cursor: pointer;
    text-decoration: underline;
  }
}

.gallery_button {
  /* padding: 7px 15px !important; */
  /* background-color: #3d3d3d !important; */
  font-size: 13px !important;

  &:hover {
    /* background-color: #000 !important; */
  }
}

.search_container {
  width: 100%;
  height: fit-content;
  background-color: #e8e8e8;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  font-size: 18px;

  >input {
    border: none;
    outline: none;
    background: none;
    width: 100%;
    height: 18px;
    font-size: 13px;
    font-weight: 500;
  }
}

.loader_container {
  width: 100%;
  height: calc(100vh - 230px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  height: fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;

  >p {
    font-size: 15px;
    font-weight: 400;
  }
}

.item_multiple_edit {
  width: 100%;
  height: fit-content;
  display: flex;
}

.item_navigation {
  width: 200px;
  min-width: 200px;
  height: 100%;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin-top: 56px;
  border-right: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.navigation_item {
  height: fit-content;
  padding: 5px;
  cursor: pointer;
  transition: all .1s ease;
  border-radius: 10px;

  &:hover {
    background-color: #bdbdbd !important;
  }

  p {
    width: 100%;
    font-size: 12px;
    padding: 3px 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  &.active {
    background-color: #e5e5e5;
  }
}

.navigation_image {
  width: 100%;
  height: 100px;
  overflow: hidden;
  border-radius: 5px;
}

.item_container {
  width: 100%;
  height: fit-content;
  max-height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
}

.item_header {
  padding: 0 20px;

  >h1 {
    width: 90%;
    font-size: 22px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.item_action {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 20px;
}

.item_info {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 400;

  span {
    font-weight: 600;
  }
}

.item_action_button {
  display: flex;
  gap: 15px;
  align-items: center;
}

.button {
  padding: 7px 20px !important;
  font-size: 13px !important;
  background-color: #3d3d3d !important;

  &:hover {
    background-color: #000 !important;
  }
}

.item_body {
  display: flex;
  align-items: stretch;
  gap: 30px;
  padding: 10px 20px;
}

.body_image {
  min-width: 400px;
  max-width: 400px;
  height: 230px;
  border-radius: 5px;
}

.image {
  cursor: pointer;
  height: 100%;
  width: 100%;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
}

.body_content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
}

.input {
  background-color: transparent !important;
  border-bottom: none !important;
  border: 1px solid #ddd !important;
  border-radius: 5px;
  box-shadow: 0 2px 2px -1px #0000001a;

  &:has(input:focus, textarea:focus) {
    border: 1px solid #509ccf !important;
    box-shadow: 0 2px 12px -1px #509ccf4b;
  }

  &:has(input:disabled) {
    background-color: #f2f2f2 !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    color: #7c7c7c !important;
  }
}

.label {
  font-size: 13px !important;
  font-weight: 500;
}

.item_box_label {
  padding-left: 5px;
  display: flex;
  align-items: center;

  span {
    padding-left: 10px;
    cursor: pointer;
  }
}

.item_box_value {
  font-size: 13px;
  padding: 5px;
  padding-left: 0;
  cursor: pointer;

  &:hover {
    text-decoration: underline;
  }
}

.warning {
  height: fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.warning_text {
  font-size: 13px;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #eed7d7;
  padding: 5px 10px;
  color: #d80000;
  border-radius: 3px;
}

.pagination {
  width: 100%;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}