#portal {
  position: fixed;
  top: 0;
}

html {
  /* set base font size to 13px */
  font-size: 50.782% !important;
}

body {
  color: var(--mu-colors-foreground-text-neutral-plain) !important;
  overscroll-behavior-y: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  scrollbar-width: none;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}

.animate-copy {
  animation: pulse 0.2s;
  transition: all 0.2s;
}

.remove-icon-background svg {
  background: none !important;
}

.remove-content-padding-top .MuiCardContent-root {
  padding-top: 0 !important;
}

[id*="ScrollableDialog"] .infinite-scroll-component {
  overflow: hidden !important;
}

/* 
  TODO: Remove it when macaw will handle media queries in custom properties
  https://github.com/saleor/macaw-ui/issues/498
*/
@media screen and (max-width: 1024px) {
  .mobile-full-height {
    height: auto !important;
  }
}

[data-portal-for="category-list"] > ul > li {
  display: block;
}

[data-portal-for="category-list"] & li > span {
  display: inline;
}

.noBorder {
  border: none;
}

.conditional-metadata label {
  border: none;
}

.scrollArea {
  max-height: calc(100vh - 400px);
}

@media (min-height: 900px) {
  .scrollArea {
    max-height: 600px;
  }
}
._inputWithPlaceholder_11rv2_1 input::placeholder {
  color: var(--mu-colors-text-default2);
}

._inputWithPlaceholder_11rv2_1 input::-webkit-input-placeholder {
  color: var(--mu-colors-text-default2);
}

._inputWithPlaceholder_11rv2_1 input::-moz-placeholder {
  color: var(--mu-colors-text-default2);
}
._members_11v1c_1 {
  container-type: inline-size;
  min-width: 0;
}

._header_11v1c_6 {
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
}

._toolbar_11v1c_12 {
  flex-shrink: 0;
}

._table_11v1c_16._table_11v1c_16 {
  table-layout: auto;
}

._table_11v1c_16 th,
._table_11v1c_16 td {
  vertical-align: top;
  padding: 16px;
}

._table_11v1c_16 td {
  overflow-wrap: anywhere;
}

._customerCell_11v1c_30._customerCell_11v1c_30 {
  min-width: 220px;
  text-align: left;
}

._customerAccess_11v1c_35,
._accountStatus_11v1c_36 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

._customerAccess_11v1c_35 button {
  max-width: 100%;
  height: auto;
  min-height: 32px;
  padding: 8px 12px;
  white-space: normal;
  text-align: left;
}

._memberActions_11v1c_52 {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

/* La largeur du panneau, et non celle de la fenêtre, décide de la disposition. */
@container (max-width: 900px) {
  ._table_11v1c_16._table_11v1c_16,
  ._table_11v1c_16 tbody {
    display: block;
    width: 100%;
  }

  ._table_11v1c_16 thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  ._table_11v1c_16 tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
  }

  ._table_11v1c_16 tbody td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    text-align: left;
  }

  ._table_11v1c_16 tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
  }

  ._table_11v1c_16 ._customerCell_11v1c_30,
  ._table_11v1c_16 ._actionsCell_11v1c_100,
  ._table_11v1c_16 td[colspan] {
    grid-column: 1 / -1;
  }

  ._memberActions_11v1c_52 {
    justify-content: flex-start;
  }
}

@container (max-width: 420px) {
  ._table_11v1c_16 tbody tr {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }
}
