@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Open+Sans:wght@400;500;600;700;800&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --brand-lime: #BBCB44;
  --brand-lime-hover: #A3B339;
  --brand-ink: #0E1110;
  --neutral-25: #FAFAF8;
  --neutral-50: #F4F4F1;
  --neutral-100: #ECECE7;
  --neutral-200: #DDDDD6;
  --neutral-500: #74746A;
  --neutral-700: #36362F;
  --neutral-900: #131310;
  --success: #2F8F4F;
  --warning: #C2841A;
  --danger: #C8362D;
  --info: #2C6DB5;
  --shadow-xs: 0 1px 1px rgba(14, 17, 16, 0.04);
  --shadow-sm: 0 8px 24px rgba(14, 17, 16, 0.07);
  --focus-ring: 0 0 0 3px rgba(187, 203, 68, 0.35);
}

html,
body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--neutral-25);
  color: var(--brand-ink);
}

.font-mono,
.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.lucide {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.imoney-shell {
  min-height: 100vh;
  background: var(--neutral-25);
}

@media (min-width: 1024px) {
  .imoney-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

.imoney-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #fff;
  border-right: 1px solid var(--neutral-100);
  padding: 20px 14px;
}

.imoney-sidebar nav,
.imoney-main-nav {
  flex: 1;
  min-height: 0;
}

.imoney-main-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}

.imoney-nav-scroll {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.imoney-nav-scroll::-webkit-scrollbar {
  width: 6px;
}

.imoney-nav-scroll::-webkit-scrollbar-thumb {
  background: var(--neutral-200);
  border-radius: 999px;
}

.imoney-nav-bottom {
  position: relative;
  z-index: 60;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  overflow: visible;
}

.imoney-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid var(--neutral-100);
  padding: 0 28px;
}

.imoney-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 48px;
}

.page-kicker {
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-title {
  color: var(--neutral-900);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}

.imoney-page > .flex.items-center.justify-between:first-child,
.imoney-page > .title:first-child,
.imoney-page > .page-title:first-child {
  margin-bottom: 20px;
}

.imoney-page > div.bg-white.rounded-xl:has(table.table) {
  padding: 0;
  overflow: hidden;
  max-width: 100%;
  border: 1px solid var(--neutral-100);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.imoney-page > div.bg-white.rounded-xl:has(table.table) > .mb-4.flex.justify-end,
.imoney-page > div.bg-white.rounded-xl:has(table.table) > .flex.justify-between {
  justify-content: flex-end;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--neutral-100);
}

.imoney-page > div.bg-white.rounded-xl:has(table.table) > [id] {
  overflow-x: auto;
}

.imoney-page > div.bg-white.rounded-xl:has(table.table) > [id] > table.table {
  min-width: 100%;
}

.imoney-page > div.bg-white.rounded-xl:has(table.table) > [id] + nav,
.imoney-page > div.bg-white.rounded-xl:has(table.table) > [id] + .pagination {
  margin: 0;
}

.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)) {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--neutral-100);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)) > .title,
.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)) h1.title {
  margin-bottom: 20px;
}

.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)) > form:has(input[type="submit"], button[type="submit"]) {
  display: contents;
}

.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)) > form:has(input[type="submit"], button[type="submit"]) > .field,
.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)) > form:has(input[type="submit"], button[type="submit"]) > .my-4.field,
.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)) > form:has(input[type="submit"], button[type="submit"]) > .mb-4.field,
.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)) > form:has(input[type="submit"], button[type="submit"]) > div:not(:has(input[type="submit"], button[type="submit"])) {
  margin-top: 0;
  margin-bottom: 14px;
}

.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)) > form:has(input[type="submit"], button[type="submit"]) > div:has(input[type="submit"], button[type="submit"]):not(.form-actions) {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  grid-row: 99;
  grid-column: 3;
  margin: 8px 0 0;
}

.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)) > div:has(> a.btn-danger):last-child {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  grid-row: 99;
  grid-column: 2;
  margin: 8px 0 0;
}

.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)):has(> div:last-child > a.btn-danger) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0 10px;
}

.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)):has(> div:last-child > a.btn-danger) > :not(form, div:last-child),
.imoney-page > div.bg-white.rounded-xl:has(form):not(:has(table.table)):has(> div:last-child > a.btn-danger) > form > :not(div:has(input[type="submit"], button[type="submit"])) {
  grid-column: 1 / -1;
}

.card-surf {
  background: #fff;
  border: 1px solid var(--neutral-100);
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
}

.stat-card {
  min-height: 136px;
  padding: 18px;
}

