#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;
  }
}

/* Increase font size for CopilotChat to improve readability */
[class*="copilot"],
[class*="Copilot"] {
  font-size: 16px !important;
}

[class*="copilot"] p,
[class*="copilot"] div:not([class*="icon"]):not([class*="Icon"]),
[class*="copilot"] span:not([class*="icon"]):not([class*="Icon"]),
[class*="copilot"] textarea,
[class*="copilot"] input {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* Target chat messages specifically */
[class*="message"]:not([class*="icon"]),
[class*="Message"]:not([class*="icon"]) {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* Target input and textarea elements */
[class*="copilot"] textarea,
[class*="copilot"] input[type="text"],
[class*="copilot"] input[type="search"] {
  font-size: 16px !important;
}

/* Fix Macaw UI nested accordion arrow rotation scoping bug */
[data-test-id^="menu-item-label-"] button[data-state="closed"] svg {
  transform: rotate(0deg) !important;
}
[data-test-id^="menu-item-label-"] button[data-state="open"] svg {
  transform: rotate(180deg) !important;
}._dataTableContainer_1wt2o_1 {
  overflow-x: auto;
  margin: 16px 0;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

._dataTable_1wt2o_1 {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

._dataTable_1wt2o_1 th,
._dataTable_1wt2o_1 td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

._dataTable_1wt2o_1 th {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  font-weight: 600;
  color: #334155;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

._dataTable_1wt2o_1 th:first-child {
  border-top-left-radius: 8px;
}

._dataTable_1wt2o_1 th:last-child {
  border-top-right-radius: 8px;
}

._dataTable_1wt2o_1 tbody tr {
  transition: background-color 0.15s ease;
}

._dataTable_1wt2o_1 tbody tr:hover {
  background-color: rgba(99, 102, 241, 0.04);
}

._dataTable_1wt2o_1 tbody tr:nth-child(even) {
  background-color: rgba(15, 23, 42, 0.02);
}

._dataTable_1wt2o_1 tbody tr:nth-child(even):hover {
  background-color: rgba(99, 102, 241, 0.06);
}

._dataTable_1wt2o_1 td {
  color: #1e293b;
}

._dataTable_1wt2o_1 tbody tr:last-child td {
  border-bottom: none;
}

._dataTable_1wt2o_1 tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

._dataTable_1wt2o_1 tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

/* Status badge styling for common status values */
._statusBadge_1wt2o_75 {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
}

._statusPaid_1wt2o_85,
._statusCompleted_1wt2o_86,
._statusDelivered_1wt2o_87,
._statusActive_1wt2o_88 {
  background-color: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

._statusPending_1wt2o_93,
._statusProcessing_1wt2o_94 {
  background-color: rgba(234, 179, 8, 0.12);
  color: #a16207;
}

._statusShipped_1wt2o_99 {
  background-color: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

._statusFailed_1wt2o_104,
._statusCancelled_1wt2o_105,
._statusRefunded_1wt2o_106 {
  background-color: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  ._dataTable_1wt2o_1 th,
  ._dataTable_1wt2o_1 td {
    padding: 10px 12px;
    font-size: 13px;
  }

  ._dataTable_1wt2o_1 th {
    font-size: 11px;
  }
}
.DateRangePickerInput input {
  font-size: 15px;
}
.feesInput {
  border-color: var(--mu-colors-border-neutral-highlight);
}
