/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', Tahoma, sans-serif;
}

body{
    background:linear-gradient(to right, #e8f5e9, #f1f8f4);
}

/* CONTAINER */
.container{
    width:95%;
    max-width:1200px;
    margin:30px auto;
    background:#ffffff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

/* HEADER */
h2{
    margin-bottom:20px;
    padding-bottom:10px;
    border-bottom:3px solid #2e7d32;
    color:#1b5e20;
}

/* BUTTON & LINK */
a, button{
    background:#2e7d32;
    color:#fff;
    padding:8px 15px;
    text-decoration:none;
    border:none;
    border-radius:6px;
    font-size:14px;
    cursor:pointer;
    transition:0.3s;
}

a:hover, button:hover{
    background:#1b5e20;
}

/* FORM */
input, select{
    padding:8px;
    width:100%;
    border:1px solid #c8e6c9;
    border-radius:6px;
    margin-top:5px;
}

form{
    margin-bottom:15px;
}

/* TABLE */
table{
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
    border-radius:8px;
    overflow:hidden;
}

table th{
    background:#2e7d32;
    color:#fff;
    padding:10px;
    font-weight:500;
}

table td{
    padding:9px;
    border-bottom:1px solid #e0e0e0;
    text-align:center;
}

table tr:hover{
    background:#f1f8f4;
}

/* PAGINATION */
.pagination{
    margin-top:15px;
    text-align:center;
}

.pagination a{
    margin:0 5px;
    padding:6px 10px;
}

/* STATUS BADGE */
.status-bayar{
    background:#c8e6c9;
    color:#1b5e20;
    padding:4px 8px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
}

.status-belum{
    background:#ffcdd2;
    color:#b71c1c;
    padding:4px 8px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
}

/* CARD REKAP */
.card-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap:18px;
}

.card{
    background:linear-gradient(135deg, #ffffff, #e8f5e9);
    border-left:6px solid #2e7d32;
    border-radius:10px;
    padding:18px;
    box-shadow:0 4px 10px rgba(0,0,0,0.05);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-4px);
}

.card h3{
    font-size:16px;
    margin-bottom:10px;
    color:#1b5e20;
}

.card p{
    font-size:14px;
    margin:4px 0;
}

/* LOGIN BOX */
.login-box{
    width:350px;
    margin:100px auto;
    background:#ffffff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.1);
}

.login-box h2{
    text-align:center;
    border:none;
    margin-bottom:20px;
}
