/* Custom Styles for Employee Disciplinary & Termination Portal */

@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', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Nav Tab States */
.nav-tab {
  color: #64748b;
  border-bottom: 2px solid transparent;
}

.nav-tab:hover {
  color: #0f172a;
  background-color: #f8fafc;
}

.nav-tab.active {
  color: #0284c7;
  border-bottom: 2px solid #0284c7;
  background-color: #f0f7ff;
}

/* Filter pills */
.filter-pill.active {
  background-color: #0284c7 !important;
  color: #ffffff !important;
}

/* Badges */
.badge-pending {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-review {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.badge-approved {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-rejected {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Table Layout & Scroll Optimization */
table {
  border-collapse: separate;
  border-spacing: 0;
}

#requests-table-body td {
  vertical-align: middle;
}

@media (min-width: 1024px) {
  .overflow-x-auto {
    overflow-x: visible;
  }
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Printable PDF / Print Format */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  header, #main-nav-tabs, footer, #modal-detail-actions, button {
    display: none !important;
  }

  #modal-request-detail {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
  }

  #modal-detail-content {
    max-height: none !important;
    overflow: visible !important;
  }
}
