
/* Base */
html, body {
	height: 100%;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #111827;
	background-color: #f3f4f6;
}

#blazor-error-ui {
	display:none;
}

/* TYPO */
h1, h2, h3 {
	color: #111827;
}

h1 {
	font-size: 1.6rem;
	margin-bottom: 1rem;
}

h2 {
	font-size: 1.3rem;
	margin-bottom: 0.9rem;
}

h3 {
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
}

p {
	margin-bottom: 0.75rem;
	line-height: 1.5;
}

/* pour éviter cadre de sélection au démarrage */
h1:focus,
h1:focus-visible {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}

.ingredient-row-wrapper,
.step-row-wrapper {
	cursor: grab;
}

	.ingredient-row-wrapper:active,
	.step-row-wrapper:active {
		cursor: grabbing;
	}

.ingredient-row-dragging,
.step-row-dragging {
	opacity: 0.7;
	border-radius: 0.5rem;
	box-shadow: 0 0 0 2px #bfdbfe;
}

.recipe-listitemview {
	cursor: pointer;
}


/* Responsive : nav compacte sur petit écran */
@media (max-width: 900px) {

	/* TYPO */
	h1 {
		font-size: 1.3rem;
		margin-bottom: 0.8rem;
	}

	h2 {
		font-size: 1rem;
		margin-bottom: 0.7rem;
	}

	h3 {
		font-size: 0.8rem;
		margin-bottom: 0.5rem;
	}

	p {
		margin-bottom: 0.5rem;
		line-height: 1;
	}
}


/*.app-main {
	min-height: calc(100vh - 56px);
}*/


/* App shell */
/*.app-root {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}*/

/* TOP BAR */
/*.app-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 1.5rem;
	background-color: #ffffff;
	border-bottom: 1px solid #e5e7eb;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	position: sticky;
	top: 0;
	z-index: 10;
}

.topbar-left {
	display: flex;
	align-items: center;
}

.app-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
	gap: 0.75rem;
}

.app-brand-logo {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: #2563eb;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.app-brand-text {
	display: flex;
	flex-direction: column;
}

.app-brand-title {
	font-size: 1.05rem;
	font-weight: 600;
}

.app-brand-subtitle {
	font-size: 0.78rem;
	color: #6b7280;
}

.topbar-center {
	display: flex;
	justify-content: center;
	flex: 1;
}

.topbar-right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9rem;
}

.topbar-user-text {
	color: #374151;
}

.topbar-link {
	text-decoration: none;
	color: #2563eb;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	border: 1px solid transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease;
	font-size: 0.85rem;
}

	.topbar-link:hover {
		background-color: #eff6ff;
		border-color: #bfdbfe;
	}*/

/* NAVIGATION HAUT */
/*.top-nav {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	font-size: 0.88rem;
}

.top-nav-group {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.top-nav-group-title {
	font-weight: 500;
	color: #111827;
	white-space: nowrap;
}

.top-nav-link {
	text-decoration: none;
	color: #111827;
	padding: 0.2rem 0.4rem;
	border-radius: 0.4rem;
}

	.top-nav-link.active {
		background-color: #eff6ff;
		color: #1d4ed8;
	}

.top-nav-group-items {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
}

.top-nav-sublink {
	text-decoration: none;
	color: #6b7280;
	padding: 0.1rem 0.35rem;
	border-radius: 999px;
	font-size: 0.78rem;
	border: 1px solid transparent;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

	.top-nav-sublink:hover {
		background-color: #f3f4f6;
		color: #374151;
		border-color: #e5e7eb;
	}

	.top-nav-sublink.active {
		background-color: #2563eb;
		color: #ffffff;
		border-color: #2563eb;
	}*/

/* CONTENU */
/*.app-main {
	flex: 1;
	padding: 1.25rem 1.5rem;
}

.app-main-inner {
	background-color: #ffffff;
	border-radius: 0.75rem;
	padding: 1.25rem 1.5rem;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	min-height: calc(100vh - 5.5rem);
}*/


/* Liens dans le contenu */
/*.app-main-inner a {
	color: #2563eb;
	text-decoration: none;
}

	.app-main-inner a:hover {
		text-decoration: underline;
	}*/

/* Responsive : nav compacte sur petit écran */
/*@media (max-width: 900px) {
	.app-topbar {
		flex-wrap: wrap;
		gap: 0.75rem;
		align-items: flex-start;
	}

	.topbar-center {
		order: 3;
		justify-content: flex-start;
		width: 100%;
	}

	.top-nav {
		flex-wrap: wrap;
		row-gap: 0.5rem;
	}

	.app-main-inner {
		min-height: auto;
	}
}*/
