* { box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    background: #f6f7f9;
    color: #222;
    margin: 0;
}
.topbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e5ea;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar .brand { font-weight: 700; font-size: 18px; color: #b8860b; }
.topbar nav a {
    margin-left: 18px;
    text-decoration: none;
    color: #444;
    font-size: 14px;
}
.topbar nav a:hover { color: #b8860b; }
.container { max-width: 1000px; margin: 24px auto; padding: 0 20px; }
.card {
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
h1, h2 { color: #6b3f00; margin-top: 0; }
label { display: block; margin: 14px 0 6px; font-size: 14px; font-weight: 600; color: #444; }
input[type=text], input[type=number], input[type=date], input[type=password], select {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #d3d7de;
    border-radius: 6px;
    font-size: 14px;
}
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #eceef1; font-size: 14px; }
th { background: #faf6ee; color: #6b3f00; }
.amount-col { text-align: right; width: 130px; }
.btn {
    display: inline-block;
    background: #b8860b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { background: #a07200; }
.btn-secondary { background: #eceef1; color: #333; }
.btn-secondary:hover { background: #dfe2e6; }
.btn-small { padding: 5px 12px; font-size: 13px; }
.total-row td { font-weight: 700; background: #faf6ee; }
.alert { padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fdecea; color: #a12622; border: 1px solid #f5c6c3; }
.alert-success { background: #eaf7ec; color: #1e6b2e; border: 1px solid #c6e6cb; }
.search-bar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.search-bar input, .search-bar select { width: auto; flex: 1; min-width: 150px; }
.actions-row { display: flex; gap: 10px; margin-top: 18px; }
.muted { color: #888; font-size: 13px; }
