:root {
	--bg: #0f172a;
	--panel: #1e293b;
	--panel-light: #334155;
	--border: #475569;
	--text: #f8fafc;
	--accent: #3b82f6;
	--danger: #ef4444;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Inter, Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
}

.topbar {
	height: 70px;

	display: flex;
	align-items: center;
	justify-content: space-between;

	padding: 0 24px;

	background: var(--panel);

	border-bottom: 1px solid var(--border);
}

.topbar-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.container {
	padding: 24px;
}

.stats {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}

.stat-card {
	background: var(--panel);

	padding: 20px;

	border-radius: 12px;

	min-width: 160px;

	display: flex;
	flex-direction: column;
}

.stat-card span {
	font-size: 2rem;
	font-weight: bold;
}

.toolbar {
	display: flex;
	gap: 12px;

	margin-bottom: 20px;
}

input,
select {
	background: var(--panel);
	border: 1px solid var(--border);

	color: white;

	padding: 10px;
	border-radius: 8px;
}

table {
	width: 100%;
	border-collapse: collapse;

	background: var(--panel);

	border-radius: 12px;

	overflow: hidden;
}

thead {
	background: var(--panel-light);
}

th,
td {
	padding: 16px;
	text-align: left;
}

tr:not(:last-child) {
	border-bottom: 1px solid var(--border);
}

button {
	background: var(--accent);
	color: white;

	border: none;

	padding: 10px 16px;

	border-radius: 8px;

	cursor: pointer;
}

button:hover {
	opacity: 0.9;
}

.delete-btn {
	background: var(--danger);
}

.modal {
	position: fixed;
	inset: 0;

	background: rgba(0,0,0,.5);

	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content {
	width: 700px;

	background: var(--panel);

	padding: 24px;

	border-radius: 12px;
}

.hidden {
	display: none;
}

.target-row {
	display: flex;
	gap: 8px;

	margin-bottom: 8px;
}

.target-row input {
	flex: 1;
}

.card {
	max-width: 420px;
	margin: 80px auto;
	padding: 24px;
	background: var(--panel);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.card h1 {
	margin-top: 0;
}

.card input,
.card button {
	width: 100%;
	margin-top: 12px;
}

.card p {
	line-height: 1.5;
	color: #cbd5e1;
}