.stat-label {
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-value {
  color: var(--neutral-900);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat-note {
  color: var(--neutral-500);
  font-size: 12.5px;
}

.summary-stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.summary-stat-card {
  min-height: 86px;
  padding: 14px 16px;
}

.summary-stat-card .summary-label {
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-stat-card .summary-value {
  color: var(--brand-ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}

.tooltip {
  position: relative;
}

.tooltip .tooltiptext {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease 0.3s, visibility 0.3s ease 0.3s;
  background-color: rgb(145, 145, 145);
  color: #1e1d1d;
  text-align: center;
  border-radius: 6px;
  padding: 5px 10px;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  transition-delay: .2s; /* remove delay on hover-in to begin animation immediately */
}

.pagy {
  display: flex;
  font-family: sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: rgb(107, 114, 128);
}

.pagy > *:not([hidden]) ~ *:not([hidden]) {
  --space-reverse: 0;
  margin-right: calc(0.25rem * var(--space-reverse));
  margin-left: calc(0.25rem * (1 - var(--space-reverse)));
}

.pagy a:not(.gap) {
  display: block;
  text-decoration: none;
  border-radius: 0.5rem;
  background-color: rgb(229, 231, 235);
  padding: 0.25rem 0.75rem;
  color: inherit;
}

.pagy a:not(.gap):hover {
  background-color: rgb(209, 213, 219);
}

.pagy a:not(.gap):not([href]) {
  cursor: default;
  background-color: rgb(243, 244, 246);
  color: rgb(209, 213, 219);
}

.pagy a:not(.gap).current {
  background-color: rgb(156, 163, 175);
  color: rgb(255, 255, 255);
}

.pagy label {
  white-space: nowrap;
  display: inline-block;
  border-radius: 0.5rem;
  background-color: rgb(229, 231, 235);
  padding: 0.125rem 0.75rem;
}

.pagy label input {
  line-height: 1.5rem;
  border-radius: 0.375rem;
  border-style: none;
  background-color: rgb(243, 244, 246);
}


.auth-title {
  @apply mt-1 mb-10 text-3xl font-bold text-color-primary;
}

.loading{
  @apply hidden;
}

.sending .loading{
  @apply inline-block;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  width: 100%;
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--neutral-500);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.menu-link:hover,
.menu-link:focus {
  background: var(--neutral-50);
  color: var(--brand-ink);
  outline: none;
}

.menu-link.active,
.menu-link.bg-gray-200,
.menu-link.text-gray-800 {
  background: rgba(187, 203, 68, 0.16);
  color: var(--brand-ink);
  font-weight: 700;
}

.menu-link .lucide {
  color: currentColor;
}

.nav-group {
  border-top: 1px solid var(--neutral-100);
  padding-top: 7px;
}

.nav-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.nav-group-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 25px;
  cursor: pointer;
  list-style: none;
  padding: 0 6px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-group-summary::-webkit-details-marker {
  display: none;
}

.nav-group-summary:hover,
.nav-group-summary:focus {
  color: var(--brand-ink);
  outline: none;
}

.nav-group-chevron {
  width: 13px;
  height: 13px;
  transition: transform 120ms ease;
}

.nav-group[open] .nav-group-chevron {
  transform: rotate(90deg);
}

.profile-menu-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--neutral-100);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 120ms ease, border-color 120ms ease;
}

.profile-menu-button:hover,
.profile-menu-button:focus {
  border-color: var(--neutral-200);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.external-page {
  max-width: 760px;
  margin: 32px auto 48px;
  padding: 0 20px;
  overflow: visible;
}

.auth-card {
  width: 100%;
  border: 1px solid var(--neutral-100);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  padding: 24px;
}

.auth-card .auth-title,
.auth-card .page-title {
  margin: 0 0 22px;
}

.auth-card .field {
  margin: 0 0 14px;
}

.auth-card .input {
  width: 100%;
}

.auth-help {
  color: var(--neutral-500);
  font-size: 12.5px;
  line-height: 1.5;
}

.auth-actions,
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  width: 100%;
}
@layer components {
  .title{
    @apply mb-4 font-bold;
    color: var(--neutral-900);
    font-size: 26px;
    line-height: 1.15;
  }

  .btn-primary {
    @apply inline-flex items-center justify-center gap-2 rounded-[10px] transition-all duration-150 ease-linear outline-none cursor-pointer;
    min-height: 35px;
    padding: 9px 14px;
    border: 1px solid var(--brand-lime-hover);
    background: var(--brand-lime);
    color: var(--brand-ink);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
  }

  .btn-secondary {
    @apply inline-flex items-center justify-center gap-2 rounded-[10px] transition-all duration-150 ease-linear outline-none cursor-pointer;
    min-height: 35px;
    padding: 9px 14px;
    border: 1px solid var(--neutral-200);
    background: #fff;
    color: var(--brand-ink);
    box-shadow: var(--shadow-xs);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
  }

  .btn-danger {
    @apply inline-flex items-center justify-center gap-2 rounded-[10px] transition-all duration-150 ease-linear outline-none cursor-pointer;
    min-height: 35px;
    padding: 9px 14px;
    border: 1px solid var(--danger);
    background: var(--danger);
    color: #fff;
    box-shadow: var(--shadow-xs);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
  }

  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
  }

  .btn-primary:active,
  .btn-secondary:active,
  .btn-danger:active {
    transform: translateY(1px);
  }

  .btn-primary:focus,
  .btn-secondary:focus,
  .btn-danger:focus,
  .input:focus {
    box-shadow: var(--focus-ring);
  }

  .btn-warning {
    @apply text-base py-2 px-3 text-white transition-all duration-150 ease-linear bg-amber-500 rounded-[10px] shadow outline-none active:bg-amber-600 hover:shadow-md hover:bg-amber-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-amber-500 cursor-pointer;
  }

  .checkbox {
    @apply bg-white border rounded;
    width: 14px;
    height: 14px;
    margin: 0;
    border-color: var(--neutral-200);
    color: var(--brand-lime);
    vertical-align: middle;
  }

  .dropdown-link {
    @apply block w-full whitespace-nowrap;
    padding: 9px 12px;
    color: var(--neutral-700);
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    background: transparent;
  }

  .dropdown-link:hover {
    background: var(--neutral-50);
    color: var(--brand-ink);
  }
}

.initiated {
  @apply inline-flex items-center rounded-full border px-2 py-1 font-bold;
  border-color: var(--neutral-200);
  background: var(--neutral-50);
  color: var(--neutral-500);
  font-size: 11.5px;
  line-height: 1;
}

.validated, .pending {
  @apply inline-flex items-center rounded-full border px-2 py-1 font-bold;
  border-color: rgba(194, 132, 26, 0.24);
  background: rgba(194, 132, 26, 0.12);
  color: var(--warning);
  font-size: 11.5px;
  line-height: 1;
}

.rejected, .failed {
  @apply inline-flex items-center rounded-full border px-2 py-1 font-bold;
  border-color: rgba(200, 54, 45, 0.24);
  background: rgba(200, 54, 45, 0.12);
  color: var(--danger);
  font-size: 11.5px;
  line-height: 1;
}

.sended, .approved, .retrieved, .success, .sending {
  @apply inline-flex items-center rounded-full border px-2 py-1 font-bold;
  border-color: rgba(47, 143, 79, 0.24);
  background: rgba(47, 143, 79, 0.12);
  color: var(--success);
  font-size: 11.5px;
  line-height: 1;
}

@layer utilities {
  .table {
    @apply items-center w-full bg-transparent border-collapse;
  }

  .table thead {
    background: var(--neutral-50);
  }

  .table-header {
    @apply text-left align-middle border-0 border-b border-solid whitespace-nowrap;
    padding: 12px 16px;
    border-color: var(--neutral-100);
    color: var(--neutral-500);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .table-col {
    @apply text-left align-middle border-b whitespace-nowrap;
    padding: 13px 16px;
    border-color: var(--neutral-100);
    color: var(--neutral-700);
    font-size: 13.5px;
    font-weight: 400;
  }

  .imoney-page .card-surf:has(table.table) .table-col,
  .imoney-page > div.bg-white.rounded-xl:has(table.table) .table-col {
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  .imoney-page .card-surf:has(table.table) .table-header,
  .imoney-page > div.bg-white.rounded-xl:has(table.table) .table-header {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 12px 16px;
    border-top: 1px solid var(--neutral-100);
    background: #fff;
    color: var(--neutral-600);
    font-size: 13.5px;
    line-height: 1.2;
  }

  .table-footer-page-size {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
  }

  .table-footer-page-size span {
    white-space: nowrap;
  }

  .table-footer-select {
    height: 32px;
    min-width: 76px;
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    background-color: var(--neutral-25);
    color: var(--neutral-700);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 0 30px 0 12px;
  }

  .table-footer-pages,
  .table-footer-pages .pagy,
  .table-footer > .pagy {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
  }

  .table-footer nav,
  .table-footer .pagy {
    margin: 0;
  }

  .table-footer nav a,
  .table-footer nav span,
  .table-footer nav em,
  .table-footer-pages a,
  .table-footer-pages span,
  .table-footer-pages em {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--neutral-600);
    font-style: normal;
    font-weight: 700;
    text-decoration: none;
  }

  .table-footer nav a,
  .table-footer-pages a {
    background: var(--neutral-25);
    border: 1px solid var(--neutral-100);
  }

  .table-footer nav a:hover,
  .table-footer-pages a:hover {
    border-color: var(--neutral-200);
    background: var(--neutral-50);
    color: var(--brand-ink);
  }

  .table-footer .current,
  .table-footer em {
    background: var(--brand-ink);
    color: #fff;
  }

  .service-image-cell img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
  }

  .label {
    @apply block mb-2 text-sm font-medium leading-5 text-slate-500;
  }

  .input {
    @apply appearance-none rounded-[10px] w-full focus:outline-none;
    min-height: 36px;
    border: 1px solid var(--neutral-200);
    background: #fff;
    color: var(--brand-ink);
    padding: 8px 12px;
    font-size: 13.5px;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgb(14 17 16 / 3%);
  }

  .imoney-page form input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="submit"]),
  .imoney-page form select,
  .imoney-page form textarea,
  .imoney-page form input[type="file"] {
    min-height: 36px;
    width: 100%;
    border: 1px solid var(--neutral-200);
    border-radius: 10px;
    background: #fff;
    color: var(--brand-ink);
    padding: 8px 12px;
    font-size: 13.5px;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(14, 17, 16, 0.03);
  }

  .imoney-page form textarea {
    min-height: 96px;
    resize: vertical;
  }

  .imoney-page form input[type="file"] {
    padding: 7px 12px;
  }

  .imoney-page form input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="submit"]):focus,
  .imoney-page form select:focus,
  .imoney-page form textarea:focus,
  .imoney-page form input[type="file"]:focus {
    outline: none;
    box-shadow: var(--focus-ring);
  }

  .imoney-page form label:not(.inline-flex) {
    display: block;
    margin-bottom: 8px;
    color: var(--neutral-500);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
  }

  .imoney-page form .choices {
    box-sizing: border-box;
    width: 100%;
    min-height: 36px;
    margin: 0;
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    overflow: visible;
    color: var(--brand-ink);
    font-size: 13.5px;
    line-height: 1.35;
  }

  .imoney-page form .choices[data-type*="select-one"] {
    height: 36px;
  }

  .imoney-page form .choices__inner {
    display: flex;
    box-sizing: border-box;
    min-height: 36px;
    width: 100%;
    align-items: center;
    border: 1px solid var(--neutral-200);
    border-radius: 10px;
    background: #fff;
    padding: 7px 36px 7px 12px;
    box-shadow: inset 0 1px 0 rgb(14 17 16 / 3%);
  }

  .imoney-page form .choices.is-focused .choices__inner,
  .imoney-page form .choices.is-open .choices__inner {
    border-color: var(--neutral-200);
    box-shadow: var(--focus-ring);
  }

  .imoney-page form .choices[data-type*="select-one"] .choices__inner {
    padding-bottom: 7px;
  }

  .imoney-page form .choices[data-type*="select-one"] .choices__button {
    display: none;
  }

  .imoney-page form .choices[data-type*="select-one"]::after {
    right: 13px;
    border-width: 4px;
    border-color: var(--brand-ink) transparent transparent;
    opacity: 0.8;
  }

  .imoney-page form .choices[data-type*="select-one"].is-open::after {
    border-color: transparent transparent var(--brand-ink);
  }

  .imoney-page form .choices__list--single {
    display: block;
    width: 100%;
    padding: 0;
    min-width: 0;
  }

  .imoney-page form .choices__list--single .choices__item,
  .imoney-page form .choices__placeholder {
    display: block;
    overflow: hidden;
    color: var(--neutral-500);
    font-size: 13.5px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .imoney-page form .choices__list--single .choices__item:not(.choices__placeholder) {
    color: var(--brand-ink);
  }

  .imoney-page form .choices__input,
  .imoney-page form .choices__input--cloned {
    min-height: 20px;
    margin: 0;
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    font-size: 13.5px;
    line-height: 20px;
  }

  .imoney-page form .choices__list--multiple {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
  }

  .imoney-page form .choices__list--multiple .choices__item {
    margin: 0;
    border-color: rgb(187 203 68 / 35%);
    background: rgb(187 203 68 / 16%);
    color: var(--brand-ink);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    word-break: normal;
  }

  .imoney-page form .choices__list--dropdown,
  .imoney-page form .choices__list[aria-expanded] {
    z-index: 45;
    top: calc(100% + 6px);
    margin-top: 0;
    border: 1px solid var(--neutral-100);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    word-break: normal;
  }

  .imoney-page form .choices__list--dropdown .choices__list,
  .imoney-page form .choices__list[aria-expanded] .choices__list {
    max-height: 240px;
  }

  .imoney-page form .choices__list--dropdown .choices__item,
  .imoney-page form .choices__list[aria-expanded] .choices__item {
    padding: 9px 12px;
    color: var(--neutral-700);
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    word-break: normal;
  }

  .imoney-page form .choices__list--dropdown .choices__item--selectable.is-highlighted,
  .imoney-page form .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background: var(--neutral-50);
    color: var(--brand-ink);
  }

  .input-leading-icon {
    padding-left: 38px;
  }

  .filter-menu-panel form > .flex,
  .filter-menu-panel form.flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 12px;
    align-items: start;
  }

  .filter-menu-panel form > .flex > .field,
  .filter-menu-panel form.flex > .field {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .filter-menu-panel form > .flex > .filter-field-full,
  .filter-menu-panel form.flex > .filter-field-full {
    grid-column: 1 / -1;
  }

  .filter-menu-panel form > .flex > button[type="submit"],
  .filter-menu-panel form > .flex > input[type="submit"],
  .filter-menu-panel form > .flex > .filter-actions,
  .filter-menu-panel form.flex > button[type="submit"],
  .filter-menu-panel form.flex > input[type="submit"],
  .filter-menu-panel form.flex > .filter-actions {
    grid-column: 1 / -1;
    justify-self: end;
    margin: 2px 0 0;
  }

  .filter-menu-panel .filter-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }

  #filter-form .field,
  .filter-menu-panel .field {
    min-height: 36px;
  }

  #filter-form .input,
  #filter-form .choices,
  .filter-menu-panel .input,
  .filter-menu-panel .choices {
    height: 36px;
  }

  #filter-form .choices,
  .filter-menu-panel .choices {
    padding: 0;
    border: 1px solid var(--neutral-200);
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(14, 17, 16, 0.03);
    font-size: 13.5px;
    line-height: 1.35;
  }

  #filter-form .choices.is-open,
  .filter-menu-panel .choices.is-open {
    z-index: 35;
    overflow: visible;
  }

  #filter-form .choices__inner,
  .filter-menu-panel .choices__inner {
    display: flex;
    align-items: center;
    min-height: 34px;
    height: 34px;
    padding: 7px 34px 7px 12px;
    border: 0;
    background: transparent;
    overflow: hidden;
  }

  #filter-form .choices__list--single,
  .filter-menu-panel .choices__list--single {
    padding: 0;
  }

  #filter-form .choices__list--multiple,
  .filter-menu-panel .choices__list--multiple {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    min-height: 18px;
    overflow: hidden;
    white-space: nowrap;
  }

  #filter-form .choices__list--multiple .choices__item,
  .filter-menu-panel .choices__list--multiple .choices__item {
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: middle;
    margin: 0;
    padding: 2px 20px 2px 7px;
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-color: rgba(187, 203, 68, 0.35);
    background: rgba(187, 203, 68, 0.16);
    color: var(--brand-ink);
  }

  #filter-form .choices[data-type*="select-multiple"] .choices__button,
  .filter-menu-panel .choices[data-type*="select-multiple"] .choices__button {
    position: absolute;
    right: 6px;
    top: 50%;
    width: 10px;
    min-width: 10px;
    overflow: hidden;
    margin: 0;
    padding-left: 10px;
    border-left: 0;
    opacity: 0.55;
    text-indent: -9999px;
    transform: translateY(-50%);
    white-space: nowrap;
  }

  #filter-form .choices__input,
  #filter-form .choices__input--cloned,
  .filter-menu-panel .choices__input,
  .filter-menu-panel .choices__input--cloned {
    height: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--brand-ink);
    font-size: 13.5px;
    line-height: 18px;
  }

  #filter-form .choices__list--dropdown,
  #filter-form .choices__list[aria-expanded],
  .filter-menu-panel .choices__list--dropdown,
  .filter-menu-panel .choices__list[aria-expanded] {
    z-index: 40;
    top: calc(100% + 6px);
    margin-top: 0;
    border: 1px solid var(--neutral-100);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    word-break: normal;
  }

  #filter-form .choices__list--dropdown .choices__list,
  #filter-form .choices__list[aria-expanded] .choices__list,
  .filter-menu-panel .choices__list--dropdown .choices__list,
  .filter-menu-panel .choices__list[aria-expanded] .choices__list {
    max-height: 220px;
  }

  #filter-form .choices__list--dropdown .choices__item,
  #filter-form .choices__list[aria-expanded] .choices__item,
  .filter-menu-panel .choices__list--dropdown .choices__item,
  .filter-menu-panel .choices__list[aria-expanded] .choices__item {
    padding: 9px 12px;
    color: var(--neutral-700);
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    word-break: normal;
  }

  #filter-form .choices__list--dropdown .choices__item--selectable.is-highlighted,
  #filter-form .choices__list[aria-expanded] .choices__item--selectable.is-highlighted,
  .filter-menu-panel .choices__list--dropdown .choices__item--selectable.is-highlighted,
  .filter-menu-panel .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background: var(--neutral-50);
    color: var(--brand-ink);
  }

  #filter-form select.input[multiple],
  .filter-menu-panel select.input[multiple] {
    height: 36px;
    min-height: 36px;
    overflow: hidden;
  }

  #filter-form .filter-field-full .choices[data-type*="select-multiple"],
  .filter-menu-panel .filter-field-full .choices[data-type*="select-multiple"] {
    height: auto;
    min-height: 36px;
  }

  #filter-form .filter-field-full .choices[data-type*="select-multiple"] .choices__inner,
  .filter-menu-panel .filter-field-full .choices[data-type*="select-multiple"] .choices__inner {
    height: auto;
    min-height: 34px;
    align-items: flex-start;
    padding-bottom: 6px;
  }

  #filter-form .filter-field-full .choices[data-type*="select-multiple"] .choices__list--multiple,
  .filter-menu-panel .filter-field-full .choices[data-type*="select-multiple"] .choices__list--multiple {
    flex-wrap: wrap;
    max-height: 92px;
    overflow-y: auto;
    white-space: normal;
  }

  #filter-form .filter-field-full .choices[data-type*="select-multiple"] .choices__list--multiple .choices__item,
  .filter-menu-panel .filter-field-full .choices[data-type*="select-multiple"] .choices__list--multiple .choices__item {
    max-width: 180px;
  }

  #filter-form .btn-primary,
  #filter-form .btn-secondary,
  .filter-menu-panel .btn-primary,
  .filter-menu-panel .btn-secondary {
    height: 36px;
    min-height: 36px;
  }

  .card-dashed {
    @apply text-center flex justify-center items-center p-6 mb-4 rounded-2xl hover:bg-white flex-col border-dashed border;
    background: var(--neutral-50);
    fill: var(--brand-lime);
    border-color: var(--neutral-500);
  }
}

