:root {
  --gold-pathway: #ffc328;
  --BG-grey-pathway: #d9d9d9;
  --text-color-pathway: #454540;
  --logout-pathway-light: #943836;
  --logout-pathway-dark: #54201e;
  --blue-button: #2f65dd;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Inter", sans-serif;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

.sectionBlockLayout {
  display: none !important;
}

.container {
  height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: unset;
}

.logo {
  text-align: center;
  background-color: var(--gold-pathway);
  box-sizing: border-box;
  padding: 20px;
  margin-bottom: 20px;
}

.logo-img {
  width: 150px;
  height: auto;
  padding-top: 15px;
}

.sidebarTitle {
  font-weight: 900;
  font-size: 30px;
  margin-top: 40px;
  color: var(--text-color-pathway);
}

.menu,
.account {
  margin-bottom: 10px;
  border-top: 2px solid var(--gold-pathway);
}

.menu h2,
.account h2 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 400;
  color: var(--text-color-pathway);
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin: 35px 0;
}

/* Sidebar Text */
a {
  text-decoration: none;
  color: var(--text-color-pathway);
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-left: unset;
}

a:hover {
  text-decoration: unset;
  color: var(--text-color-pathway);
}

/* Sidebar Icons */
a i {
  margin-left: 10px;
  margin-right: 10px;
  font-size: 18px;
  width: 22.5px;
  text-align: center;
}

.logout {
  color: var(--logout-pathway-light);
}

.heading {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-color-pathway);
}

/* Content Area Styling */
.content {
  flex: 1;
  background-color: var(--BG-grey-pathway);
  padding: 20px;
  overflow-y: auto;
  gap: 1rem;
}

.space-between {
  justify-content: space-between;
}

.pathway-text {
  color: var(--text-color-pathway);
}

.text-4xl {
  font-size: 36px;
  line-height: 40px;
}

.text-3xl {
  font-size: 30px;
  line-height: 36px;
}

.text-2xl {
  font-size: 24px;
  line-height: 32px;
}

.text-xl {
  font-size: 20px;
  line-height: 28px;
}

.text-lg {
  font-size: 18px;
  line-height: 28px;
}

.text-bold {
  font-weight: 900;
}

.listing-form {
  padding: 0 15px;
}

.mb-1 {
  margin-bottom: 10px;
}

.button-group {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-top: 20px;
  padding: 10px 0;
  border-top: 2px solid #454540;
  border-bottom: 2px solid #454540;
  margin-bottom: 2rem;
  gap: 1rem;
  padding: 15px 0;
}

.button-group div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.button {
  padding: 10px 25px;
  border: none;
  border-radius: 13px;
  cursor: pointer;
  font-weight: bold;
}

.button-blue {
  background-color: var(--blue-button);
  color: white;
}

.button-blue:hover {
  background-color: #0056b3;
  color: white;
}

.button-save {
  background-color: white;
  color: #454540;
  border: 2px solid #454540;
}

.button-save:hover {
  background-color: var(--blue-button);
  color: white;
  border: 2px solid var(--blue-button);
}

.button-delete {
  background-color: white;
  color: var(--logout-pathway-light);
  border: 2px solid var(--logout-pathway-light);
}

.button-delete:hover {
  background-color: var(--logout-pathway-light);
  color: white;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-weight: bold;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.form-select {
  background-color: #fff;
}

.form-textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.form-grid>.form-group {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 10px;
}

.form-group.full-width {
  grid-column: span 4;
}

.listing-form form {
  display: flex;
  flex-direction: column;
}

.links-active {
  background-color: var(--gold-pathway);
  padding: 12px 15px;
  margin: 0 20px 0 0;
  border: 1px solid var(--gold-pathway);
  border-radius: 15px;
  font-weight: bold;
}

.links-with-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 3rem;
}

