:root {
  --max-mobile: 767px;
  --tablet: 768px;
  --desktop: 1440px;
  --border-radius: 0.5rem;
  --padding: 40px;
  --red: #EE1C26;
  --gray-1: #D1D5DB;
  --gray-2: #6B7280;
  --gray-3: #E5E7EB;
}

@font-face {
  font-family: "Inter";
  src: url(/fonts/Inter.ttf?86c330c66f7333ff6202209becd04687);
}
@font-face {
  font-family: "Inter-Medium";
  src: url(/fonts/Inter-Medium.ttf?c51b145d8cf66a74cc74bd053b9504a5);
}
@font-face {
  font-family: "Inter-Bold";
  src: url(/fonts/Inter-Bold.ttf?934ca051dc94cbb687794d463871639f);
}
*,
main,
#root {
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  word-break: break-word;
  line-height: 24px;
  box-sizing: border-box;
}

main, #root {
  background: #F9FAFB;
}

p {
  color: #000;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  word-break: break-word;
  line-height: 24px;
}

.cms strong {
  font-family: "Inter-Bold";
}
.cms em {
  font-style: italic;
}
.cms ul, .cms ol {
  padding-left: 2rem;
}
.cms ul {
  list-style-type: disc;
}
.cms ol {
  list-style-type: decimal;
}

/***** SCROLLBAR *****/
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  border-radius: 8px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  opacity: 0.5px;
  background-color: rgba(107, 108, 123, 0.5019607843);
}

/***** PRELOADER *****/
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: #F9FAFB;
}
.loading .preloader {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius);
}
.loading .preloader div {
  width: 8%;
  height: 24%;
  background: rgb(128, 128, 128);
  position: absolute;
  left: 50%;
  top: 30%;
  opacity: 0;
  border-radius: 50px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  animation: fade458 1s linear infinite;
}

@keyframes fade458 {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.25;
  }
}
.loading .preloader .bar1 {
  transform: rotate(0deg) translate(0, -130%);
  animation-delay: 0s;
}
.loading .preloader .bar2 {
  transform: rotate(30deg) translate(0, -130%);
  animation-delay: -1.1s;
}
.loading .preloader .bar3 {
  transform: rotate(60deg) translate(0, -130%);
  animation-delay: -1s;
}
.loading .preloader .bar4 {
  transform: rotate(90deg) translate(0, -130%);
  animation-delay: -0.9s;
}
.loading .preloader .bar5 {
  transform: rotate(120deg) translate(0, -130%);
  animation-delay: -0.8s;
}
.loading .preloader .bar6 {
  transform: rotate(150deg) translate(0, -130%);
  animation-delay: -0.7s;
}
.loading .preloader .bar7 {
  transform: rotate(180deg) translate(0, -130%);
  animation-delay: -0.6s;
}
.loading .preloader .bar8 {
  transform: rotate(210deg) translate(0, -130%);
  animation-delay: -0.5s;
}
.loading .preloader .bar9 {
  transform: rotate(240deg) translate(0, -130%);
  animation-delay: -0.4s;
}
.loading .preloader .bar10 {
  transform: rotate(270deg) translate(0, -130%);
  animation-delay: -0.3s;
}
.loading .preloader .bar11 {
  transform: rotate(300deg) translate(0, -130%);
  animation-delay: -0.2s;
}
.loading .preloader .bar12 {
  transform: rotate(330deg) translate(0, -130%);
  animation-delay: -0.1s;
}

img {
  display: block;
}

.account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
}
.account-avatar img {
  width: 100%;
}

/***** BREADCRUMBS *****/
.breadcrumbs ul li a, .breadcrumbs ul li p {
  color: #374151;
  font-size: 14px;
  font-weight: 500;
}
.breadcrumbs ul li:not(:last-child)::after {
  content: "\e90d";
  font-family: "icomoon";
  margin-left: 1rem;
}

/***** FORM *****/
form .form-link {
  display: block;
  color: var(--red);
  font-family: "Inter-Medium", sans-serif;
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 1rem;
  text-decoration: underline;
}

label {
  display: block;
  color: #0E1928;
  font-family: "Inter-Medium", sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 21px;
  margin-bottom: 0.25rem;
}

input,
textarea {
  background: #F9FAFB;
  border: 1px solid #CBD5DB;
  border-radius: var(--border-radius);
  font-size: 14px;
  width: 100%;
  padding: 8px 16px;
  outline: 0;
}

input[type=radio] {
  width: 1rem;
  height: 1rem;
  border: 3.5px solid var(--gray-1);
  background: #FFF;
  border-radius: 50%;
  padding: 0;
}

input[type=radio]:checked {
  /* hiding browser el */
  -moz-appearance: none;
       appearance: none;
  /* Safari support */
  -webkit-appearance: none;
  border-color: var(--red);
}

