/* event pointer */
a>*,
button>* {
  pointer-events: none;
}

/* a and button tag flex */
a,
button {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

/* width fit content */
.w-fit {
  width: fit-content !important;
}

/* white space */
.whitespace-nowrap {
  white-space: nowrap !important;
}

/* notification list wrapper */
.notify-list {
  height: fit-content !important;
  max-height: 700px !important;
  overflow-y: auto;
}

/* add asterix in label required */
label[role="required"]::after {
  content: " *";
  color: #fc4b6c;
}

/* input group width auto */
.input-group-auto-width {
  flex: 0 0 auto !important;
  width: auto !important;
}

/* input group border radius */
.input-group .form-control {
  border-top-right-radius: 7px !important;
  border-bottom-right-radius: 7px !important;
}

/* table */
table thead th:first-child,
table thead th:last-child {
  white-space: nowrap;
  width: 1%;
}

/* pagination data table */
.dt-paging .pagination .dt-paging-button.page-item.active .page-link {
  border-color: #e9589b;
  background-color: #e9589b;
}

/* quilljs */
.ql-toolbar.ql-snow {
  border: 1px solid #dfe5ef;
  border-radius: 7px;
}

.ql-container.ql-snow {
  height: auto;
  min-height: 205px;
  max-height: 400px;
  overflow-y: auto;
  width: 100%;
  border: 1px solid #dfe5ef;
}

.ql-container.ql-snow.is-invalid {
  border-color: #fc4b6c;
}

/* drag and drop input file */
.dropzone {
  border: 1px dashed #dfe5ef;
  border-radius: 7px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
  height: fit-content;
}

.dropzone.dragover {
  border-color: #e9589b;
  background-color: #f8f9fa;
}

.preview {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.placeholder-file-upload {
  pointer-events: none;
}

.placeholder-file-upload p>i {
  font-size: 50px;
}

/* container checkbox category */
.container-checkbox-category {
  max-height: 230px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #dfe5ef;
  border-radius: 7px;
}

/* material icon */
#actionButton .material-icons-outlined {
  font-size: 15px;
}

/* dropdown action button */
#dropdownAction.dropdown {
  position: static;
}

/* notyf */
.notyf__message {
  white-space: normal !important;
  word-break: break-word;
}

/* dropdown user & dropdown notify */
.dropdown-menu.dropdown-user,
.dropdown-menu.dropdown-notify {
  width: fit-content !important;
}

/* sidebar */
.sidebar-wrapper .sidebar-nav .metismenu .mm-active>a,
.sidebar-wrapper .sidebar-nav .metismenu a:hover {
  color: #e9589b;
  background-color: #e9589c1c;
  transition: all 0.5s ease-in-out;
}

/* field size select */
select.form-select.form-control {
  field-sizing: content !important;
  width: auto;
}

/* nav link */
#nav-top a.nav-link.active {
  color: #e9589b;
}

#nav-bottom a.nav-link,
#nav-top a.nav-link {
  transition: color 0.3s ease;
}

#nav-bottom a.nav-link.active {
  background-color: #e9589c31;
  border-radius: 10px;
  color: #e9589b;
  font-weight: 500;
}

#nav-bottom a.nav-link:hover,
#nav-top a.nav-link:hover {
  color: #e9589b;
}

#nav-bottom a.nav-link:hover>svg,
#nav-bottom a.nav-link:focus>svg {
  animation: icon-wiggle 0.4s ease-in-out;
}

@keyframes icon-wiggle {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(15deg);
  }

  40% {
    transform: rotate(-15deg);
  }

  60% {
    transform: rotate(10deg);
  }

  80% {
    transform: rotate(-10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* pagination swiper js */
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #e9589b;
}

/* next & prev button swiper js */
.swiper-button-next .swiper-navigation-icon,
.swiper-button-prev .swiper-navigation-icon {
  display: none;
}

.swiper-button-next {
  right: 5% !important;
}

.swiper-button-prev {
  left: 5% !important;
}

.swiper-button-next,
.swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  background: #ef7db272;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9589b;
}

.swiper-button-next>svg,
.swiper-button-prev>svg {
  font-size: 20px;
}

/* loader */
@keyframes ldio-yzaezf3dcmj {
  0% {
    top: 96px;
    left: 96px;
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    top: 18px;
    left: 18px;
    width: 156px;
    height: 156px;
    opacity: 0;
  }
}

.ldio-yzaezf3dcmj div {
  position: absolute;
  border-width: 4px;
  border-style: solid;
  opacity: 1;
  border-radius: 50%;
  animation: ldio-yzaezf3dcmj 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.ldio-yzaezf3dcmj div:nth-child(1) {
  border-color: #e9589b;
  animation-delay: 0s;
}

.ldio-yzaezf3dcmj div:nth-child(2) {
  border-color: #e90c59;
  animation-delay: -0.5s;
}

.loadingio-spinner-ripple-2by998twmg8 {
  width: 200px;
  height: 200px;
  display: inline-block;
  overflow: hidden;
  background: none;
}

.ldio-yzaezf3dcmj {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0;
  /* see note above */
}

.ldio-yzaezf3dcmj div {
  box-sizing: content-box;
}

/* [ldio] generated by https://loading.io */

/* avatar */
.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e9589c66;
  color: #e90c59;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
}

.notify-title.unread::after {
  content: "";
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: #e9589b;
  position: absolute;
  top: 0;
  right: 0;
}