.text-color-primary {
  color: var(--brand-lime);
}

.pagy-nav, .pagy-nav-js {
  @apply flex space-x-2;
}

.pagination {
  display: flex;
  justify-content: end
}

.pagy-nav .page a,
.pagy-nav .page.active,
.pagy-nav .page.prev.disabled,
.pagy-nav .page.next.disabled,
.pagy-nav-js .page a,
.pagy-nav-js .page.active,
.pagy-nav-js .page.prev.disabled,
.pagy-nav-js .page.next.disabled {
  @apply block px-3 py-1 text-sm font-semibold text-gray-500 bg-gray-200 rounded-lg shadow-md;

  &:hover{
    @apply bg-gray-300;
  }

  &:active{
    @apply text-white bg-gray-400;
  }
}


.pagy-nav .page.prev.disabled,
.pagy-nav .page.next.disabled,
.pagy-nav-js .page.prev.disabled,
.pagy-nav-js .page.next.disabled {
  @apply text-gray-400 cursor-default;

  &:hover {
    @apply text-gray-400 bg-gray-200;
  }
  
  &:active {
    @apply text-gray-400 bg-gray-200;
  }
}

.pagy-nav .page.active,
.pagy-nav-js .page.active {
  @apply cursor-default;
  background: var(--brand-lime);
  color: var(--brand-ink);

  &:hover {
    background: var(--brand-lime-hover);
    color: var(--brand-ink);
  }

  &:active {
    background: var(--brand-lime-hover);
    color: var(--brand-ink);
  }
}

