.badge-status{
padding:4px 8px;
border-radius:5px;
font-size:12px;
color:white;
}

.status-ok{
background:#28a745;
}

.status-no{
background:#dc3545;
}

.quick-filter{
margin-bottom:15px;
}

.quick-filter a{
padding:6px 12px;
background:#eee;
border-radius:6px;
margin-right:5px;
text-decoration:none;
font-size:13px;
}

.quick-filter a.active{
background:#007bff;
color:white;
}
</style>
/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

/* BODY */
body{
background:#f4f6f9;
color:#333;
}

/* NAVBAR */
.navbar{
background:#2c3e50;
padding:15px 25px;
color:white;
display:flex;
gap:20px;
align-items:center;
}

.navbar a{
color:white;
text-decoration:none;
}

.navbar a:hover{
text-decoration:underline;
}

/* CONTAINER */
.container{
width:95%;
max-width:1200px;
margin:25px auto;
}

/* CARD */
.card{
background:white;
padding:20px;
border-radius:6px;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
margin-bottom:20px;
}

/* TITLE */
h2{
margin-bottom:15px;
}

h3{
margin-bottom:15px;
}

/* FORM */
form{
margin-top:10px;
}

form label{
display:block;
margin-top:10px;
margin-bottom:5px;
font-weight:bold;
}

form input,
form select{
width:100%;
padding:8px;
border:1px solid #ccc;
border-radius:4px;
}

/* BUTTON */
button{
padding:8px 14px;
border:none;
border-radius:4px;
cursor:pointer;
}

.btn-add{
background:#27ae60;
color:white;
margin-top:15px;
}

.btn-edit{
background:#f39c12;
color:white;
}

.btn-save{
background:#3498db;
color:white;
}

/* TABLE */
table{
font-size:12px;
}

table th{
font-size:12px;
padding:6px;
}

table td{
font-size:12px;
padding:6px;
}
table{
width:100%;
table-layout:fixed;
font-size:11px;
}

th, td{
padding:4px;
word-wrap:break-word;
}

/* STATUS */
.status-selesai{
background:#2ecc71;
color:white;
padding:4px 8px;
border-radius:4px;
font-size:12px;
}

.status-belum{
background:#e74c3c;
color:white;
padding:4px 8px;
border-radius:4px;
font-size:12px;
}

/* FILTER */
form input[name="cari"]{
width:220px;
display:inline-block;
}

form select[name="unit"]{
width:150px;
display:inline-block;
margin-left:10px;
}

form button{
margin-left:10px;
}
.status-field{
width:100px;
}
/* FILTER BAR */

.filter-bar{
display:flex;
align-items:center;
gap:10px;
margin:15px 0;
flex-wrap:wrap;
}

.filter-bar input{
width:220px;
padding:8px;
}

.filter-bar select{
width:150px;
padding:8px;
}

.btn-filter{
padding:8px 16px;
background:#2c3e50;
color:white;
border:none;
border-radius:4px;
cursor:pointer;
}

.btn-export{
padding:8px 16px;
background:#27ae60;
color:white;
text-decoration:none;
border-radius:4px;
}
.pagination{
margin-top:20px;
text-align:center;
}

.pagination a{
padding:8px 12px;
background:#ecf0f1;
margin-right:5px;
text-decoration:none;
border-radius:4px;
}

.pagination a.active{
background:#3498db;
color:white;
}
.data-info{
margin:10px 0;
text-align:left;
font-size:14px;
color:#555;
}
.stats{
display:flex;
gap:15px;
margin:20px 0;
}

.stat-card{
flex:1;
padding:20px;
color:white;
border-radius:6px;
text-align:center;
}

.stat-card h3{
font-size:26px;
margin:0;
}

