body {
	font-family: system-ui, sans-serif;
	max-width: 32rem;
	margin: 0 auto;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	box-sizing: border-box;
}

body > .app-footer {
	margin-top: auto;
	padding-top: 2rem;
	font-size: 0.875rem;
	color: #6c757d;
}

p {
	margin-block-start: 0;
}

h1 {
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
}

form > div {
	margin-bottom: 1rem;
}

label {
	display: block;
	font-weight: 500;
	margin-bottom: 0.25rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="file"] {
	width: 100%;
	padding: 0.5rem;
	box-sizing: border-box;
}

button {
	padding: 0.5rem 1rem;
	background: #0d6efd;
	color: white;
	border: none;
	border-radius: 0.25rem;
	cursor: pointer;
}

button:hover {
	background: #0b5ed7;
}

button.btn-secondary {
	background: #6c757d;
}

button.btn-secondary:hover {
	background: #5c636a;
}

a.btn {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: #0d6efd;
	color: white;
	border-radius: 0.25rem;
	text-decoration: none;
}

a.btn:hover {
	background: #0b5ed7;
	color: white;
}

.message {
	margin-bottom: 1rem;
	padding: 0.75rem;
	border-radius: 0.25rem;
	background: #d1e7dd;
	color: #0f5132;
}

.message.error {
	background: #f8d7da;
	color: #842029;
}

.logout-section {
	margin-top: 2rem;
}

.logout-section form {
	display: inline;
}

/* Progress bar (HTMX example style) */
.progress {
	height: 20px;
	margin-bottom: 20px;
	overflow: hidden;
	background-color: #f5f5f5;
	border-radius: 4px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
	float: left;
	width: 0%;
	height: 100%;
	font-size: 12px;
	line-height: 20px;
	color: #fff;
	text-align: center;
	background-color: #337ab7;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
	transition: width 0.6s ease;
}