.pagy-nav .page.next.disabled,
.pagy-nav .page.prev.disabled {
  @apply hidden;
}

.pagy-combo-nav-js {
  @apply flex px-3 py-1 text-sm font-semibold text-gray-500 bg-gray-200 rounded-full shadow-md max-w-max;
}

.pagy-combo-nav-js .pagy-combo-input {
  @apply bg-white px-2 rounded-sm
}

.pagy-combo-nav-js .page.prev,
.pagy-combo-nav-js .page.next {
  &:hover {
    @apply text-gray-800;
  }

  &:active {
    @apply text-gray-800;
  }
}

.pagy-combo-nav-js .page.prev.disabled,
.pagy-combo-nav-js .page.next.disabled {
  @apply text-gray-400 cursor-default;
}
.choices{position:relative;overflow:hidden;margin-bottom:24px;font-size:16px}.choices:focus{outline:0}.choices:last-child{margin-bottom:0}.choices.is-open{overflow:visible}.choices.is-disabled .choices__inner,.choices.is-disabled .choices__input{background-color:#eaeaea;cursor:not-allowed;-webkit-user-select:none;user-select:none}.choices.is-disabled .choices__item{cursor:not-allowed}.choices [hidden]{display:none!important}.choices[data-type*=select-one]{cursor:pointer}.choices[data-type*=select-one] .choices__inner{padding-bottom:7.5px}.choices[data-type*=select-one] .choices__input{display:block;width:100%;padding:10px;border-bottom:1px solid #ddd;background-color:#fff;margin:0}.choices[data-type*=select-one] .choices__button{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);padding:0;background-size:8px;position:absolute;top:50%;right:0;margin-top:-10px;margin-right:25px;height:20px;width:20px;border-radius:10em;opacity:.25}.choices[data-type*=select-one] .choices__button:focus,.choices[data-type*=select-one] .choices__button:hover{opacity:1}.choices[data-type*=select-one] .choices__button:focus{box-shadow:0 0 0 2px #00bcd4}.choices[data-type*=select-one] .choices__item[data-value=""] .choices__button{display:none}.choices[data-type*=select-one]::after{content:"";height:0;width:0;border-style:solid;border-color:#333 transparent transparent;border-width:5px;position:absolute;right:11.5px;top:50%;margin-top:-2.5px;pointer-events:none}.choices[data-type*=select-one].is-open::after{border-color:transparent transparent #333;margin-top:-7.5px}.choices[data-type*=select-one][dir=rtl]::after{left:11.5px;right:auto}.choices[data-type*=select-one][dir=rtl] .choices__button{right:auto;left:0;margin-left:25px;margin-right:0}.choices[data-type*=select-multiple] .choices__inner,.choices[data-type*=text] .choices__inner{cursor:text}.choices[data-type*=select-multiple] .choices__button,.choices[data-type*=text] .choices__button{position:relative;display:inline-block;margin:0-4px 0 8px;padding-left:16px;border-left:1px solid #008fa1;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);background-size:8px;width:8px;line-height:1;opacity:.75;border-radius:0}.choices[data-type*=select-multiple] .choices__button:focus,.choices[data-type*=select-multiple] .choices__button:hover,.choices[data-type*=text] .choices__button:focus,.choices[data-type*=text] .choices__button:hover{opacity:1}.choices__inner{display:inline-block;vertical-align:top;width:100%;background-color:#f9f9f9;padding:7.5px 7.5px 3.75px;border:1px solid #ddd;border-radius:2.5px;font-size:14px;min-height:44px;overflow:hidden}.is-focused .choices__inner,.is-open .choices__inner{border-color:#b7b7b7}.is-open .choices__inner{border-radius:2.5px 2.5px 0 0}.is-flipped.is-open .choices__inner{border-radius:0 0 2.5px 2.5px}.choices__list{margin:0;padding-left:0;list-style:none}.choices__list--single{display:inline-block;padding:4px 16px 4px 4px;width:100%}[dir=rtl] .choices__list--single{padding-right:4px;padding-left:16px}.choices__list--single .choices__item{width:100%}.choices__list--multiple{display:inline}.choices__list--multiple .choices__item{display:inline-block;vertical-align:middle;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:500;margin-right:3.75px;margin-bottom:3.75px;background-color:#00bcd4;border:1px solid #00a5bb;color:#fff;word-break:break-all;box-sizing:border-box}.choices__list--multiple .choices__item[data-deletable]{padding-right:5px}[dir=rtl] .choices__list--multiple .choices__item{margin-right:0;margin-left:3.75px}.choices__list--multiple .choices__item.is-highlighted{background-color:#00a5bb;border:1px solid #008fa1}.is-disabled .choices__list--multiple .choices__item{background-color:#aaa;border:1px solid #919191}.choices__list--dropdown,.choices__list[aria-expanded]{visibility:hidden;z-index:1;position:absolute;width:100%;background-color:#fff;border:1px solid #ddd;top:100%;margin-top:-1px;border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px;overflow:hidden;word-break:break-all;will-change:visibility}.is-active.choices__list--dropdown,.is-active.choices__list[aria-expanded]{visibility:visible}.is-open .choices__list--dropdown,.is-open .choices__list[aria-expanded]{border-color:#b7b7b7}.is-flipped .choices__list--dropdown,.is-flipped .choices__list[aria-expanded]{top:auto;bottom:100%;margin-top:0;margin-bottom:-1px;border-radius:.25rem .25rem 0 0}.choices__list--dropdown .choices__list,.choices__list[aria-expanded] .choices__list{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.choices__list--dropdown .choices__item,.choices__list[aria-expanded] .choices__item{position:relative;padding:10px;font-size:14px}[dir=rtl] .choices__list--dropdown .choices__item,[dir=rtl] .choices__list[aria-expanded] .choices__item{text-align:right}@media (min-width:640px){.choices__list--dropdown .choices__item--selectable,.choices__list[aria-expanded] .choices__item--selectable{padding-right:100px}.choices__list--dropdown .choices__item--selectable::after,.choices__list[aria-expanded] .choices__item--selectable::after{content:attr(data-select-text);font-size:12px;opacity:0;position:absolute;right:10px;top:50%;transform:translateY(-50%)}[dir=rtl] .choices__list--dropdown .choices__item--selectable,[dir=rtl] .choices__list[aria-expanded] .choices__item--selectable{text-align:right;padding-left:100px;padding-right:10px}[dir=rtl] .choices__list--dropdown .choices__item--selectable::after,[dir=rtl] .choices__list[aria-expanded] .choices__item--selectable::after{right:auto;left:10px}}.choices__list--dropdown .choices__item--selectable.is-highlighted,.choices__list[aria-expanded] .choices__item--selectable.is-highlighted{background-color:#f2f2f2}.choices__list--dropdown .choices__item--selectable.is-highlighted::after,.choices__list[aria-expanded] .choices__item--selectable.is-highlighted::after{opacity:.5}.choices__item{cursor:default}.choices__item--selectable{cursor:pointer}.choices__item--disabled{cursor:not-allowed;-webkit-user-select:none;user-select:none;opacity:.5}.choices__heading{font-weight:600;font-size:12px;padding:10px;border-bottom:1px solid #f7f7f7;color:gray}.choices__button{text-indent:-9999px;-webkit-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.choices__button:focus,.choices__input:focus{outline:0}.choices__input{display:inline-block;vertical-align:baseline;background-color:#f9f9f9;font-size:14px;margin-bottom:5px;border:0;border-radius:0;max-width:100%;padding:4px 0 4px 2px}.choices__input::-webkit-search-cancel-button,.choices__input::-webkit-search-decoration,.choices__input::-webkit-search-results-button,.choices__input::-webkit-search-results-decoration{display:none}.choices__input::-ms-clear,.choices__input::-ms-reveal{display:none;width:0;height:0}[dir=rtl] .choices__input{padding-right:2px;padding-left:0}.choices__placeholder{opacity:.5}

.choices__list{
  left: -.5px;
}

.choices {
  width: 100%;
  height: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  border: 1px solid rgba(196, 196, 196, 0.5);
  border-radius: 0.5rem; /* 0.5rem is 8px which is typically the size for rounded-lg in Tailwind CSS */
  font-size: 1.25rem; /* 1.25rem is the size for text-xl in Tailwind CSS */
}

.choices::placeholder {
  font-size: 1.25rem;
}

.choices__inner {
  background: transparent;
  border: none;
}

.choices__item--selectable {
  padding-right: 0 !important;
}
.data-table {
  margin: auto;
}

table.pdf, th.pdf, td.pdf {
  border: 1px solid black;
  border-collapse: collapse;
}

.pdf-title {
  text-align: center;
  font-weight: bold;
  font-size: 150%;
  margin: 50px 20px;
}

.pdf-title- {
  text-align: center;
  font-weight: bold;
  font-size: 150%;
  margin: 50px 20px;
  color: white;
}

.pdf-logo {
  width: 100%;
  margin-bottom: 150px;
}

.pdf-logo div {
  display: inline-block;
  align-items: center;
}

.pdf-logo .left {
  float: left;
}

.account_logo {
  width: 5em; height: 5em; margin: 4px;
}

.pdf-logo .right {
 float: right;
}

.logo-partner {
  text-align: left;
}

.data-table.pdf {
  width: 100%;
  border-collapse: collapse;
  max-width: 1200px;
  margin: auto; 
}

.data-table.pdf th.pdf {
  font-weight: bold;
  padding: 10px;
  font-size: 14px;
  background-color: #f2f2f2;
  word-wrap: break-word;
  text-align: left;
}

.data-table.pdf td.pdf {
  padding: 10px;
  font-size: 14px;
  word-wrap: break-word;
  text-align: left;
}

.td-border {
  border-bottom: 1px solid gray;
  text-align: right;
  vertical-align: middle;
  color: #0f0101; 
}

.td-font {
  font-weight: bold;
  border-bottom: 1px solid gray;
  color: #0f0101;
}

.td-center-text {
  width: 80%;
  text-align: center;
}

#myTable {
  background-color: #81f9a1;
  max-width: 1200px;
}