.flex {
  display: flex;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.items-center {
  align-items: center;
}

.flex-col {
  flex-direction: column;
}

.justify-end {
  justify-content: end;
}

.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.login-welcome h1 {
  margin: 0;
}

.circle {
  width: 120px;
  height: 120px;
  border: 5px solid black;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.text-welcome {
  font-size: 3rem;
  font-weight: bold;
}

.text-portal {
  font-size: 1.5rem;
  font-weight: normal;
}

br {
  margin: 0.5rem 0;
}

.links-container-login-small {
  margin-top: 30px;
}

/* Multi-select classes */
.multi-select {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  position: relative;
  width: 90%;
  margin-bottom: 40px;
  user-select: none;
}

.multi-select .multi-select-header {
  border: 1px solid #dee2e6;
  padding: 7px 30px 7px 12px;
  overflow: hidden;
  gap: 7px;
  min-height: 45px;
}

.multi-select .multi-select-header::after {
  content: "";
  display: block;
  position: absolute;
  top: 75%;
  right: 15px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E");
  height: 12px;
  width: 12px;
}

.multi-select .multi-select-header.multi-select-header-active {
  border-color: #c1c9d0;
}

.multi-select .multi-select-header.multi-select-header-active::after {
  transform: translateY(-50%) rotate(180deg);
}

.multi-select .multi-select-header.multi-select-header-active+.multi-select-options {
  display: flex;
}

.multi-select .multi-select-header .multi-select-header-placeholder {
  color: #65727e;
}

.multi-select .multi-select-header .multi-select-header-option {
  display: inline-flex;
  align-items: center;
  background-color: #f3f4f7;
  font-size: 14px;
  padding: 3px 8px;
  border-radius: 5px;
}

.multi-select .multi-select-header .multi-select-header-max {
  font-size: 14px;
  color: #65727e;
}

.multi-select .multi-select-options {
  display: none;
  box-sizing: border-box;
  flex-flow: wrap;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  margin-top: 5px;
  padding: 5px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}

.multi-select .multi-select-options::-webkit-scrollbar {
  width: 5px;
}

.multi-select .multi-select-options::-webkit-scrollbar-track {
  background: #f0f1f3;
}

.multi-select .multi-select-options::-webkit-scrollbar-thumb {
  background: #cdcfd1;
}

.multi-select .multi-select-options::-webkit-scrollbar-thumb:hover {
  background: #b2b6b9;
}

.multi-select .multi-select-options .multi-select-option,
.multi-select .multi-select-options .multi-select-all {
  padding: 4px 12px;
  height: 42px;
}

.multi-select .multi-select-options .multi-select-option .multi-select-option-radio,
.multi-select .multi-select-options .multi-select-all .multi-select-option-radio {
  margin-right: 14px;
  height: 16px;
  width: 16px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.multi-select .multi-select-options .multi-select-option .multi-select-option-text,
.multi-select .multi-select-options .multi-select-all .multi-select-option-text {
  box-sizing: border-box;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  font-size: 16px;
  line-height: 20px;
}

.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio,
.multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio {
  border-color: #40c979;
  background-color: #40c979;
}

.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio::after,
.multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio::after {
  content: "";
  display: block;
  width: 3px;
  height: 7px;
  margin: 0.12em 0 0 0.27em;
  border: solid #fff;
  border-width: 0 0.15em 0.15em 0;
  transform: rotate(45deg);
}

.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-text,
.multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-text {
  color: #40c979;
}

.multi-select .multi-select-options .multi-select-option:hover,
.multi-select .multi-select-options .multi-select-option:active,
.multi-select .multi-select-options .multi-select-all:hover,
.multi-select .multi-select-options .multi-select-all:active {
  background-color: #f3f4f7;
}

.multi-select .multi-select-options .multi-select-all {
  border-bottom: 1px solid #f1f3f5;
  border-radius: 0;
}

.multi-select .multi-select-options .multi-select-search {
  padding: 7px 10px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  margin: 10px 10px 5px 10px;
  width: 100%;
  outline: none;
  font-size: 16px;
}

.multi-select .multi-select-options .multi-select-search::placeholder {
  color: #b2b5b9;
}

.multi-select .multi-select-header,
.multi-select .multi-select-option,
.multi-select .multi-select-all {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  align-items: center;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 16px;
  color: #212529;
}

@media (max-width: 768px) {

  /* Hide all elements inside the sidebar-login except the logo */
  .sidebar-login>*:not(.logo) {
    display: none;
  }
}

@media (min-width: 769px) {
  .container {
    display: flex;
  }

  .logo {
    text-align: center;
    background-color: var(--gold-pathway);
    box-sizing: border-box;
    margin: -20px -20px 0 -20px;
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr 0.5fr 0.5fr;
    gap: 20px;
  }

  .button-group {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .listing-form form {
    flex-direction: column-reverse;
  }

  .button-group div {
    flex-direction: row;
    gap: 1rem;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .sidebar {
    width: 200px;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    z-index: 99;
    margin-bottom: unset;
  }

  .navigation {
    overflow-y: auto;
    width: calc(100% + 20px);
  }

  .sidebar-login {
    /* Make sure the sidebar on large screens has the flex-direction column */
    display: flex;
    flex-direction: column;
  }

  .sidebar-login>* {
    /* Reset a block for elements that should be blocky (like logo and links) */
    display: block;
  }

  .links-container-login-small {
    display: none;
  }

  .links-active {
    padding: 12px 5px;
  }
}

.button-provider {
  background-color: var(--gold-pathway);
  color: var(--text-color-pathway);
  font-size: 20px;
  font-weight: bold;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 12px 10px;
  max-width: 182px;
}

.button-provider:hover {
  cursor: pointer;
}

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 10px;
}

.popup__content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 350px;
}

.popup__message {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  margin-left: 20px
}

.popup__submessage {
  color: #666;
  margin-left: 10px
}

.small__popup {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 350px;
}

.loading-animation {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  color: transparent;
  animation: colorChange 2s forwards;
  margin: 0 auto 15px;
}

.loading-animation__circle {
  position: absolute;
  border: 4px solid currentColor;
  opacity: 1;
  border-radius: 50%;
  animation: loadingAnimation 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loading-animation__circle:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes loadingAnimation {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }

  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }

  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }

  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

@keyframes colorChange {
  0% {
    color: transparent;
  }

  100% {
    color: #ffc328;
  }
}

/* Home */
.home {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard h2 {
  border-bottom: 2px solid #454540;
  padding-bottom: 20px;
  grid-column: 1 / -1;
  margin: 0;
  max-width: 65%;
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding: 20px;
  max-width: 900px;
  color: var(--text-color-pathway);
}

.dashboard-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-card-first-row {
  min-height: clamp(260px, 35vh, 400px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  padding-bottom: 25px;
  transition: min-height 0.3s ease;
}

.dashboard-card-first-row>div {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 20px;
}

.dashboard-second-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dashboard-second-row>div {
  padding: clamp(25px, 3vh, 35px) 20px;
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.5vh, 1.5rem);
  justify-content: start;
  min-height: clamp(130px, 15vh, 200px);
  transition: all 0.3s ease;
}

.dashboard-icon {
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.dashboard-title {
  color: #333;
  margin: 0 0 8px 0;
  font-weight: 400;
}

.dashboard-action {
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
  margin-top: auto;
}

.dashboard-action:hover {
  text-decoration: underline;
}

.dashboard-description {
  color: #555;
  margin: 0;
}

.user__plus {
  padding-left: 20px;
}

.jobLanguages {
  background-color: white;
  width: 100%;
}

/* Popup Feedback */
.feedback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.feedback-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feedback-title-text {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-color-pathway)
}

.feedback-title-input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  color: var(--text-color-pathway)
}

.feedback-description-input {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  min-height: 100px;
  resize: vertical;
  box-sizing: border-box;
  color: var(--text-color-pathway)
}

.feedback-submit {
  width: 100%;
  padding: 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  box-sizing: border-box;
}

.cursor-pointer {
  cursor: pointer;
}

.hide {
  display: none;
}

#filterButton, #resetFilters {
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 15px;
  line-height: 1.42857;
  border-radius: 0;
  user-select: none;
  color: white;
  background-color: #31708f;
  border-color: #31708f;
  margin-bottom: 10px;
  margin-right: 10px;
}

.entitylist-filter {
  max-width: fit-content;
}