*{
    box-sizing:border-box;
    margin:0;
    padding:0;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:#f5f6f8;
    color:#1f2937;
    padding:30px 20px;
}

.container{
    max-width:1150px;
    margin:auto;
}

.header{
    margin-bottom:22px;
}

.header h1{
    font-size:28px;
    margin-bottom:7px;
}

.header p{
    color:#6b7280;
    font-size:14px;
}

/* MENU */
.menu-tabs{
    display:flex;
    gap:8px;
    padding:7px;
    margin-bottom:25px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
}

.menu-tab{
    flex:1;
    border:none;
    border-radius:9px;
    padding:13px 18px;
    background:transparent;
    color:#667085;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:.2s;
}

.menu-tab:hover{
    background:#f2f4f7;
    color:#1f2937;
}

.menu-tab.active{
    background:#202838;
    color:#fff;
}

.menu-content{
    display:none;
}

.menu-content.active{
    display:block;
}

.section-title{
    margin-bottom:15px;
}

.section-title h2{
    font-size:21px;
    margin-bottom:5px;
}

.section-title p{
    color:#6b7280;
    font-size:14px;
    line-height:1.5;
}

/* INPUT */
.upload-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.upload-grid.two{
    grid-template-columns:1.35fr .65fr;
}

.upload-box{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:15px;
    padding:20px;
}

.upload-box label{
    display:block;
    font-size:17px;
    font-weight:700;
    margin-bottom:8px;
}

.upload-box small{
    display:block;
    color:#6b7280;
    font-size:13px;
    margin-bottom:12px;
    line-height:1.5;
}

input[type="file"]{
    width:100%;
    padding:10px;
    border:1px solid #d1d5db;
    border-radius:9px;
    background:#fff;
}

textarea{
    width:100%;
    min-height:280px;
    padding:13px;
    border:1px solid #d1d5db;
    border-radius:9px;
    resize:vertical;
    font-family:Consolas,monospace;
    font-size:13px;
    line-height:1.5;
    outline:none;
}

textarea:focus{
    border-color:#667085;
}

.action-button{
    width:100%;
    border:none;
    border-radius:11px;
    padding:15px;
    margin-top:17px;
    background:#202838;
    color:#fff;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
}

.action-button:hover{
    background:#111827;
}

.action-button:disabled{
    opacity:.6;
    cursor:not-allowed;
}

/* MESSAGE */
.message{
    display:none;
    margin-top:17px;
    padding:14px 16px;
    border-radius:10px;
    font-size:14px;
}

.message.success{
    display:block;
    background:#ecfdf3;
    border:1px solid #abefc6;
    color:#067647;
}

.message.error{
    display:block;
    background:#fff1f0;
    border:1px solid #fecdca;
    color:#b42318;
}

/* SUMMARY */
.summary{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin:25px 0;
}

.summary.four{
    grid-template-columns:repeat(4,1fr);
}

.summary-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:15px;
    padding:22px;
}

.summary-card span{
    display:block;
    color:#6b7280;
    font-size:13px;
    margin-bottom:10px;
}

.summary-card strong{
    font-size:24px;
}

.summary-card.green strong,
.summary-card.bersih strong{
    color:#067647;
}

.summary-card.red strong{
    color:#b42318;
}

.summary-card.blue strong{
    color:#175cd3;
}

/* RESULT */
.result-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:15px;
    overflow:hidden;
}

.result-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:19px 22px;
    border-bottom:1px solid #e5e7eb;
}

.result-header h2{
    font-size:20px;
}

.badge{
    background:#fff1f0;
    color:#b42318;
    padding:7px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
}

.badge.blue{
    background:#eff8ff;
    color:#175cd3;
}

.table-wrapper{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
    min-width:750px;
}

table.wide{
    min-width:1050px;
}

thead{
    background:#f9fafb;
}

th{
    padding:15px 18px;
    text-align:left;
    font-size:13px;
    color:#475467;
    white-space:nowrap;
}

td{
    padding:15px 18px;
    border-top:1px solid #e5e7eb;
    font-size:14px;
    vertical-align:middle;
}

.right{
    text-align:right;
}

.userid{
    font-weight:700;
}

.status,
.status-error{
    color:#b42318;
    font-weight:700;
}

.status-success{
    color:#067647;
    font-weight:700;
}

.ref{
    font-family:Consolas,monospace;
    max-width:320px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.mono{
    font-family:Consolas,monospace;
    font-size:12px;
}

.empty{
    text-align:center;
    padding:40px;
    color:#98a2b3;
}

.note{
    margin-top:12px;
    font-size:12px;
    color:#667085;
    line-height:1.5;
}

.cutoff-box{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
    margin-top:12px;
}

.cutoff-chip{
    padding:7px 10px;
    border-radius:999px;
    background:#f2f4f7;
    color:#344054;
    font-size:12px;
    font-weight:700;
}

@media(max-width:900px){

    .upload-grid,
    .upload-grid.two,
    .summary,
    .summary.four{
        grid-template-columns:1fr;
    }

    .menu-tabs{
        flex-direction:column;
    }

}
