body {
  font-family: "Poppins", sans-serif;
}

/* Theme Toggle */
#theme-toggle {
  font-size: 1.5rem;
}

/* Animasi SVG */
svg path {
  animation: wave 10s infinite linear;
}

@keyframes wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100px);
  }
}

/* Hero Section Text Enhancement */
section:first-of-type h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Search Section Styling */
.search-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.form-section {
  transition: all 0.3s ease;
}
.table-container {
  max-height: 400px;
  overflow-y: auto;
}
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.status-pending {
  background-color: #fef3c7;
  color: #d97706;
}
.status-approved {
  background-color: #d1fae5;
  color: #059669;
}
.status-rejected {
  background-color: #fee2e2;
  color: #dc2626;
}
.status-processing {
  background-color: #dbeafe;
  color: #2563eb;
}
.file-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.file-upload-area:hover {
  border-color: #d40000;
  background-color: #fef2f2;
}
.file-upload-area.dragover {
  border-color: #d40000;
  background-color: #fff5f5;
}
/* Custom DataTables Styling */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  padding: 1rem;
}

.dataTables_wrapper .dataTables_filter input {
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.5rem;
}

table.dataTable {
  border-collapse: collapse !important;
}

/* Modal Styling */
.modal {
  transition: opacity 0.25s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d40000;
}
.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 20px;
  width: 2px;
  height: calc(100% + 10px);
  background: #e9ecef;
}
/* PDF Viewer Styles */
#pdf-viewer {
  width: 100%;
  height: 500px;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  overflow: auto;
  background: #f8f9fa;
}
.pdf-page {
  margin: 10px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: white;
}
.pdf-controls {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
