/* style.css - Gaya tersuai Sistem PPPB Ar Rahmah Wellness */
:root {
  --primary: #047857; /* Emerald Green */
  --primary-dark: #065f46;
  --primary-light: #d1fae5;
  --secondary: #0284c7; /* Sky Blue */
  --accent: #d97706; /* Amber */
  --dark: #0f172a; /* Slate 900 */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #f8fafc;
  color: #1e293b;
}

/* Canvas Tandatangan */
.signature-pad {
  border: 2px dashed #94a3b8;
  border-radius: 0.75rem;
  background-color: #ffffff;
  touch-action: none;
  cursor: crosshair;
  width: 100%;
  height: 180px;
}

.signature-pad:focus {
  outline: none;
  border-color: #059669;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Gaya Cetakan Rasmi (A4 Format) */
@media print {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .no-print {
    display: none !important;
  }

  .print-page {
    page-break-after: always;
    padding: 1.5cm 2cm;
    box-sizing: border-box;
    width: 100%;
    min-height: 297mm;
  }

  .print-page:last-child {
    page-break-after: avoid;
  }

  table {
    border-collapse: collapse !important;
    width: 100% !important;
  }

  table, th, td {
    border: 1px solid #000000 !important;
  }
}
