/* style.css - Clean, Professional & Eye-Friendly with Pink & Red Accents */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f8fafc; /* Latar belakang netral, sejuk dan tidak sakit mata */
  color: #1e293b;
  overflow-x: hidden;
}

/* Scrollbar netral yang rapi */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #fb7185; /* Aksen rose saat di-hover */
}

/* Glassmorphism Header Bersih */
.glass-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.glass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

/* Badge Status Nyaman & Jelas */
.badge-confirmed {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-pending {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

/* Live indicator */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.live-indicator {
  animation: pulse-dot 2s infinite ease-in-out;
}

/* Animasi Maskot Mengambang Halus */
@keyframes mascot-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(1.5deg); }
}

.mascot-bounce {
  animation: mascot-float 3.5s ease-in-out infinite;
}

/* Highlight Baris saat Konfirmasi (Efek Lembut) */
.row-highlight {
  animation: highlightSoft 2s ease-out;
}

@keyframes highlightSoft {
  0% { background-color: #ffe4e6; }
  100% { background-color: transparent; }
}

/* Container Bukti Pembayaran */
.receipt-preview-container {
  min-height: 380px;
  max-height: 520px;
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
}

.receipt-preview-container iframe,
.receipt-preview-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
}

/* Keyboard Shortcut Badge */
.kbd-shortcut {
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: #f1f5f9;
  color: #64748b;
  border-bottom: 2px solid #cbd5e1;
}

/* Sidebar Dark Slate Bersih dengan Aksen Pink-Red saat Aktif */
.sidebar-link {
  transition: all 0.2s ease-in-out;
  color: #94a3b8;
}

.sidebar-link:hover {
  background: #1e293b;
  color: #ffffff;
}

.sidebar-link.active {
  background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

/* Pagination Aksen Pink-Red */
.page-btn {
  transition: all 0.15s ease-in-out;
}

.page-btn.active {
  background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
  color: #ffffff;
  border-color: #e11d48;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.25);
  font-weight: 700;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}
