.ormawa-table-wrap{width:100%;overflow-x:auto;margin-top:18px;border:1px solid #e2eaf2;border-radius:12px}
.ormawa-data-table{width:100%;min-width:1050px;border-collapse:collapse;background:#fff;font-size:13px}
.ormawa-data-table th,.ormawa-data-table td{padding:12px 13px;text-align:left;vertical-align:top;border-bottom:1px solid #e8eef4}
.ormawa-data-table th{background:#f3f7fb;color:#244b6d;font-weight:700;white-space:nowrap}
.ormawa-data-table tbody tr:hover{background:#f8fbfe}
.ormawa-data-table tbody tr:last-child td{border-bottom:0}
.ormawa-status{display:inline-block;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:700;white-space:nowrap}
.ormawa-status-menunggu{background:#fff4d8;color:#946200}
.ormawa-status-paraf{background:#e8f1ff;color:#205da5}
.ormawa-status-disahkan{background:#e5f6ed;color:#187344}
.ormawa-empty{padding:28px 16px;text-align:center;color:#66809a}
.ormawa-empty strong{display:block;margin:8px 0;color:#244b6d}
@media(max-width:640px){.ormawa-table-wrap{margin-top:12px}.ormawa-data-table th,.ormawa-data-table td{padding:10px}}


/* Tiga kartu statistik Perizinan Ormawa */
.stat-grid-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.stat-grid-three .stat-card{min-width:0}
@media(max-width:900px){.stat-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.stat-grid-three{grid-template-columns:1fr}}


/* Filter daftar Perizinan Ormawa */
.ormawa-filter-form{
    display:grid;
    grid-template-columns:repeat(3,minmax(180px,1fr)) auto;
    gap:12px;
    align-items:end;
    margin:18px 0 14px;
    padding:14px;
    background:#f7f9fc;
    border:1px solid #e4ebf3;
    border-radius:12px;
}
.ormawa-filter-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.ormawa-filter-field label{font-size:12px;font-weight:700;color:#244b6d}
.ormawa-filter-field select{
    width:100%;min-height:39px;padding:8px 10px;
    border:1px solid #d7e1eb;border-radius:8px;
    background:#fff;color:#24415c;font:inherit;font-size:13px;
}
.ormawa-filter-field select:focus{
    outline:2px solid rgba(37,116,190,.18);
    border-color:#438bc7;
}
.ormawa-filter-actions{display:flex;gap:8px;align-items:center}
.ormawa-filter-button,.ormawa-reset-button{
    display:inline-flex;justify-content:center;align-items:center;
    min-height:39px;padding:8px 13px;border-radius:8px;
    font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;
    cursor:pointer;
}
.ormawa-filter-button{border:1px solid #1768a8;background:#1768a8;color:#fff}
.ormawa-filter-button:hover{background:#125889}
.ormawa-reset-button{border:1px solid #d7e1eb;background:#fff;color:#45627c}
.ormawa-reset-button:hover{background:#edf3f8}
.ormawa-status-draft{background:#eef1f5;color:#586779}
@media(max-width:1000px){
    .ormawa-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
    .ormawa-filter-form{grid-template-columns:1fr}
    .ormawa-filter-actions{width:100%}
    .ormawa-filter-button,.ormawa-reset-button{flex:1}
}


/* Input rentang tanggal pada filter Ormawa */
.ormawa-filter-field input[type="date"]{
    width:100%;min-height:39px;padding:8px 10px;
    border:1px solid #d7e1eb;border-radius:8px;
    background:#fff;color:#24415c;font:inherit;font-size:13px;
}
.ormawa-filter-field input[type="date"]:focus{
    outline:2px solid rgba(37,116,190,.18);border-color:#438bc7;
}

/* Pagination daftar Perizinan Ormawa */
.ormawa-pagination{
    display:flex;justify-content:space-between;align-items:center;
    flex-wrap:wrap;gap:12px;margin-top:16px;padding-top:14px;
    border-top:1px solid #e6edf4;
}
.ormawa-pagination-info{color:#718096;font-size:12px}
.ormawa-pagination-nav{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.ormawa-page-link{
    display:inline-flex;justify-content:center;align-items:center;
    min-width:34px;height:34px;padding:0 9px;border:1px solid #dce5ee;
    border-radius:8px;background:#fff;color:#315675;font-size:12px;
    font-weight:700;text-decoration:none;
}
.ormawa-page-link:hover{border-color:#7eadd3;background:#f1f7fc}
.ormawa-page-link.is-active{border-color:#1768a8;background:#1768a8;color:#fff}
.ormawa-page-link.is-disabled{opacity:.4;cursor:not-allowed}
@media(max-width:560px){
    .ormawa-pagination{align-items:flex-start;flex-direction:column}
    .ormawa-pagination-nav{width:100%}
}
