* { box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    background: #f2f4f7;
    margin: 0;
    color: #1f2937;
}
.navbar {
    background: #0f3d2e;
    color: #fff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.navbar a { color: #fff; text-decoration: none; margin-left: 16px; font-weight: 500; }
.navbar a:hover { text-decoration: underline; }
.navbar .brand { font-size: 18px; font-weight: 700; }
.container {
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 16px;
}
.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}
h2, h3 { margin-top: 0; }
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
th, td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}
th { background: #f9fafb; font-weight: 600; }
.badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.badge-petrol { background: #fee2e2; color: #b91c1c; }
.badge-diesel { background: #fef3c7; color: #92400e; }
.badge-mobile_oil { background: #dbeafe; color: #1e40af; }
.badge-payment { background: #dcfce7; color: #166534; }
.badge-adjustment { background: #ede9fe; color: #5b21b6; }
form label { display: block; margin: 10px 0 4px; font-weight: 600; font-size: 14px; }
input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}
button, .btn {
    background: #0f3d2e;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 14px;
    display: inline-block;
    text-decoration: none;
}
button:hover, .btn:hover { background: #0b2e22; }
.btn-red { background: #b91c1c; }
.btn-red:hover { background: #991515; }
.btn-outline { background: #fff; color: #0f3d2e; border: 1px solid #0f3d2e; }
.total-box {
    display: inline-block;
    background: #0f3d2e;
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 700;
}
.error { background: #fee2e2; color: #b91c1c; padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; }
.success { background: #dcfce7; color: #166534; padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.link-center { text-align: center; margin-top: 14px; }
@media (max-width: 600px) {
    .grid-2 { grid-template-columns: 1fr; }
    table, thead, tbody, th, td, tr { display: block; }
    thead { display: none; }
    tr { margin-bottom: 12px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px; }
    td { border: none; padding: 6px 4px; }
    td::before { content: attr(data-label); font-weight: 600; display: inline-block; width: 110px; color: #6b7280; }
}
