/* Minimal overrides applied after frest-core*.css */
html:not([dir=rtl]) .menu-vertical .app-brand{padding:1.5rem 1.25rem 1.5rem 2rem!important}
[dir=rtl] .menu-vertical .app-brand{padding:1.5rem 2rem 1.5rem 1.25rem!important}

/* Bootstrap dark theme table fixes */
html.dark-style .table thead th,
[data-bs-theme="dark"] .table thead th {
	background-color: #212529; /* Bootstrap dark */
	color: #f8f9fa;
	border-color: #343a40;
}

html.dark-style .table tbody td,
[data-bs-theme="dark"] .table tbody td {
	color: #dee2e6;
	border-color: #343a40;
}

html.dark-style .table,
[data-bs-theme="dark"] .table {
	--bs-table-bg: transparent;
	--bs-table-color: #dee2e6;
}

/* Bootstrap dark theme subtle background utilities */
html.dark-style,
[data-bs-theme="dark"] {
	--bs-primary-bg-subtle: rgba(var(--bs-primary-rgb), 0.15);
	--bs-secondary-bg-subtle: rgba(var(--bs-secondary-rgb), 0.15);
	--bs-success-bg-subtle: rgba(var(--bs-success-rgb), 0.15);
	--bs-info-bg-subtle: rgba(var(--bs-info-rgb), 0.15);
	--bs-warning-bg-subtle: rgb(78, 72, 66);
	--bs-danger-bg-subtle: rgba(var(--bs-danger-rgb), 0.15);
	--bs-light-bg-subtle: rgba(255, 255, 255, 0.06);
	--bs-dark-bg-subtle: rgba(0, 0, 0, 0.35);
}

/* Ensure warning subtle visibly changes in dark mode even if vars are overridden */
html.dark-style .bg-warning-subtle,
[data-bs-theme="dark"] .bg-warning-subtle {
	background-color: rgb(78, 72, 66) !important;
}

/* Public footer accessibility: non-color distinction + larger tap targets */
.landing-footer a.footer-link {
	text-decoration: underline;
	text-underline-offset: 0.15em;
	text-decoration-thickness: 1px;
}

@media (max-width: 576px) {
	.landing-footer a.footer-link {
		display: inline-block;
		padding: 0.35rem 0;
	}
	.landing-footer .footer-bottom a.footer-link {
		padding: 0.5rem 0.25rem;
	}
}
