html,
body {
  font-family: 'Poppins', sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --c-green-100: #a3cb44;
  --c-green-200: #1d652d;
  --c-green-300: #7c847c;
  --c-red: #ff0000;
  --c-red-opacity-50: rgba(255, 0, 0, 0.5);
}

button,
input,
textarea {
  font-family: 'Poppins', sans-serif;
}

.main-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-boundary {
  height: 100%;
  color: #b71c1c;
  background-color: #ffcdd2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.full-width {
  width: 100%;
}

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

.image-layout {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: url('/assets/trashquest_bg.webp') center/cover no-repeat;
}

.top-bar {
  height: 50px;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  justify-content: space-between;
  box-sizing: border-box;
  background-color: rgba(29, 101, 45, 0.1);
}

.top-bar__home {
  display: flex;
  gap: 6px;
  height: 100%;
  align-items: center;
  font-weight: bold;
}

.top-bar a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.top-bar a[aria-current='page'] {
  color: var(--c-green-200);
  text-decoration: underline;
}

.top-bar__right {
  display: flex;
  gap: 12px;
  height: 100%;
  align-items: center;
}

.top-bar__nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-bar__utils {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 100%;
}

.top-bar__floating-menu__trigger {
  border: none;
  background-color: transparent;
  padding: 0;
  display: flex;
}

.top-bar__floating-menu {
  position: absolute;
  right: 5px;
  top: 55px;
  padding: 18px;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 2;
  gap: 18px;
  background: #e8f0ec;
  border-radius: 3px;
}

.logout {
  height: 100%;
  font-weight: bold;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  background-color: var(--c-green-300);
  padding: 6px 12px;
  border-radius: 25px;
  color: white;
}

@media (min-width: 800px) {
  .content {
    overflow-y: hidden;
  }
}

.content {
  flex-grow: 1;
}

.language-switch__container {
  display: flex;
  gap: 10px;
  font-weight: bold;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.autocomplete-item {
  border-bottom: 1px solid;
  margin: 0;
  padding: 10px;
  cursor: pointer;
}

.two-columns-layout--wrapper {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.column-layout__left {
  flex-grow: 1;
  position: relative;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-flow: column;
  max-width: 50%;
  min-width: 50%;
  background-color: var(--color-grey01);
  box-shadow: var(--box-shadow-right);
  overflow-y: auto;
}

.column-layout__right {
  flex-grow: 1;
}

@media (max-width: 800px) {
  .column-layout__right {
    display: none;
  }
}

@media (max-width: 800px) {
  .column-layout__left {
    overflow-x: hidden;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f0f0f0;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 50px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: fit-content;
  height: fit-content;
}

.pill-tag__positive {
  background-color: var(--c-green-200);
  color: white;
}

.pill-tag__negative {
  background-color: var(--c-red);
  color: white;
}

.pill-tag__middle {
  background-color: #ffc107;
  color: black;
}

.pill-tag svg {
  height: 16px;
  width: 16px;
}

.pill-label {
  display: inline-block;
}

.display-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tag-title {
  background-color: var(--c-green-100);
  color: white;
}

.tag-title__best {
  background-color: #0a0d77;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  flex-grow: 1;
  align-self: center;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-img {
  width: 100%;
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  height: 33px;
  width: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
}

.carousel-button.left {
  left: 10px;
}

.carousel-button.right {
  right: 10px;
}

.carousel-item {
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
  border-radius: 8px;
  padding: 43px 73px;
  box-sizing: border-box;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: end;
}
