/* Clean Official Document Styling for Rekrutmen RSUD NTB 2026 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Merriweather:ital,wght@0,400;0,700;1,300&display=swap');

:root {
  --primary: #047857;
  --primary-dark: #065f46;
  --primary-light: #ecfdf5;
  --accent: #0284c7;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
  background-color: #f1f5f9;
  line-height: 1.65;
  scroll-behavior: smooth;
}

/* Formal Document Paper Styling */
.document-paper {
  background: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Table Styling */
.table-official {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.table-official th {
  background-color: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  vertical-align: middle;
}

.table-official td {
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  vertical-align: top;
  color: #334155;
}

.table-official tr:nth-child(even) {
  background-color: #fbfcfe;
}

.table-official tr:hover {
  background-color: #f1f5f9;
}

/* Document Section Headings */
.doc-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  border-bottom: 2px solid #0f766e;
  padding-bottom: 6px;
  margin-top: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Numbered and bulleted lists */
.doc-list {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.doc-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

ol[type="a"],
.list-alpha {
  list-style-type: lower-alpha;
}

.table-official ol {
  padding-left: 1.15rem;
  margin: 0;
}

.table-official ol li {
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

/* Quick Nav Active Bar */
.nav-link {
  color: #475569;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
}

.nav-link:hover {
  color: #0f766e;
  background-color: #f0fdfa;
}

/* Highlight badge */
.badge-quota {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 9999px;
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.85rem;
}

/* Custom Button Daftar Sekarang matching uploaded image */
.btn-daftar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 2.25rem;
  background-color: #f3be48;
  color: #3d2806;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.btn-daftar:hover {
  background-color: #eab034;
  color: #261802;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* Print Optimization */
@media print {
  body {
    background-color: #ffffff;
    color: #000000;
    font-size: 11pt;
  }
  .no-print {
    display: none !important;
  }
  .document-paper {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  .table-official th, .table-official td {
    border: 1px solid #666666 !important;
    padding: 6px 8px !important;
  }
}