.title.m-0.account-title {
  text-decoration: underline;
}

.whidth{
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

.margin{
  margin: 20px auto;
  width: 100%;
  max-width: 1200px;
}

.second-table-container {
  width: 100%;
  margin-top: 40px;
}
html {
  position: relative;
  font-size: 16px;
}

body {
  letter-spacing: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  color: #282828;
  font-weight: 600;
}

p {
  line-height: 1.7;
}

a {
  transition: all 0.3s ease-in-out;
}

.loader-v1 {
  border: 6px solid #f8f6f1;
  border-top: 6px solid #f05152;
  border-bottom: 6px solid #f05152;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

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

.form-img-preview {
  max-width: 350px;
}

.form-img-preview img {
  max-width: 100px;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

#filter-form .choices[data-type*="select-multiple"],
.filter-menu-panel .choices[data-type*="select-multiple"] {
  height: 36px !important;
  padding: 0 !important;
  border: 1px solid var(--neutral-200) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: inset 0 1px 0 rgba(14, 17, 16, 0.03) !important;
  font-size: 13.5px !important;
}

#filter-form .choices[data-type*="select-multiple"].is-open,
.filter-menu-panel .choices[data-type*="select-multiple"].is-open {
  z-index: 35 !important;
  overflow: visible !important;
}

#filter-form .choices[data-type*="select-multiple"] .choices__inner,
.filter-menu-panel .choices[data-type*="select-multiple"] .choices__inner {
  display: flex !important;
  align-items: center !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 7px 34px 7px 12px !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

#filter-form .choices[data-type*="select-multiple"] .choices__list--multiple,
.filter-menu-panel .choices[data-type*="select-multiple"] .choices__list--multiple {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

#filter-form .choices[data-type*="select-multiple"] .choices__list--multiple .choices__item,
.filter-menu-panel .choices[data-type*="select-multiple"] .choices__list--multiple .choices__item {
  position: relative !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
  max-width: 88px !important;
  margin: 0 !important;
  padding: 2px 20px 2px 7px !important;
  overflow: hidden !important;
  border-color: rgba(187, 203, 68, 0.35) !important;
  border-radius: 999px !important;
  background: rgba(187, 203, 68, 0.16) !important;
  color: var(--brand-ink) !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  word-break: normal !important;
}

#filter-form .choices[data-type*="select-multiple"] .choices__list--dropdown,
#filter-form .choices[data-type*="select-multiple"] .choices__list[aria-expanded],
.filter-menu-panel .choices[data-type*="select-multiple"] .choices__list--dropdown,
.filter-menu-panel .choices[data-type*="select-multiple"] .choices__list[aria-expanded] {
  top: calc(100% + 6px) !important;
  z-index: 40 !important;
  margin-top: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--neutral-100) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: var(--shadow-sm) !important;
  word-break: normal !important;
}

#filter-form .choices[data-type*="select-multiple"] .choices__button,
.filter-menu-panel .choices[data-type*="select-multiple"] .choices__button {
  position: absolute !important;
  top: 50% !important;
  right: 6px !important;
  overflow: hidden !important;
  margin: 0 !important;
  text-indent: -9999px !important;
  transform: translateY(-50%) !important;
  white-space: nowrap !important;
}

.filter-menu-panel form > .flex > .filter-field-full,
.filter-menu-panel form.flex > .filter-field-full {
  grid-column: 1 / -1 !important;
}

#filter-form .filter-field-full .choices[data-type*="select-multiple"],
.filter-menu-panel .filter-field-full .choices[data-type*="select-multiple"] {
  height: auto !important;
  min-height: 36px !important;
}

#filter-form .filter-field-full .choices[data-type*="select-multiple"] .choices__inner,
.filter-menu-panel .filter-field-full .choices[data-type*="select-multiple"] .choices__inner {
  align-items: flex-start !important;
  height: auto !important;
  min-height: 34px !important;
  padding-bottom: 6px !important;
}

#filter-form .filter-field-full .choices[data-type*="select-multiple"] .choices__list--multiple,
.filter-menu-panel .filter-field-full .choices[data-type*="select-multiple"] .choices__list--multiple {
  flex-wrap: wrap !important;
  max-height: 92px !important;
  overflow-y: auto !important;
  white-space: normal !important;
}

#filter-form .filter-field-full .choices[data-type*="select-multiple"] .choices__list--multiple .choices__item,
.filter-menu-panel .filter-field-full .choices[data-type*="select-multiple"] .choices__list--multiple .choices__item {
  max-width: 180px !important;
}

#filter-form .choices[data-type*="select-multiple"] .choices__list--dropdown .choices__list,
#filter-form .choices[data-type*="select-multiple"] .choices__list[aria-expanded] .choices__list,
.filter-menu-panel .choices[data-type*="select-multiple"] .choices__list--dropdown .choices__list,
.filter-menu-panel .choices[data-type*="select-multiple"] .choices__list[aria-expanded] .choices__list {
  max-height: 220px !important;
}

#filter-form .choices[data-type*="select-multiple"] .choices__list--dropdown .choices__item,
#filter-form .choices[data-type*="select-multiple"] .choices__list[aria-expanded] .choices__item,
.filter-menu-panel .choices[data-type*="select-multiple"] .choices__list--dropdown .choices__item,
.filter-menu-panel .choices[data-type*="select-multiple"] .choices__list[aria-expanded] .choices__item {
  padding: 9px 12px !important;
  color: var(--neutral-700) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  word-break: normal !important;
}
 