.total{background:#34495e;}
.selesai{background:#27ae60;}
.proses{background:#f39c12;}
.belum{background:#e74c3c;}

/* LOGIN PAGE */


.login-page{
background:#f4f6f9;
height:100vh;
display:flex;
align-items:center;
justify-content:center;
font-family:Arial;
}

.login-box{
background:#fff;
padding:30px;
border-radius:8px;
width:320px;
box-shadow:0 3px 12px rgba(0,0,0,0.08);
}

.login-box h2{
text-align:center;
margin-bottom:20px;
font-weight:600;
color:#333;
}

.login-box label{
font-size:13px;
margin-bottom:4px;
display:block;
}

.login-box input{
width:100%;
padding:8px;
margin-bottom:12px;
border:1px solid #ddd;
border-radius:4px;
font-size:13px;
}

.login-box button{
width:100%;
padding:9px;
border:none;
background:#2f80ed;
color:white;
font-size:14px;
border-radius:4px;
cursor:pointer;
}

.login-box button:hover{
background:#1c6ed5;
}

.error{
background:#ffeaea;
color:#c00;
padding:8px;
font-size:13px;
border-radius:4px;
margin-top:10px;
text-align:center;
}

.app-title{
text-align:center;
font-size:12px;
color:#888;
margin-bottom:8px;
}

.error{
color:red;
margin-top:10px;
}
.form-group textarea{
width:100%;
padding:10px;
border:1px solid #ccc;
border-radius:4px;
resize:vertical;
min-height:80px;
}
.btn-group{
display:flex;
gap:10px;
}

.btn-add{
padding:10px 16px;
background:#3498db;
color:white;
border:none;
border-radius:4px;
text-decoration:none;
cursor:pointer;
}

.btn-add:hover{
background:#2980b9;
}
.btn-doc{
padding:6px 10px;
background:#8e44ad;
color:white;
text-decoration:none;
border-radius:4px;
font-size:13px;
}

.btn-doc:hover{
background:#732d91;
}

.pdf-modal{
display:none;
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
}

.pdf-content{
background:white;
width:80%;
margin:40px auto;
padding:20px;
border-radius:6px;
}

.close-modal{
float:right;
font-size:22px;
cursor:pointer;
}

.btn-download{
background:#27ae60;
color:white;
padding:6px 10px;
border-radius:4px;
text-decoration:none;
}

.btn-doc{
background:#8e44ad;
color:white;
padding:6px 10px;
border:none;
border-radius:4px;
cursor:pointer;
}
.btn-delete{
background:#e74c3c;
color:white;
padding:6px 10px;
border-radius:4px;
text-decoration:none;
font-size:13px;
}

.btn-delete:hover{
background:#c0392b;
}
.aksi-btn{
display:flex;
gap:3px;
align-items:center;
}

.btn-save{
display:none;
}
td{
vertical-align:middle;
}
/* DASHBOARD TITLE */

.dashboard-title{
margin-bottom:20px;
}

/* STAT BOX */

.stats{
display:flex;
gap:15px;
margin-bottom:20px;
flex-wrap:wrap;
}

.stat-box{
flex:1;
min-width:150px;
padding:15px;
border-radius:6px;
color:white;
text-align:center;
}

.stat-number{
font-size:26px;
font-weight:bold;
}

.stat-label{
font-size:14px;
margin-top:5px;
}

.stat-box.total{background:#34495e;}
.stat-box.selesai{background:#27ae60;}
.stat-box.proses{background:#f39c12;}
.stat-box.belum{background:#e74c3c;}

/* FILTER BAR */

.filter-bar{
display:flex;
gap:10px;
margin-bottom:15px;
flex-wrap:wrap;
}

.filter-bar input,
.filter-bar select{
padding:6px 8px;
border:1px solid #ccc;
border-radius:4px;
}

/* TABLE */

table{
width:100%;
border-collapse:collapse;
font-size:14px;
}

th{
background:#2c3e50;
color:white;
padding:8px;
}

td{
padding:6px;
border-bottom:1px solid #ddd;
vertical-align:middle;
}

/* BADGE STATUS */

.status-field{
padding:3px 6px;
font-size:13px;
}

/* BUTTON */

.btn{
padding:6px 10px;
border-radius:4px;
text-decoration:none;
font-size:13px;
}

.btn-add{
background:#2980b9;
color:white;
display:inline-block;
margin-bottom:15px;
}

.btn-filter{
background:#34495e;
color:white;
border:none;
}

.btn-export{
background:#27ae60;
color:white;
padding:6px 10px;
border-radius:4px;
text-decoration:none;
}

.btn-doc{
background:#8e44ad;
color:white;
padding:5px 8px;
border-radius:4px;
text-decoration:none;
}

.btn-edit{
background:#3498db;
color:white;
border:none;
padding:5px 8px;
border-radius:4px;
cursor:pointer;
}

.btn-save{
background:#27ae60;
color:white;
border:none;
padding:5px 8px;
border-radius:4px;
display:none;
}

.btn-delete{
background:#e74c3c;
color:white;
padding:5px 8px;
border-radius:4px;
text-decoration:none;
}

/* AKSI BUTTON */

.aksi-btn{
display:flex;
gap:6px;
}

/* PAGINATION */

.pagination{
margin-top:15px;
text-align:center;
}

.pagination a{
padding:6px 10px;
border:1px solid #ccc;
margin:2px;
text-decoration:none;
color:#333;
}

.pagination a.active{
background:#34495e;
color:white;
}
.footer{
margin-top:40px;
padding:15px;
text-align:center;
font-size:13px;
color:#777;
border-top:1px solid #ddd;
}
/* NAVBAR */

.navbar{
position:sticky;
top:0;
z-index:1000;

display:flex;
justify-content:space-between;
align-items:center;

background:#2c3e50;
color:white;

padding:10px 20px;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
}

/* kiri */

.nav-left{
display:flex;
flex-direction:column;
}

.nav-left b{
font-size:18px;
}

.nav-sub{
font-size:12px;
color:#bdc3c7;
}

/* kanan */

.nav-right a{
color:white;
text-decoration:none;
margin-left:15px;
font-size:14px;
}

.nav-right a:hover{
text-decoration:underline;
}
.container{
max-width:1300px;
margin:auto;
}
.user-login{
margin-left:15px;
color:#ecf0f1;
font-weight:400;
}
.badge-success{
background:#28a745;
color:white;
padding:5px 10px;
border-radius:5px;
font-size:12px;
}

.badge-danger{
background:#dc3545;
color:white;
padding:5px 10px;
border-radius:5px;
font-size:12px;
}
table{
width:100%;
border-collapse:collapse;
font-size:13px;
}

table th{
padding:8px 10px;
background:#f5f6fa;
text-align:left;
border-bottom:2px solid #ddd;
}
table thead th{
box-shadow:0 2px 3px rgba(0,0,0,0.05);
}
table td{
padding:7px 10px;
border-bottom:1px solid #eee;
}

table tr:hover{
background:#f9fafc;
}
table th{
position:sticky;
top:0;
background:#eef2f7;
color:#333;
font-weight:600;
padding:8px 10px;
border-bottom:2px solid #dcdde1;
z-index:5;
}
.badge-status{
padding:3px 8px;
border-radius:12px;
font-size:12px;
font-weight:500;
border:none;
}

.status-ok{
background:#eaf7ee;
color:#2e7d32;
}

.status-no{
background:#fdeaea;
color:#c62828;
}
.pagination{
margin-top:15px;
}

.pagination a{
padding:6px 10px;
margin-right:4px;
background:#f1f2f6;
border-radius:5px;
text-decoration:none;
font-size:13px;
}

.pagination a:hover{
background:#dfe4ea;
}

.pagination a.active{
background:#2f80ed;
color:white;
}
.filter-bar{
display:flex;
gap:8px;
margin-bottom:15px;
flex-wrap:wrap;
}

.filter-bar input,
.filter-bar select{
padding:6px 8px;
font-size:13px;
border:1px solid #ddd;
border-radius:4px;
}

.btn-filter{
padding:6px 10px;
background:#2f80ed;
color:white;
border:none;
border-radius:4px;
cursor:pointer;
}
.stats{
display:flex;
gap:15px;
margin-bottom:20px;
}

.stat-box{
flex:1;
padding:15px;
border-radius:8px;
background:#f7f9fc;
}

.stat-number{
font-size:22px;
font-weight:700;
}

.stat-label{
font-size:13px;
color:#666;
}
.form-grid{
display:flex;
flex-direction:column;
gap:12px;
}

.form-group{
display:flex;
flex-direction:column;
}

.form-group label{
font-size:13px;
margin-bottom:4px;
font-weight:500;
}

.form-group input,
.form-group select,
.form-group textarea{
padding:7px 8px;
border:1px solid #ddd;
border-radius:4px;
font-size:13px;
width:100%;
box-sizing:border-box;
}
.btn-group{
display:flex;
gap:10px;
margin-top:10px;
}

.btn-group .btn{
flex:1;
text-align:center;
}
.table-usulan textarea{
width:100%;
padding:6px;
font-size:13px;
border:1px solid #ddd;
border-radius:4px;
resize:vertical;
}
.row-ok{
background:#e6ffe6;
}

.row-no{
background:#ffe6e6;
}
.stat-box{
padding:15px;
border-radius:6px;
text-align:center;
width:180px;
display:inline-block;
margin-right:10px;
}

.stat-number{
font-size:22px;
font-weight:bold;
}

.total{
background:#eaf3ff;
}

.selesai{
background:#e6ffe6;
}

.belum{
background:#ffe6e6;
}
.progress-box{
margin-top:15px;
margin-bottom:20px;
}

.progress-title{
font-size:14px;
margin-bottom:5px;
font-weight:bold;
}

.progress-bar{
width:100%;
height:14px;
background:#eee;
border-radius:10px;
overflow:hidden;
}

.progress-fill{
height:100%;
background:#2f80ed;
transition:0.3s;
}
.btn-export{
background:#2f80ed;
color:white;
padding:8px 12px;
border-radius:4px;
text-decoration:none;
margin-left:5px;
}
.cek-status{
margin-top:15px;
text-align:center;
}

.cek-status a{
display:inline-block;
background:#27ae60;
color:white;
padding:8px 12px;
border-radius:4px;
text-decoration:none;
font-size:14px;
}
.logo-login{
text-align:center;
margin-bottom:10px;
}

.logo-login img{
width:100px;
height:auto;
opacity:0.9;
}
.suggest-box{
position:relative;
}

#suggest{
position:relative;
}

.suggest-list{
position:absolute;
background:white;
border:1px solid #ddd;
width:100%;
max-height:200px;
overflow:auto;
z-index:1000;
}

.suggest-item{
padding:6px 10px;
cursor:pointer;
font-size:13px;
}

.suggest-item:hover{
background:#f2f2f2;
}
.error-msg{
color:#e74c3c;
font-size:12px;
margin-top:3px;
display:block;
}
.required::after{
content:" *";
color:#e74c3c;
font-weight:bold;
}
.table-responsive{
overflow-x:auto;
width:100%;
}
/* TABEL VERIFIKASI */

.tabel-verifikasi{
width:100%;
font-size:11px;
border-collapse:collapse;
}

.tabel-verifikasi th,
.tabel-verifikasi td{
padding:6px;
border:none;
}

.tabel-verifikasi tbody tr{
border-bottom:1px solid #eee;
}

.tabel-verifikasi tbody tr:hover{
background:#f5f5f5;
}
/* kolom aksi */

.tabel-verifikasi td:last-child{
white-space:nowrap;
}

.aksi-btn{
display:flex;
gap:5px;
align-items:center;
}
.btn-edit{
white-space:nowrap;
}
.required::after{
content:" *";
color:red;
font-weight:bold;
}
input:disabled,
select:disabled,
textarea:disabled{

background:#f3f3f3;
color:#777;
cursor:not-allowed;
}
.row-pengusulan input:disabled,
.row-pengusulan select:disabled,
.row-pengusulan textarea:disabled{

background:#f7f7f7;

}
