.input_container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 5px;
  position: relative;
}

.input_header {
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.label,
.format {
  font-size: 14px;
  margin-left: 5px;
  position: relative;
}

.format {
  text-decoration: underline;
  cursor: pointer;

  &:hover {
    text-decoration: none;
  }

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

.required {
  color: #ff4545;
}

.error_message {
  font-size: 12px;
  color: #000;
  padding: 4px 10px;
  border-radius: 5px;
  background-color: #ff686865;
}

.wrapper {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  background-color: #4085b312;
  border-bottom: 2px solid #4085b3;
  transition: all .3s ease;

  &:has(.input:focus, .textarea:focus) {
    background-color: #4085b33c;
  }

  &:has(.input:disabled) {
    opacity: .8;
    cursor: not-allowed;
  }

  &.error {
    background-color: #ff686829;

    &:has(.input:focus) {
      background-color: #ff686865;
    }
  }

  &.active {
    border: 1px solid #509ccf !important;
    box-shadow: 0 2px 12px -1px #509ccf4b;
  }
}

.icon {
  font-size: 21px;
}

.dropdown {
  height: 18px;
  width: 100%;
  font-size: 14px;
}

.toggle_icon {
  padding: 3px;
  width: 17px;
  height: 17px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .3s ease;

  &.open {
    transform: rotate(180deg);
  }

  &:hover {
    background-color: #dfdfdf;
  }
}

.dropdown_items {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  height: fit-content;
  max-height: 300px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 5px;
  box-shadow: 0 2px 2px -1px #0000001a;
  overflow-y: auto;
  z-index: 9;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dropdown_item {
  font-size: 13px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all .1s ease;

  &:hover {
    background-color: #d4d4d4;
  }

  &:active {
    background-color: #c4c4c4;
  }
}

.input {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  border-radius: 0;
  background-color: transparent;
  width: 100%;
  font-size: 15px;
  color: #000000;

  &:disabled {
    cursor: not-allowed;
  }
}

.continouslyFrom {
  font-size: 14px;
  padding: 0 5px;
  opacity: .7;
}

.tip {
  font-size: 12.5px;
}

.textarea {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  border-radius: 0;
  background-color: transparent;
  width: 100%;
  font-size: 15px;
  color: #000;
  height: fit-content;
  font-family: "Geist", "Geist Fallback";
  resize: none;
  field-sizing: content;
  height: fit-content;
}

.visible_password {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  >span {
    font-size: 18px;
    transition: color .3s ease;
  }
}

.copy_box_title {
  width: 100%;
  height: fit-content;
  font-size: 14px;
  font-weight: 500;
  padding: 5px;
}

.copy_box_copy {
  width: 100%;
  height: fit-content;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eae9e9;
  border-radius: 5px;
  overflow: hidden;

  input {
    width: calc(100% - 30px);
    height: fit-content;
    padding: 5px 10px;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 14px;
  }

  button {
    width: 30px;
    height: 35px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }
}

.upload_container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 5px;
}

.uploadbox_title {
  font-size: 13px;
  font-weight: 500;
  margin-left: 5px;
}

.upload_session {
  width: 100%;
  height: fit-content;
  min-height: 60px;
  border: 1px #ddd dotted;
  display: flex;
  align-items: center;
  border-radius: 7px;
  overflow: hidden;

  &.vertical {
    min-height: 200px;
  }
}

.upload_action {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  &.vertical {
    flex-direction: column;
    gap: 60px;
  }

  &.drag {
    background-color: #f7f7f7;
  }
}

.action_upload {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;

  &.vertical {
    flex-direction: column;
    gap: 5px;
  }

  >button {
    border: none;
    padding: 5px 10px;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    &:hover {
      background-color: #d0d0d0;
    }
  }
}

.action_upload_button {
  width: fit-content;
  min-width: fit-content;
  height: fit-content;
  display: flex;
  align-content: center;
  justify-content: center;
  gap: 10px;

  &.vertical {
    position: absolute;
    top: 5px;
    right: 5px;
  }
}

.icon {
  font-size: 20px;
  cursor: pointer;
  padding: 3px;
  border-radius: 5px;
  transition: all .3s ease;

  &:hover {
    background-color: #d2d2d2;
  }
}

.action_title {
  font-size: 13px;
}

.upload_image {
  width: 100%;
  height: 70px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #efefef;

  &.vertical {
    height: 100%;
    flex-direction: column;
    gap: 10px;
    padding-top: 30px;
    position: relative;
  }
}

.image_container {
  width: 70px;
  min-width: 70px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 5px;
  margin-right: 20px;

  &.vertical {
    width: 100%;
    height: 200px;
    margin-right: 0;
  }
}

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

.image_detail {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail {
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-size: 12px;
  font-weight: 400;
  color: #222222;

  span {
    font-weight: 600;
    cursor: pointer;

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

.input_multiple_container {
  border-radius: 5px;
  box-shadow: 0 2px 2px -1px #0000001a;
  border: 1px solid #ddd;
  padding: 7px;
  padding-right: 45px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  cursor: pointer;

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

.input_multiple {
  field-sizing: content;
  border: none;
  height: 19px;

  &:focus {
    outline: none;
  }
}

.input_multiple_icon_container {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 1px solid #767676;
  padding-left: 10px;
}

.input_multiple_icon {
  font-size: 14px;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;

  &:hover {
    background-color: #e7e7e7;
  }
}

.input_suggestion {
  width: calc(100% - 50px);
  height: fit-content;
  max-height: 200px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 2px -1px #0000001a;
  overflow-y: auto;
  scroll-behavior: smooth;
  position: absolute;
  left: 5px;
  z-index: 9;
  background-color: #fff;
}

.no_data {
  width: 100%;
  height: fit-content;
  text-align: center;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  >span {
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;

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

.suggestion_load {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}

.input_suggestion_item {
  font-size: 14px;
  width: 100%;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all .1s ease;

  &:hover {
    background-color: #f3f3f3;
  }

  &:active {
    background-color: #e3e3e3;
  }

  &:focus {
    outline: none;
  }

  &.selected {
    background-color: #f3f3f3;
  }
}

.input_multiple_selected {
  font-size: 12px;
  font-weight: 500;
  background-color: #f1f1f1;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.input_multiple_close {
  font-size: 15px;
  padding: 1px;
  border-radius: 50px;
  background-color: #dbdbdb;
  cursor: pointer;

  &:hover {
    background-color: #b3b3b3;
  }
}