/* Admin shop orders queue — matches Jackpot admin gold/dark theme */
.admin-shop-orders-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 3rem;
  font-family: Georgia, "Times New Roman", serif;
  color: #f0e6d2;
}

.admin-shop-orders-page h1 {
  color: #d4a017;
  font-size: 2rem;
  margin: 0 0 0.35rem;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
}

.admin-shop-orders-sub {
  color: #a89878;
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
  line-height: 1.45;
}

.admin-shop-orders-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-shop-orders-back {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #d4a017;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(212, 160, 23, 0.4);
}

.admin-shop-orders-back:hover {
  color: #f0e6d2;
  border-bottom-color: #f0e6d2;
}

.admin-shop-orders-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.admin-shop-orders-filters label,
.admin-shop-orders-queue-sort label {
  color: #c4b89a;
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-shop-orders-filters select,
.admin-shop-orders-queue-sort select {
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid #8b6914;
  border-radius: 6px;
  color: #f0e6d2;
  padding: 8px 12px;
  font-family: Georgia, serif;
  font-size: 0.9rem;
  min-width: 11rem;
}

.admin-shop-orders-queue-sort select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-shop-orders-count {
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.45);
  color: #f0e6d2;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-shop-orders-lock {
  background: rgba(30, 20, 10, 0.85);
  border: 1px solid rgba(139, 105, 20, 0.5);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #c4b89a;
}

.admin-shop-orders-group-title {
  color: #d4a017;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(139, 105, 20, 0.45);
}

.admin-shop-orders-group-title:first-child {
  margin-top: 0;
}

.asoc-card {
  background: rgba(22, 16, 10, 0.92);
  border: 2px solid rgba(139, 105, 20, 0.55);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

@media (max-width: 720px) {
  .asoc-card {
    grid-template-columns: 1fr;
  }
}

.asoc-card-main {
  min-width: 0;
}

.asoc-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f0e6d2;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.asoc-card-meta {
  color: #c4b89a;
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
  line-height: 1.45;
}

.asoc-card-ids {
  font-size: 0.78rem;
  color: #7a6a58;
  margin-top: 0.35rem;
}

.asoc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.asoc-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.asoc-badge--pending {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.35);
}

.asoc-badge--repeat {
  background: rgba(100, 180, 255, 0.12);
  color: #8ecfff;
  border: 1px solid rgba(100, 180, 255, 0.35);
}

.asoc-customer {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: #d8ccb8;
}

.asoc-customer strong {
  color: #c4b89a;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.asoc-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 160px;
}

.asoc-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: filter 0.15s;
}

.asoc-btn:hover {
  filter: brightness(1.08);
}

.asoc-btn--fulfill {
  background: linear-gradient(135deg, #2d6a4f, #1b4332);
  color: #e8f5e9;
  border: 1px solid #40916c;
}

.asoc-btn--reject {
  background: linear-gradient(135deg, #7c2d2d, #5c1f1f);
  color: #ffebee;
  border: 1px solid #a53e3e;
}

.asoc-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.asoc-history-table th,
.asoc-history-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(139, 105, 20, 0.25);
  vertical-align: top;
}

.asoc-history-table th {
  color: #c4b89a;
  font-weight: 800;
  border-bottom: 2px solid #8b6914;
}

.asoc-history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.asoc-history-actions button {
  background: rgba(30, 20, 10, 0.9);
  border: 1px solid #8b6914;
  color: #d4a017;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.asoc-empty {
  text-align: center;
  color: #a89878;
  padding: 2rem 1rem;
  border: 1px dashed rgba(139, 105, 20, 0.35);
  border-radius: 10px;
}

.asoc-note {
  font-size: 0.8rem;
  color: #8a7a68;
  margin-top: 1.5rem;
  line-height: 1.5;
}

.asoc-usd-desc {
  margin-top: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  border: 1px solid rgba(139, 105, 20, 0.35);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #d8ccb8;
}

.asoc-usd-desc div + div {
  margin-top: 0.2rem;
}

.asoc-history-table .shop-order-usd-breakdown {
  margin-top: 0.45rem;
}

.shop-order-usd-breakdown {
  flex-basis: 100%;
  margin-top: 0.35rem;
  padding: 0.45rem 0.65rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #c4b89a;
}

.shop-order-usd-breakdown__line + .shop-order-usd-breakdown__line {
  margin-top: 0.15rem;
}
