
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Segoe UI', Arial, sans-serif; background: #f0f4f8; color: #1a2332; min-height: 100vh; display: flex; flex-direction: column; }

  /* TOP NAV */
  .topnav {
    background: #fff;
    border-bottom: 1px solid #dde3ec;
    padding: 0 2rem;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .topnav-brand { font-size: 1.25rem; font-weight: 700; color: #1a4fa0; letter-spacing: 0.5px; }
  .topnav-divider { width: 1px; height: 24px; background: #dde3ec; }
  .topnav-title { font-size: 0.95rem; color: #5a6a7e; }
  .topnav-left { display: flex; align-items: center; gap: 1.5rem; }
  .topnav-right { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
  .user-greeting { font-size: 0.88rem; color: #2d3a52; font-weight: 500; }
  .user-greeting strong { color: #1a4fa0; }
  .btn-logout {
    background: #fff;
    border: 1.5px solid #d0d7e3;
    color: #c0392b;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-logout:hover {
    background: #fdeded;
    border-color: #f5c6c6;
  }
  .topnav-icon { width: 32px; height: 32px; border-radius: 50%; background: #e8edf5; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #5a6a7e; font-size: 1.1rem; }

  /* LAYOUT */
  .layout { display: flex; flex: 1; }

  /* SIDEBAR */
  .sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid #dde3ec;
    padding: 1.5rem 0;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    flex-shrink: 0;
  }
  .sidebar-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #8a9bb0;
    text-transform: uppercase;
    padding: 0 1.25rem;
    margin-bottom: 0.5rem;
  }
  .sidebar-nav { list-style: none; margin-bottom: 1.5rem; }
  .sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.25rem;
    font-size: 0.88rem;
    color: #3a4a5c;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.15s, color 0.15s;
  }
  .sidebar-nav li a:hover { background: #f0f4f8; color: #1a4fa0; }
  .sidebar-nav li a.active {
    background: #eaf1fb;
    color: #1a4fa0;
    border-left-color: #1a4fa0;
    font-weight: 600;
  }
  .sidebar-nav li a .nav-icon { font-size: 1rem; width: 18px; text-align: center; opacity: 0.75; }
  .sidebar-nav li a.active .nav-icon { opacity: 1; }
  .sidebar-footer {
    padding: 1rem 1.25rem 0;
    border-top: 1px solid #eee;
    margin-top: auto;
  }
  .sidebar-footer a { font-size: 0.82rem; color: #8a9bb0; text-decoration: none; display: block; padding: 4px 0; }
  .sidebar-footer a:hover { color: #1a4fa0; }

  /* MAIN CONTENT */
  .main { flex: 1; padding: 2.5rem 3rem; max-width: 900px; }

  /* PAGE */
  .page { display: none; }
  .page.active { display: block; }
  .page-title { font-size: 1.5rem; font-weight: 700; color: #1a4fa0; margin-bottom: 0.25rem; }
  .page-subtitle { font-size: 0.88rem; color: #5a6a7e; margin-bottom: 2rem; }

  /* SECTION */
  .section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
  }
  .section-number {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #1a4fa0;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .section-title { font-size: 1.05rem; font-weight: 600; color: #1a2332; }

  /* CARD */
  .card {
    background: #fff;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  /* FORM ELEMENTS */
  .form-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
  .form-group { display: flex; flex-direction: column; flex: 1; }
  .form-group.w50 { flex: 0 0 calc(50% - 0.5rem); }
  .form-group.w33 { flex: 0 0 calc(33.33% - 0.67rem); }
  label { font-size: 0.8rem; font-weight: 600; color: #3a4a5c; margin-bottom: 5px; }
  input[type="text"], input[type="date"], input[type="time"], input[type="number"], select {
    padding: 9px 12px;
    border: 1px solid #ccd5e0;
    border-radius: 7px;
    font-size: 0.88rem;
    color: #1a2332;
    background: #fff;
    width: 100%;
    transition: border-color 0.15s;
  }
  input:focus, select:focus { outline: none; border-color: #1a4fa0; box-shadow: 0 0 0 3px rgba(26,79,160,0.08); }
  input::placeholder { color: #b0bac5; }

  /* EVIDENCE TABLE */
  .evidence-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
  }
  .evidence-table thead th {
    background: #f4f7fb;
    border: 1px solid #dde3ec;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: #3a4a5c;
    font-size: 0.8rem;
  }
  .evidence-table tbody td {
    border: 1px solid #e8edf5;
    padding: 10px 12px;
    vertical-align: top;
  }
  .evidence-table tbody tr:nth-child(even) td { background: #fafbfd; }
  .row-num { color: #8a9bb0; font-weight: 600; text-align: center; }
  .sub-label { font-size: 0.72rem; color: #8a9bb0; margin-bottom: 3px; display: block; }
  .evidence-table td input, .evidence-table td select {
    padding: 6px 8px;
    font-size: 0.82rem;
    margin-bottom: 6px;
  }
  .total-harga { color: #1a4fa0; font-weight: 700; font-size: 0.9rem; }
  .btn-add {
    display: inline-flex; align-items: center; gap: 8px;
    background: #1a4fa0; color: #fff;
    border: none; border-radius: 7px;
    padding: 10px 20px; font-size: 0.88rem; font-weight: 600;
    cursor: pointer; margin-top: 1rem;
    transition: background 0.15s;
  }
  .btn-add:hover { background: #153e82; }
  .btn-remove {
    background: none; border: none; color: #e24b4a; cursor: pointer;
    font-size: 1rem; padding: 4px; border-radius: 4px;
  }
  .btn-remove:hover { background: #fcebeb; }

  /* SUMMARY CARDS */
  .summary-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
  .summary-card {
    flex: 1;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
  }
  .summary-card.status { background: #1a4fa0; border-color: #1a4fa0; }
  .summary-card .sc-icon {
    width: 38px; height: 38px; border-radius: 50%;
    background: #eaf1fb;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #1a4fa0;
  }
  .summary-card.status .sc-icon { background: rgba(255,255,255,0.2); color: #fff; }
  .summary-card .sc-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #8a9bb0; }
  .summary-card.status .sc-label { color: rgba(255,255,255,0.75); }
  .summary-card .sc-value { font-size: 0.95rem; font-weight: 700; color: #1a2332; margin-top: 2px; }
  .summary-card.status .sc-value { color: #fff; }

  /* ACTION BUTTONS */
  .action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
  }
  .btn { padding: 10px 22px; border-radius: 7px; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.15s; }
  .btn-outline { background: #fff; border: 1.5px solid #ccd5e0; color: #3a4a5c; }
  .btn-outline:hover { border-color: #1a4fa0; color: #1a4fa0; }
  .btn-secondary { background: #fff; border: 1.5px solid #1a4fa0; color: #1a4fa0; }
  .btn-secondary:hover { background: #eaf1fb; }
  .btn-primary { background: #1a4fa0; border: 1.5px solid #1a4fa0; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
  .btn-primary:hover { background: #153e82; }
  .btn-group { display: flex; gap: 10px; }


  /* penyidik */

  .penyidik-item{
    background:#fff;
    border:1px solid #dde3ec;
    border-radius:10px;
    padding:15px;
    margin-top:10px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.penyidik-info{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:8px 20px;
    flex:1;
}

.penyidik-info span{
    font-size:0.9rem;
}

.penyidik-info strong{
    color:#1a4fa0;
}

.btn-hapus-penyidik{
    background:#e24b4a;
    color:white;
    border:none;
    border-radius:6px;
    padding:8px 12px;
    cursor:pointer;
}

.btn-hapus-penyidik:hover{
    background:#c93737;
}
