/* Styling kustom tambahan Nitipin Rekber */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Badge status transaksi */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-pending_payment { background: #fef3c7; color: #92400e; }
.status-paid_escrow { background: #dbeafe; color: #1e40af; }
.status-shipped { background: #e0e7ff; color: #3730a3; }
.status-delivered { background: #ccfbf1; color: #115e59; }
.status-completed { background: #dcfce7; color: #166534; }
.status-disputed { background: #fee2e2; color: #991b1b; }
.status-refunded { background: #f1f5f9; color: #334155; }

/* Efek hover kartu */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

/* Input file bergaya navy */
.file-input::file-selector-button {
  background: #0f172a;
  color: #ffffff;
  border: 0;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  margin-right: 1rem;
  font-weight: 600;
}

.file-input::file-selector-button:hover {
  background: #1e293b;
}

/* Animasi pesan flash */
.flash-message {
  animation: flash-slide-in 0.3s ease-out;
}

@keyframes flash-slide-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Header tabel tetap terlihat saat scroll */
.table-sticky thead th {
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Tombol orange utilitas */
.btn-orange {
  background: #f97316;
  color: #ffffff;
}

.btn-orange:hover {
  background: #ea580c;
}
