body {
  background: var(--screen-bg, #F5F7F9);
  margin: 0;
}

body::-webkit-scrollbar {
  display: none;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.container {
  padding: 20px;
}

.box-send-message {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px 10px;
  border-radius: 8px;
  background: var(--neutral-white, #FEFEFE);
  margin-top: 40px;
}

.box-header {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 50;
  background: var(--screen-bg, #F5F7F9);
}

.filter-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  display: flex;
  padding: 8px;
  align-items: flex-start;
  border-radius: 4px;
  background: var(--neutral-400, #D9D9D9);
}

/* Style for tab buttons */
.button {
  color: var(--neutral-700, #8F9193);
  font-size: 14px;
  font-weight: 400;
  display: flex;
  padding: 4px 10px;
  justify-content: center;
  align-items: flex-start;
  flex: 1 0 0;
}

/* Style for active tab button */
.input-message {
  border-radius: 8px;
  border: 1px solid var(--neutral-700, #8F9193);
  padding: 10px;
  outline: none;
  color: var(--neutral-800, #6D6E70);
  font-size: 14px;
  font-weight: 400;
}

.box-editor {
  width: 100%;
}

div.ck-editor__editable {
  min-height: 565px;
}

.max-text {
  display: flex;
  justify-content: flex-end;
}

.ck-content p {
  font-size: 15px;
  font-weight: 400;
  color: #6D6E70;
}

.filter-category .filter-slider .button.selected {
  color: var(--neutral-white, #FEFEFE);
  text-align: center;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  background: var(--blue-500, #2151D7);
  flex: 1 0 0;
}

.custom-select {
  position: relative;
  display: inline-block;
}

.select-selected {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  padding-left: 10px;
  padding-top: 3px;

  font-size: 15px;
  font-weight: 400;
  color: var(--neutral-800, #6D6E70);

  background-color: #ffffff;
  border: 1px solid #8F9193;
  cursor: pointer;

  appearance: none;
  background-position-x: 96%;
  background-position-y: 50%;
  background-image: url(../../resource/icon-arrow.png);
  background-repeat: no-repeat;

}

.select-items div {
  padding: 10px;
  cursor: pointer;
}

/* Show the options when the select is clicked */
.custom-select.open .select-items {
  display: block;
}

.detail_action_button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;

  background: #3679F5;
  color: #FEFEFE;
  border-radius: 8px;
  padding: 8px 13px;
  font-weight: 600;
  user-select: none;
}

div#ckeditor img {
  max-width: 100%;
  max-height: 400px;
}

.box-selection {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.filtering {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
}

.all-button {
  width: 20%;
  border: 1px solid var(--neutral-700, #8F9193);
  background: var(--neutral-white, #FEFEFE);
  font-size: 15px;
  font-weight: 400;
  color: var(--neutral-800, #6D6E70);
}

.filtering-section {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 20px;
  height: fit-content;
}

.input-search img {
  width: 24px;
  padding-right: 5px;
}

.text-input {
  padding: 10px;
  width: 92%;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 400;
  color: var(--neutral-800, #6D6E70);
  font-family: Open Sans;
}

.container-selection {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 10px;
  /* height: calc(100dvh - 100px); */
  height: calc(49dvh - 100px);
  overflow: auto;
}

.specialty {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #FFF;
  padding: 15px 30px;
}

.specialty:active {
  background: #B4E6C1;
}

.text-specialty {
  color: var(--neutral-black, #0A0A0A);
  font-family: Open Sans;
  font-size: 14px;
  font-weight: 400;
}

.checkbox {
  width: 20px;
  height: 20px;
}

.background {
  background: var(--neutral-200, #F5F5F5);
}

.ck.ck-sticky-panel .ck-sticky-panel__content_sticky {
  position: unset !important;
}

/* Textarea */
._article {
  border-radius: 8px;
  padding: 10px;
  height: 200px;
  overflow: auto;
  resize: none;
  border: 1px solid var(--neutral-500, #c5c8c6);
  font-size: 14px;
}

.resultChar {
  display: flex;
  justify-content: end;
  color: var(--neutral-800);
  font-size: 12px;
}
.resultChar span {
  color: var(--neutral-800);
  font-size: 12px;
}

._boxImg {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100px;
  overflow: auto;
}

._conntenImg {
  display: flex;
  position: relative;
  align-items: center;
  border: 1px solid var(--neutral-500, #c5c8c6);
  /* flex: 9; */
  padding: 8px;
  gap: 10px;
  flex-wrap: wrap;
  border-radius: 8px;
  margin-top: 10px;
  height:225px;
}

._conntenImg .item-img {
  width: 100px;
  height: 100px;
  border: 2px solid var(--neutral-400, #d9d9d9);
}

._conntenImg .item-img:active {
  opacity: 0.5;
}

.img-container {
  position: relative;
  display: inline-block;
}

.subtract {
  position: absolute;
  top: 0;
  right: 0;
  background-color: red;
  color: white;
  border: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  padding: 10px 10px;
  font-size: 10px;
  font-weight: bolder;
  display: flex;
  justify-content: center;
  align-items: center;
}

._btnUpload {
  position: absolute;
}

.col-img {
  position: relative;
  user-select: none;
}

.col-img img {
  opacity: 0.7;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

._btnUpload {
  left: 61%;
  position: absolute;
  top: -22%;
}

._article-contents[contenteditable] {
  outline: 0px solid transparent;
}

.upload-header {
  display: flex;
  justify-content: space-between;
  /* padding: 8px 0px; */
  font-weight: 500;
  flex: 1;
}

.upload-btn {
  color: #3c97f8;
  font-size: 14px;
  cursor: pointer;
}

.upload-btn:active {
  opacity: 0.5;
}

.item-img, .subtract {
  cursor: pointer;
}