.input-wrapper {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.input--password > input {
  padding-right: 48px;
}
.input--password > span {
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.input--date input {
  color: var(--gray-2);
  padding-left: 48px;
  position: relative;
}
.input--date > input::-webkit-calendar-picker-indicator {
  opacity: 0;
  background: gray;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.input--date::before {
  content: "\e90b";
  font-family: "icomoon";
  font-size: 18px;
  color: var(--gray-2);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.input--file input {
  padding: 0;
}
.input--file input::file-selector-button {
  background: #1F2A37;
  color: #FFF;
  border: 0;
  padding: 0.5rem 1rem;
  height: 50px;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  margin-right: 1rem;
}

.input--phone input {
  padding-left: 74px;
}
.input--phone span {
  display: block;
  background: #F3F4F6;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid #CBD5DB;
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
  position: absolute;
  top: 0;
  left: 0;
}

select {
  color: var(--gray-2);
  background: #F9FAFB;
  border: 1px solid #CBD5DB;
  border-radius: var(--border-radius);
  font-size: 14px;
  width: 100%;
  outline: 0;
  padding: 8px 48px 8px 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select > * {
  color: var(--gray-2);
}

select::-ms-expand {
  display: none;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "\e904";
  font-family: "icomoon";
  color: var(--gray-2);
  width: 3rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.search-wrapper {
  position: relative;
  width: 265px;
}
.search-wrapper input {
  padding-left: 2.5rem;
  padding-right: 5rem;
}
.search-wrapper .btn {
  position: absolute;
  top: 50%;
  right: 3px;
  padding: 6px 12px;
  transform: translateY(-50%);
}

.search-wrapper::before {
  content: "\e918";
  font-family: "icomoon";
  color: var(--gray-2);
  width: 3rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.multi-select-wrapper [class$=indicatorContainer] {
  padding-top: 0;
  padding-bottom: 0;
}

.text-editor-wrapper > .tox-tinymce {
  border-radius: var(--border-radius);
  overflow: hidden;
}

/***** TOGGLE SWITCH *****/
.form-check-input {
  width: 40px;
  height: 20px;
  vertical-align: top;
  background-color: var(--gray-3);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid var(--gray-3);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.form-check-input:active {
  filter: brightness(90%);
}

.form-check-input.checked,
.form-check-input:checked {
  background-color: #1A56DB;
  border-color: #1A56DB;
}

.form-check-input[type=checkbox]:indeterminate {
  background-color: #1A56DB;
  border-color: #1A56DB;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

.form-check-input.disabled,
.form-check-input:disabled {
  pointer-events: none;
  filter: none;
  opacity: 0.5;
}

.form-switch .form-check-input {
  width: 40px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='%23FFF'/></svg>");
  background-position: left center;
  border-radius: 40px;
  transition: background-position 0.15s ease-in-out;
}

.form-switch .form-check-input.checked,
.form-switch .form-check-input:checked {
  background-position: right center;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

/***** VALILDATION *****/
.validation {
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-top: 0.25rem;
}
.validation .title {
  font-weight: 600;
  margin-bottom: 0.875rem;
}

.validation--success {
  background: #DEF7EC;
}
.validation--success p {
  color: #046C4E;
}
.validation--success p:not(.title) {
  font-size: 14px;
}

.validation--error {
  background: #FFD5D5;
}
.validation--error p {
  color: var(--red);
}
.validation--error p:not(.title) {
  font-size: 14px;
}

/***** BUTTONS *****/
.btn {
  display: block;
  position: relative;
  color: #FFF;
  cursor: pointer;
  background: var(--red);
  border: 0;
  border-radius: var(--border-radius);
  padding: 10px 20px;
  text-align: center;
  font-family: "Inter-Medium", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  width: -moz-max-content;
  width: max-content;
  margin-inline: auto;
}

.btn--outline {
  color: var(--red);
  background: #FFF;
  border: 1px solid var(--red);
  margin-inline: 0;
}

.btn--outline-gray {
  color: #1F2A37;
  background: #FFF;
  border: 1px solid var(--gray-1);
  margin-inline: 0;
}

.btn--w-100 {
  width: 100%;
}

.btn--arrow::after {
  content: "\e901";
  font-family: "icomoon";
  margin-left: 0.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.btn--log-out::before {
  content: "\e90f";
  font-family: "icomoon";
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
}

.btn--add {
  margin: 0;
  padding-left: 2.5rem;
}

.btn--add::before {
  content: "\e917";
  font-family: "icomoon";
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
}

.btn--approve {
  color: #FFF;
  background: #046C4E;
  border: 1px solid #046C4E;
  margin-inline: 0;
}

.btn--approve::before {
  content: "\e919";
  font-family: "icomoon";
  font-size: 1.25rem;
}

.btn--reject::before {
  content: "\e911";
  font-family: "icomoon";
  font-size: 1.25rem;
}

.btn--gear::before {
  content: "\e903";
  font-family: "icomoon";
  font-size: 1.25rem;
}

.btn--arrow-2::after {
  content: "\e923";
  font-family: "icomoon";
  font-size: 1.25rem;
  margin-left: 0.5rem;
}

.cta-link {
  color: var(--red);
  font-family: "Inter-Medium", sans-serif;
  text-decoration: underline;
}

.cta-edit {
  cursor: pointer;
  width: 32px;
  height: 32px;
}

/***** PAGINATION *****/
.pagination {
  justify-content: flex-end;
  margin-top: 2rem;
}
.pagination .pagination-container {
  border-radius: 4px;
  overflow: hidden;
}
.pagination .pagination-container > li button {
  cursor: pointer;
  background: #FFF;
  border: 1px solid var(--gray-1);
  padding: 6px 12px;
}
.pagination .pagination-container > li button.selected {
  background: var(--gray-1);
}
.pagination .pagination-container > li button:disabled {
  cursor: not-allowed;
}
.pagination .pagination-container > li:first-child button {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination .pagination-container > li:last-child button {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

/***** CATEGORY STATUS *****/
.category-status ul {
  gap: 24px;
  height: 35px;
}
.category-status ul li {
  cursor: pointer;
  color: var(--gray-2);
  padding: 0 8px;
}
.category-status ul li.active {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}

/***** STAR *****/
.icon-star {
  color: var(--gray-1);
}

.icon-star.active {
  color: #FACA15;
}
