/* Root styles */
:root {
	--bg: #0f172a;
	--panel: #111827;
	--muted: #94a3b8;
	--text: #e5e7eb;
	--accent: #6366f1;
	--danger: #ef4444;
	--success: #10b981;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	background: linear-gradient(180deg, #0b1020 0%, #0f172a 100%);
	color: var(--text);
}

.container {
	max-width: 960px;
	margin: 40px auto;
	padding: 24px;
	background: rgba(17, 24, 39, 0.75);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

h1 {
	margin-top: 0;
	font-size: 28px;
	letter-spacing: 0.3px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.field {
	display: flex;
	flex-direction: column;
}

label {
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="file"] {
	appearance: none;
	border: 1px solid rgba(148, 163, 184, 0.3);
	background: #0b1221;
	color: var(--text);
	padding: 10px 12px;
	border-radius: 10px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.error {
	color: var(--danger);
	font-size: 12px;
	margin-top: 6px;
}

.actions {
	display: flex;
	gap: 12px;
	margin-top: 16px;
}

button {
	border: none;
	padding: 10px 14px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
}

button.primary { background: var(--accent); color: white; }
button.secondary { background: #334155; color: white; }
button.danger { background: var(--danger); color: white; }

.table-wrapper { margin-top: 28px; }

table { width: 100%; border-collapse: collapse; }

thead { background: #0b1221; }

th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(148, 163, 184, 0.2); }

.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.preview {
	width: 80px;
	height: 80px;
	border-radius: 12px;
	object-fit: cover;
	border: 1px dashed rgba(148, 163, 184, 0.35);
}

.footer {
	margin-top: 18px;
	color: var(--muted);
	font-size: 12px;
}

@media (max-width: 640px) {
	.form-grid { grid-template-columns: 1fr; }
} 