.wow-orders-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: stretch;
  justify-content: stretch;
  color: #f5f5f5;
}

.wow-orders-modal--visible {
  display: flex;
}

.wow-orders-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.78);
}

.wow-orders-modal__panel {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #111216;
  display: flex;
  flex-direction: column;
}

.wow-orders-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #151824;
}

.wow-orders-modal__title {
  font-size: 18px;
  font-weight: 600;
}

.wow-orders-modal__close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f5f5f5;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

.wow-orders-modal__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 16px;
  overflow: hidden;
}

.wow-orders-modal__loading {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.wow-orders-modal__table-wrap {
  flex: 1;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1118;
}

.wow-orders-modal__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}

.wow-orders-modal__table thead th {
  position: sticky;
  top: 0;
  background: #1a1f2f;
  color: #d9dbe3;
  font-weight: 600;
  font-size: 12px;
  padding: 12px 10px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wow-orders-modal__table tbody td {
  padding: 12px 10px;
  font-size: 13px;
  color: #f0f1f6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: right;
  white-space: nowrap;
}

.wow-orders-modal__table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.wow-orders-modal__summary td {
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.wow-orders-modal__empty {
  text-align: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .wow-orders-modal__body {
    padding: 12px;
  }

  .wow-orders-modal__table {
    min-width: 900px;
  }
}
