/* Replaces inline style attributes and <style> blocks so the CSP can drop 'unsafe-inline'.
   !important keeps the precedence inline styles had; u-hidden has none so jQuery show() still works. */

.u-bg-red { background-color: red !important; }
.u-chart-box { width: 100%; height: 400px !important; }
.u-flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px !important; }
.u-hidden { display: none; }
.u-icon-lg { font-size: 25px; cursor: pointer !important; }
.u-label-sm { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px !important; }
.u-li-compact { border: none; padding: 2px 0 !important; }
.u-list-indent { padding-left: 20px; margin-top: 6px !important; }
.u-m-0 { margin: 0 !important; }
.u-mb-24 { margin-bottom: 24px !important; }
.u-mt-12 { margin-top: 12px !important; }
.u-mt-16 { margin-top: 16px !important; }
.u-mt-20 { margin-top: 20px !important; }
.u-mt-24 { margin-top: 24px !important; }
.u-mt-7 { margin-top: 7px !important; }
.u-rotate-180 { transform: rotate(-180deg) !important; }
.u-text-muted-sm { font-size: 13px; color: var(--color-text-mute) !important; }
.u-text-red { color: red !important; }
.u-text-overdue { color: #d33 !important; }
.u-text-right { text-align: right !important; }
.u-w-100 { width: 100px !important; }
.u-w-full { width: 100% !important; }

.map-link { display: inline-block; padding: 10px 24px; border-radius: 50px; background: #0b6339; color: #fff; font-weight: 500; text-decoration: none; }
.map-link:hover { background: #0a6e3e; color: #fff; }

/* from wbs-register-pelapor.blade.php */
/* Style buttons */
.buttonload {
  background-color: #04AA6D; /* Green background */
  border: none; /* Remove borders */
  color: white; /* White text */
  padding: 12px 16px; /* Some padding */
  font-size: 16px /* Set a font size */
}

/* from layouts/wbs/admin/home.blade.php */
    .chart-slider { position: relative; }
    .chart-slider-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; }
    .chart-nav-btn { background: transparent; border: 1px solid var(--color-soft, #ddd); color: var(--color-text-mute, #777); border-radius: 50%; width: 32px; height: 32px; cursor: pointer; line-height: 1; padding: 0; box-shadow: none; }
    .chart-nav-btn:hover { background: rgba(0,0,0,0.04); box-shadow: none; }
    .chart-dots { display: inline-flex; gap: 8px; align-items: center; }
    .chart-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-soft, #ccc); cursor: pointer; transition: background .2s; }
    .chart-dot.active { background: var(--color-primary, #2d6a4f); }

/* from layouts/wbs/admin/ticketing/detail_ticket.blade.php */
        .detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
        .info-panel { background: #fff; padding: 20px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); }
        .info-panel h3 { margin-bottom: 16px; font-size: 1.1rem; color: var(--color-primary); border-bottom: 2px solid var(--color-soft); padding-bottom: 8px; }
        .info-panel ul { list-style: none; padding: 0; }
        .info-panel ul li { padding: 6px 0; border-bottom: 1px solid var(--color-soft); font-size: 0.9rem; }
        .info-panel ul li:last-child { border-bottom: none; }
        .info-panel ul li strong { display: inline-block; min-width: 180px; color: var(--color-text-mute); font-weight: 500; }
        .status-flow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
        .status-flow .step { padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; background: var(--color-soft); color: var(--color-text-mute); }
        .status-flow .step.done { background: var(--color-success); color: #fff; }
        .status-flow .step.active { background: var(--color-info); color: #fff; }
        .timeline-riwayat { padding-left: 24px; position: relative; }
        .timeline-riwayat::before { content: ''; position: absolute; left: 8px; top: 5px; bottom: 5px; width: 2px; background: var(--color-soft); }
        .timeline-riwayat .item { position: relative; margin-bottom: 18px; }
        .timeline-riwayat .item::before { content: ''; position: absolute; left: -24px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-primary); }
        .timeline-riwayat .item .date { font-size: 11px; color: var(--color-text-mute); }
        .timeline-riwayat .item .title { font-weight: 600; font-size: 13px; color: var(--color-primary); }
        .timeline-riwayat .item .desc { font-size: 12px; color: var(--color-text); }
        .ubah-status-box { background: #ffffff; border: 1px solid var(--color-soft, #eee); padding: 16px; border-radius: var(--border-radius); margin-top: 16px; }
        .status-actions { display: flex; flex-direction: column; gap: 8px; }
        .status-actions button { width: 100%; }
        .detail-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
        .detail-header h1 { margin: 0; }
        .btn-white { background: #ffffff; color: #333; border: 1px solid var(--color-soft, #ddd); box-shadow: none; }
        .btn-white:hover { background: #f7f7f7; box-shadow: none; }
        @media screen and (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } }

/* from layouts/wbs/admin/ticketing/v_ticketing.blade.php (prototype 04-admin-antrian-verifikasi) */
.ticket-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 20px; }
.ticket-filter > div:not(.ticket-filter__actions) { flex: 1 1 140px; min-width: 0; }
.ticket-filter label { display: block; position: static; font-size: 12px; font-weight: 600; opacity: 1; margin-bottom: 4px; }
.ticket-filter input, .ticket-filter select { width: 100%; margin: 0; padding: 6px 10px; font-size: 13px; border: 1px solid #ddd; border-radius: 4px; background: #fff; box-shadow: none; text-shadow: none; }
.ticket-filter input:focus, .ticket-filter select:focus { box-shadow: none; border-color: var(--color-primary); background: #fff; }
table.dataTable.ticket-table th, table.dataTable.ticket-table td { font-size: 13px; padding: 8px 10px; }
table.dataTable td.ticket-noreg, table.dataTable td.ticket-date { white-space: nowrap; }
.ticket-satker { font-size: 12px; color: var(--color-text-mute); }
.ticket-filter__actions { display: flex; gap: 8px; }
.ticket-filter__actions button { margin: 0; padding: 9px 18px; font-size: 13px; line-height: 1.4; border: 0; border-radius: 4px; font-weight: 600; box-shadow: none; text-shadow: none; }
.ticket-filter__submit { background: var(--color-primary); color: #fff; }
.ticket-filter__submit:hover { background: var(--color-primary-light); }
.ticket-filter__actions .ticket-filter__reset { padding: 9px 10px; }
.ticket-filter__reset { background: transparent; color: var(--color-text-mute); }
.sla-badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.sla-ok { background: #e8f5e9; color: var(--color-success); }
.sla-warn { background: #fff3e0; color: var(--color-warning); }
.sla-overdue { background: #ffebee; color: var(--color-danger); }
.sla-days-ok, .sla-days-warn, .sla-days-overdue { white-space: nowrap; }
.sla-days-ok { color: var(--color-success); }
.sla-days-warn { color: var(--color-warning); font-weight: 600; }
.sla-days-overdue { color: var(--color-danger); font-weight: 700; }
/* No row hover highlight on the ticket queue. */
table.dataTable.ticket-table tbody tr:hover, table.dataTable.ticket-table tbody tr:hover > * { background-color: transparent; box-shadow: none; }
