body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #f4f1ea;
	color: #2b241b;
}

.top-bar {
	background: #3b2a1a;
	color: #f4f1ea;
	padding: 12px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.top-bar .brand {
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.top-bar nav a {
	color: #f4f1ea;
	margin-left: 16px;
	text-decoration: none;
	font-size: 0.95rem;
}

.content {
	padding: 24px;
}

.footer {
	padding: 12px 24px;
	background: #e0d4c2;
	text-align: right;
	font-size: 0.85rem;
}

.cards {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}

.card {
	background: #fff;
	border-radius: 8px;
	padding: 16px 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	margin-bottom: 24px;
}

.list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.list li {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #e0d4c2;
}

.btn {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 4px;
	border: 1px solid #3b2a1a;
	background: transparent;
	color: #3b2a1a;
	text-decoration: none;
	font-size: 0.9rem;
	margin-right: 8px;
}

.btn.primary {
	background: #3b2a1a;
	color: #f4f1ea;
}

.btn.danger {
	background: #8b1e1e;
	color: #fff;
	border-color: #8b1e1e;
}

form label {
	display: block;
	margin-bottom: 12px;
	font-size: 0.9rem;
}

form input, form select {
	width: 100%;
	padding: 6px 8px;
	border-radius: 4px;
	border: 1px solid #c2b39a;
	margin-top: 4px;
	box-sizing: border-box;
}

form button {
	padding: 8px 16px;
	border-radius: 4px;
	border: none;
	background: #3b2a1a;
	color: #f4f1ea;
	cursor: pointer;
}

table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}

table th, table td {
	padding: 8px 10px;
	border-bottom: 1px solid #e0d4c2;
	font-size: 0.9rem;
}

.row-income td {
	color: #1f6f3b;
}

.row-expense td {
	color: #8b1e1e;
}

.auth-body {
	background: #3b2a1a;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

.auth-card {
	background: #f4f1ea;
	padding: 24px 28px;
	border-radius: 8px;
	width: 320px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.error {
	background: #8b1e1e;
	color: #fff;
	padding: 8px 10px;
	border-radius: 4px;
	margin-bottom: 12px;
	font-size: 0.85rem;
}

.success {
	background: #1f6f3b;
	color: #fff;
	padding: 8px 10px;
	border-radius: 4px;
	margin-bottom: 12px;
	font-size: 0.85rem;
}