/* =====================================================
   NIA INVITE — ORDERS MANAGEMENT LUXURY COCKPIT
   ===================================================== */

/* Executive Header Deck */
.orders-header-deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 2px 4px;
}

.orders-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.orders-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
  margin: 0;
}

.orders-sub {
  font-size: 0.72rem;
  color: #8b92a5;
  margin: 0;
}

.orders-total-capsule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-glow);
  letter-spacing: 0.5px;
}

.orders-total-pulse {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold);
}

/* Controls: Search & Filters Deck */
.orders-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  background: rgba(12, 14, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px;
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

.order-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.order-search-icon {
  position: absolute;
  left: 12px;
  color: #6b7280;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.order-search-field {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 9px 34px 9px 36px;
  color: #fff;
  font-size: 0.78rem;
  outline: none;
  transition: all 0.2s ease;
}

.order-search-field::placeholder {
  color: #525866;
  font-size: 0.75rem;
}

.order-search-field:focus {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(0, 0, 0, 0.65);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.12);
}

.btn-clear-search-box {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px;
  display: none;
  line-height: 1;
}

.btn-clear-search-box:hover {
  color: #fff;
}

.order-filter-tabs {
  display: flex;
  gap: 6px;
  width: 100%;
}

.order-tab-pill {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #8b92a5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 4px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.order-tab-pill.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--gold-glow);
}

.tab-badge-num {
  font-size: 0.62rem;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.order-tab-pill.active .tab-badge-num {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
  color: #fff;
}

/* Orders List & Cards */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.order-card-tile {
  background: linear-gradient(150deg, #141724 0%, #0a0c12 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.order-card-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #10b981;
}

.order-card-tile.status-pending::before {
  background: #f59e0b;
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.order-info-deck {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  flex: 1;
}

.order-ref-title {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.8px;
}

.order-client-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-glow);
}

.order-amount-capsule {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  text-align: right;
}

.card-details-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: rgba(0, 0, 0, 0.35);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.card-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  gap: 10px;
}

.card-detail-label {
  color: var(--muted);
  font-size: 0.66rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}

.card-detail-val {
  color: #f3f4f6;
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}

.order-actions-deck {
  display: flex;
  gap: 8px;
}

.btn-order-view-detail {
  flex: 1;
  padding: 10px 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-glow);
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-order-view-detail:active {
  transform: scale(0.98);
  background: rgba(212, 175, 55, 0.15);
}

/* Modal Styling */
.order-modal-block {
  background: rgba(10, 12, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.order-modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.order-modal-label {
  font-size: 0.68rem;
  color: #8b92a5;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-modal-val {
  font-weight: 600;
  color: #f3f4f6;
  text-align: right;
}

.paylink-copy-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  padding: 10px 12px;
  border-radius: 10px;
  margin-top: 4px;
}

.btn-copy-payment-link {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-glow);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-copy-payment-link:active {
  transform: scale(0.96);
  background: rgba(212, 175, 55, 0.25);
}
