.color-danger {
  color: #ed5050;
}

.color-primary {
  color: var(--theme-deafult);
}

.color-grey {
  color: rgba(82, 82, 108, 0.8);
}

.paginator-active .page-link {
  z-index: 3;
  color: #fff;
  border-color: var(--theme-deafult);
  background-color: var(--theme-deafult);
}

.page-link {
  color: var(--theme-deafult);
}

.page-link:hover {
  z-index: 2;
  color: var(--theme-deafult);
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.page-link:focus {
  z-index: 3;
  color: var(--theme-deafult);
  background-color: #e9ecef;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(from var(--theme-deafult) r g b / 20%);
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: rgb(from var(--theme-deafult) r g b / 40%);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(from var(--theme-deafult) r g b / 20%);
}

.form-control-invalid {
  border-color: #fc4438 !important;
}

.form-control-invalid ~ .qa-snow {
  border-color: #fc4438 !important;
}

.btn {
  padding: 7px 16px;
  text-transform: uppercase;
}

.border-round {
  border-radius: 24px;
  border: 1px solid var(--Border, #ececec);
  background: var(--White, #fff);
}

.p-32 {
  padding: 32px;
}

.p-16 {
  padding: 16px;
}

.pill {
  padding: 4px 8px;
  border-radius: 100px;
  text-align: center;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  flex: 0 0 auto;
  height: 22px;
}

.adm-h3 {
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 21px;
  text-transform: capitalize;
}

.adm-h2 {
  font-family: Rubik;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0.5px;
}

.adm-process-button {
  width: 161px;
}

.adm-h2-table {
  font-family: Rubik;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 0.5px;
}

.bg-table-header {
  background-color: #f5f6f9;
}

.col-table-header {
  color: rgba(82, 82, 108, 0.8);
  font-family: Rubik;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0.5px;
}

.shrink {
  width: auto;
  display: inline-block;
}

.adm-column-short {
  width: 160px;
}

.hover-cursor:hover {
  cursor: pointer;
}

.cursor-auto {
  cursor: auto;
}

.hover-menu-item:hover {
  color: var(--theme-deafult);
}

.mr-2 {
  margin-right: 8px;
}

.ml-2 {
  margin-left: 8px;
}

.mr-3 {
  margin-right: 12px;
}

.ml-3 {
  margin-left: 12px;
}

.page-wrapper.compact-wrapper
  .page-body-wrapper
  div.sidebar-wrapper
  .sidebar-main
  .sidebar-links
  .simplebar-wrapper
  .simplebar-mask
  .simplebar-content-wrapper
  .simplebar-content
  > li
  .sidebar-link::after {
  background-color: var(--theme-deafult);
}

.page-wrapper.compact-wrapper
  .page-body-wrapper
  div.sidebar-wrapper
  .sidebar-main
  .sidebar-links
  .simplebar-wrapper
  .simplebar-mask
  .simplebar-content-wrapper
  .simplebar-content
  > li
  .sidebar-link.active {
  background-color: rgb(from var(--theme-deafult) r g b / 10%);
}

.page-wrapper.compact-wrapper
  .page-body-wrapper
  div.sidebar-wrapper
  .sidebar-main
  .sidebar-links
  .simplebar-wrapper
  .simplebar-mask
  .simplebar-content-wrapper
  .simplebar-content
  > li.sidebar-list:hover
  > a:hover {
  background-color: rgb(from var(--theme-deafult) r g b / 3%);
}

.page-wrapper.compact-wrapper
  .page-body-wrapper
  div.sidebar-wrapper
  .sidebar-main
  .sidebar-links
  .simplebar-wrapper
  .simplebar-mask
  .simplebar-content-wrapper
  .simplebar-content
  > li
  .sidebar-link.active
  i {
  color: var(--theme-deafult);
}

.page-wrapper.compact-wrapper
  .page-body-wrapper
  div.sidebar-wrapper
  .sidebar-main
  .sidebar-links
  .simplebar-wrapper
  .simplebar-mask
  .simplebar-content-wrapper
  .simplebar-content
  > li:hover
  .sidebar-link:not(.active):hover
  i {
  color: var(--theme-deafult);
  transition: all 0.3s ease;
}

.toggle-sidebar:before {
  background-color: rgb(from var(--theme-deafult) r g b / 10%);
}

.black {
  color: #000;
}

.text-w100 {
  font-weight: 100;
}
.text-w200 {
  font-weight: 200;
}
.text-w300 {
  font-weight: 300;
}
.text-w400 {
  font-weight: 400;
}

.text-w500 {
  font-weight: 500;
}

.text-w600 {
  font-weight: 600;
}

.text-w700 {
  font-weight: 700;
}

.spinner-border-thin {
  border-width: 2px;
}

.loader-border {
  border: 3px solid rgb(from var(--theme-deafult) r g b / 70%);
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  border-top: 3px solid rgb(from var(--theme-deafult) r g b / 20%);
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

.loader {
  border: 3px solid rgb(from var(--theme-deafult) r g b / 70%);
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  border-top: 3px solid rgb(from var(--theme-deafult) r g b / 20%);
  border-radius: 50%;
  width: 50px;
  height: 50px;

  position: fixed;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.staging-loader {
  background-color: #ffffff !important;
  position: fixed;
  height: 100vh;
  width: 100vw;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.border-ahs {
  border-color: rgb(from var(--theme-deafult) r g b / 30%);
}

.text-primary {
  color: var(--theme-deafult) !important;
}

.ql-toolbar.ql-snow {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border: 1px solid #ced4da;
}

.ql-container.ql-snow {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border: 1px solid #ced4da;
  border-top: none !important;
}

.ql-snow-border-white {
  border-color: #ced4da;
}

.page-wrapper .page-body-wrapper .page-title {
  margin-bottom: 0px;
  padding-top: 25px;
}

.not-found-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background-image: url(../images/bg_ahs.png);
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1e2b3c;
  padding: 30px 12px;

  &.light {
    background-image: url(../images/akademeia_bee.svg);
    background-color: #fff;
  }

  .content {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-top: 24px;
    margin-bottom: 24px;

    &.light {
      color: #1e2b3c;
    }
  }

  .title {
    color: #fff;
    font-size: 120px;
    font-weight: 600;

    &.light {
      color: #1e2b3c;
    }
  }

  .button {
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 8px;
  }
}

.center-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dataTables_filter {
  margin-bottom: 12px !important;
}

.dataTables_length {
  margin-bottom: 12px !important;
}

.dataTables_wrapper .dataTables_length select {
  border-radius: 8px !important;
  border: 1px solid #dadee2 !important;
  background: #fff !important;
}

.has-search .form-control {
  padding-left: 2.375rem;
}

.has-search .form-control-feedback {
  position: absolute;
  z-index: 2;
  display: block;
  width: 2.375rem;
  height: 2.375rem;
  padding-left: 1rem;
  line-height: 2.25rem;
  text-align: center;
  pointer-events: none;
  color: var(--theme-deafult);
}

.dataTables_wrapper .dataTables_filter input[type='search'] {
  padding-left: 2rem !important;
}

.dataTables_wrapper .dataTables_filter input[type='search'] {
  border-radius: 8px;
  border: none;
  background: rgb(from var(--theme-deafult) r g b / 15%);
}

.dataTables_wrapper .dataTables_filter input {
  color: var(--theme-deafult) !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.dataTables_wrapper .dataTables_filter input::placeholder {
  color: var(--theme-deafult) !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.page-link {
  border-radius: 8px;
  border: none;
}

.pagination {
  border: 1px solid #dadee2;
  border-radius: 8px;
  overflow: hidden;
}

.dataTables_info {
  display: none;
}

.dataTables_paginate {
  display: none;
}

.dataTables_filter input[type='search']::-ms-clear,
.dataTables_filter input[type='search']::-ms-reveal {
  display: none;
}

.dataTables_filter input[type='search']::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.dataTables_wrapper table.dataTable {
  border: none;
}

.form-check-input:checked {
  background-color: var(--theme-deafult);
  border-color: var(--theme-deafult);
}

.form-check-input:focus {
  border-color: rgb(from var(--theme-deafult) r g b / 15%);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(from var(--theme-deafult) r g b / 25%);
}

.table-hover tbody tr:hover {
  background-color: rgb(from var(--theme-deafult) r g b / 10%);
}

.table-divider > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: 1px;
}

input:-internal-autofill-selected {
  background-color: rgb(from var(--theme-deafult) r g b / 40%) !important;
}

table.dataTable.no-footer {
  border-bottom: none !important;
}

.min-h-quill {
  min-height: 140px;
}

.dataTables_wrapper table.dataTable thead th,
.dataTables_wrapper table.dataTable thead td {
  border-width: 0px;
}

.table thead th {
  border-width: 0px;
}

.page-link:hover {
  cursor: pointer;
}

.adm-avatar {
  align-content: center;
  align-items: center;
  background-color: var(--theme-deafult);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
  color: #fff;
  display: inline-flex;
  font-family: 'Noe Display';
  font-size: 16px;
  font-weight: 600;
  height: 2.5rem;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 2.5rem;
  cursor: pointer;
}

.adm-avatar.adm-avatar-circle {
  padding-top: 0px;
  padding-left: 1px;
  letter-spacing: 1px;
  border-radius: 50%;
}

.page-wrapper .page-header .header-wrapper .nav-right .profile-dropdown {
  left: unset !important;
}

.page-wrapper .page-header .header-wrapper .nav-right .onhover-show-div li a {
  text-transform: capitalize !important;
}

.disabled-background {
  background-color: #e9ecef;
}

.form-control:disabled {
  background-color: #e9ecef !important;
  opacity: 1;
}

.rect-button:hover {
  background-color: rgba(30, 45, 60, 0.07);
  border-color: #adadad;
  box-shadow: none;
  color: rgba(0, 0, 0, 0.87);
}

.rect-button {
  font-size: 13px !important;
  box-shadow: none !important;
  padding: 6px 12px !important;
  color: #1e2d3c;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  background-color: transparent;
  font-weight: 400;
}

.icon-sm {
  font-size: 12px;
}

.page-body {
  background-image: url(../images/akademeia_bee.svg) !important;
  background-repeat: no-repeat;
  background-position: calc(100vw - 560px) 30px;
  background-size: 300px;
  padding-top: 0px;
}

.flatpickr-day.selected {
  background: var(--theme-deafult) !important;
  border-color: var(--theme-deafult) !important;
}

a {
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--theme-deafult);
  transition: 0.5s all;
  cursor: pointer;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: var(--theme-deafult);
  text-decoration: none;
}

.ignore-padding-x {
  padding-right: 0px !important;
  padding-left: 0px !important;
}

.ignore-margin-x {
  margin-right: 0px !important;
  margin-left: 0px !important;
}

.border-top-col:not(:first-child) {
  border-top: 1px solid #dee2e6 !important;
}

.page-wrapper.compact-wrapper
  .page-body-wrapper
  div.sidebar-wrapper.close_icon
  .sidebar-main
  .sidebar-links
  .simplebar-wrapper
  .simplebar-mask
  .simplebar-content-wrapper
  .simplebar-content
  > li {
  max-width: 92px;
}

.wizard-menu-icon {
  width: 35px !important;
  height: 35px !important;
  border-radius: 0 !important;
  background-color: #fff !important;
  color: var(--theme-deafult) !important;
  border: 1px solid var(--theme-deafult);

  &.current {
    background-color: var(--theme-deafult) !important;
    color: #fff !important;
    border: none;
  }

  &.done {
    background-color: #e1dbd0 !important;
    color: var(--theme-deafult) !important;
    border: none;
  }
}

.input-group {
  position: relative;
}

.icon-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 13px;
  z-index: 9999;
}

.icon-container-right-far {
  right: 34px;
}

.input-group:not(.has-validation)
  > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n + 3) {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.dropdown-menu {
  max-height: 280px;
  overflow-y: auto;
}

.dropdown-menu::-webkit-scrollbar {
  width: 0px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.dropdown-menu .dropdown-item {
  color: black;
  opacity: 0.8;
}

.color-dropdown {
  color: #343a40;
}

.flatpickr-monthSelect-month.selected,
.flatpickr-monthSelect-month.startRange,
.flatpickr-monthSelect-month.endRange {
  background-color: var(--theme-deafult) !important;
  box-shadow: none;
  color: #fff;
  border-color: var(--theme-deafult) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--theme-deafult) !important;
}

.fa-caret-down {
  /* Dodajemy transition bezpośrednio do ikony, aby animacja była płynna w obie strony */
  transition: transform 0.3s ease-in-out;
}

.rotate {
  /* Klasy `rotate` potrzeba tylko transformacji, transition jest już na ikonie */
  transform: rotate(180deg);
}

.filters-form .input-group {
  border-bottom: 1px solid #dee2e6;
  background-color: transparent;
}

.filters-form .form-control {
  border: none;
  background-color: transparent;
  box-shadow: none;
  padding: 0;
}

.filters-form .form-control::placeholder {
  color: #AAA;
}

.filters-form .input-group-text {
  background: transparent;
  border: none;
}

.filters-form .datepicker-icon .fa-calendar {
  color: #212529;
}

.document_section:hover {
  background-color: #dee2e6;  
}