body {
	background-color: #f6f7fb;
	color: #262626;
}

.ds-container {
	width: min(100% - 2rem, 1100px);
	margin-inline: auto;
}

.app-main {
	padding: 1.5rem 0 2rem;
}

.ds-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
	padding: 1.25rem;
}

.ds-section + .ds-section {
	margin-top: 1.25rem;
}

.ds-title {
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: .5rem;
}

.ds-subtitle {
	font-size: 1rem;
	color: #4b5563;
	margin-bottom: 1rem;
}

.ds-form-group {
	margin-bottom: 1rem;
}

.ds-label {
	display: inline-block;
	margin-bottom: .35rem;
	font-weight: 600;
}

.ds-input,
.ds-select,
.ds-textarea,
.ds-form-group .form-control,
.ds-form-group .form-select {
	border-radius: .55rem;
	border: 1px solid #cfd6df;
}

.ds-btn {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .68rem 1rem;
	border-radius: .65rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
}

.ds-btn-primary {
	background: var(--brand-primary);
	color: #fff;
}

.ds-btn-primary:hover {
	color: #fff;
	opacity: .92;
}

.ds-btn-secondary {
	background: #fff;
	color: var(--brand-primary);
	border-color: var(--brand-primary);
}

.ds-alert {
	border-radius: .55rem;
}

.app-header {
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
}

.app-header-accent {
	height: 6px;
	background: var(--brand-primary);
}

.app-header-content {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.app-brand-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--brand-secondary);
	border-radius: .7rem;
	padding: .45rem .7rem;
	min-height: 72px;
}

.app-brand-logo img {
	max-width: 180px;
	height: auto;
}

.app-page-title {
	font-size: 1.35rem;
	margin: 0;
}

.app-page-subtitle {
	margin: .25rem 0 0;
	color: #4b5563;
}

.app-nav {
	margin-top: .8rem;
}

.app-nav-list {
	display: flex;
	gap: .75rem;
	padding: 0;
	margin: 0;
	list-style: none;
	flex-wrap: wrap;
}

.app-nav-link {
	display: inline-block;
	padding: .38rem .72rem;
	border-radius: .5rem;
	text-decoration: none;
	color: #1f2937;
	background: #f3f4f6;
}

.app-nav-link:hover {
	background: #e5e7eb;
}

.app-footer {
	border-top: 1px solid #e5e7eb;
	background: #fff;
}

.app-back-top {
	position: fixed;
	right: 1.1rem;
	bottom: 1rem;
	z-index: 1000;
}

.app-back-top a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: var(--brand-primary);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 16px rgba(0, 0, 0, .2);
}

@media (max-width: 768px) {
	.ds-container {
		width: min(100% - 1rem, 1100px);
	}

	.ds-card {
		padding: 1rem;
	}

	.app-page-title {
		font-size: 1.15rem;
	}
}
