body
{
	font-family: Arial, sans-serif;
	margin: 2rem;
	background: #f7f7f7;
	color: #222;
}

.app-title
{
	text-decoration: none;
	color: inherit;
}

header,
header h1
{
	font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
	font-size: 5rem;
	margin: 0 0 1rem 0;
}

.card
{
	max-width: 960px;
	background: #fff;
	padding: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.stack > * + *
{
	margin-top: 1rem;
}

.password-toggle
{
	display: flex;
	justify-content: flex-end;
}

.password-toggle label
{
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0;
	font-weight: normal;
}

.password-toggle input[type="checkbox"]
{
	width: auto;
	margin-top: 0;
	padding: 0;
	box-sizing: content-box;
}

.password-error
{
	border: 2px solid #c62828;
	background-color: #fff5f5;
}

.password-warning
{
	color: #c62828;
	font-size: 0.9rem;
	margin-top: 0.4rem;
}

.status-ok
{
	color: #0a7a2f;
	font-weight: bold;
}

.status-fail
{
	color: #a32020;
	font-weight: bold;
}

.flash
{
	padding: 0.75rem 1rem;
	border-radius: 6px;
	margin-bottom: 1rem;
}

.flash-error
{
	background: #fce8e8;
	color: #8f1f1f;
}

.flash-success
{
	background: #e7f6ea;
	color: #146c2e;
}

label
{
	display: block;
	margin-top: 1rem;
	font-weight: bold;
}

input
{
	width: 100%;
	padding: 0.7rem;
	margin-top: 0.35rem;
	box-sizing: border-box;
}

button
{
	margin-top: 1rem;
	padding: 0.75rem 1rem;
}

button.btn-table-inline
{
	margin: 0;
	padding: 0.25rem 0.5rem;
	font-size: 0.875rem;
	display: inline-block;
	text-decoration: none;
}

.checkbox-row
{
	margin-top: 1rem;
}

.checkbox-row label
{
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 0;
	font-weight: normal;
}

.checkbox-row input[type="checkbox"]
{
	width: auto;
	margin-top: 0;
	padding: 0;
}

nav.main-nav
{
	margin: 1rem 0 2rem 0;
	padding: 0.5rem 0;
	border-bottom: 1px solid #ddd;
}

nav.main-nav a
{
	margin-right: 1rem;
	text-decoration: none;
	color: #333;
	font-weight: 600;
}

nav.main-nav a:hover
{
	text-decoration: underline;
}

nav.footer-nav
{
	margin-top: 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

nav.footer-nav a
{
	text-decoration: none;
}

nav.footer-nav a:hover
{
	text-decoration: underline;
}

nav.footer-nav > * + *
{
	margin-left: 0.5rem;
	padding-left: 0.5rem;
	border-left: 1px solid #777;
}

footer
{
	font-size: 0.75rem;
	color: #555;
	margin-top: 0rem;
	padding-top: 0;
}

table
{
	width: 100%;
	border-collapse: collapse;
	margin-top: 1rem;
}

.table-actions
{
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.table-actions form
{
	margin: 0;
}

th,
td
{
	text-align: left;
	padding: 0.5rem;
	border-bottom: 1px solid #ddd;
}

td form
{
	margin: 0;
}

.dashboard-stats
{
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
	flex-wrap: wrap;
}

.dashboard-stat
{
	display: block;
	background: #fff;
	padding: 1rem 1.4rem;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	min-width: 160px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.08s ease, box-shadow 0.08s ease;
	cursor: pointer;
}

.dashboard-stat:hover
{
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.dashboard-stat-title
{
	font-size: 0.85rem;
	color: #666;
	margin-bottom: 0.25rem;
}

.dashboard-stat-value
{
	font-size: 1.8rem;
	font-weight: bold;
}

.assignment-box
{
	margin-top: 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fafafa;
}

.assignment-box h2
{
	margin-top: 0;
	margin-bottom: 0.4rem;
	font-size: 1.1rem;
}

.form-hint
{
	margin-top: 0;
	color: #666;
	font-size: 0.95rem;
}

.assignment-list
{
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-top: 1rem;
}

.assignment-item
{
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding: 0.5rem 0.65rem;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #eee;
	font-weight: normal;
}

.assignment-item input[type="checkbox"]
{
	width: auto;
	margin-top: 0.15rem;
	padding: 0;
}

.assignment-item small
{
	color: #666;
}

.monitor-documents-section
{
	margin-top: 2rem;
}

.document-upload-form
{
	margin-bottom: 2rem;
}

.monitor-document-list
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1rem;
}

.monitor-document-card
{
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 1rem 1.25rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.monitor-document-card h3
{
	margin-top: 0;
	margin-bottom: 0.75rem;
}

.monitor-document-card h4
{
	margin-top: 0;
	margin-bottom: 0.5rem;
}