@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	src: url("../StimartJSP/fonts/poppins/poppins-latin-400-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	src: url("../StimartJSP/fonts/poppins/poppins-latin-600-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	src: url("../StimartJSP/fonts/poppins/poppins-latin-700-normal.woff2") format("woff2");
}

:root {
	--dp-bg: #f6f5fd;
	--dp-violet: #5e5ed7;
	--dp-violet-dark: #4646b8;
	--dp-violet-soft: #f0eeff;
	--dp-aqua: #a9e2e4;
	--dp-sun: #ffeca7;
	--dp-pink: #e73469;
	--dp-card: #ffffff;
	--dp-ink: #34314f;
	--dp-ink-soft: #6f6c8c;
	--dp-shadow: 0 6px 20px rgba(94, 94, 215, .10);
	--dp-shadow-lg: 0 14px 40px rgba(94, 94, 215, .16);
	--dp-shadow-btn: 0 10px 24px rgba(94, 94, 215, .35);
	--dp-radius-card: 22px;
	--dp-radius-btn: 999px;
	--dp-radius-tile: 14px;
	--dp-font: "Poppins", system-ui, sans-serif;
}

html,
body {
	font-family: var(--dp-font) !important;
	color: var(--dp-ink);
}

body {
	background: var(--dp-bg) !important;
}

a {
	color: var(--dp-violet);
}

button {
	font-family: var(--dp-font);
}

.dp-card {
	background: var(--dp-card);
	border-radius: var(--dp-radius-card);
	box-shadow: var(--dp-shadow-lg);
}

/* Language selector, always within reach. home.jsp places it in its bar instead. */
.dp-lang {
	position: fixed;
	top: 8px;
	right: max(16px, env(safe-area-inset-right));
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	background: var(--dp-card);
	border-radius: var(--dp-radius-btn);
	box-shadow: var(--dp-shadow);
	color: var(--dp-ink);
}

.dp-lang:focus-within {
	outline: 3px solid var(--dp-violet);
}

.dp-lang img {
	display: block;
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
}

.dp-lang select {
	border: 0;
	outline: none;
	background: transparent;
	color: inherit;
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
}

/* Back link, across from the language selector */
.dp-back {
	position: fixed;
	top: 8px;
	left: max(16px, env(safe-area-inset-left));
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	background: var(--dp-card);
	border-radius: var(--dp-radius-btn);
	box-shadow: var(--dp-shadow);
	color: var(--dp-violet);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	text-decoration: none;
}

.dp-back:hover {
	background: var(--dp-violet-soft);
}

.dp-back:focus-visible {
	outline: 3px solid var(--dp-violet);
}

@media (pointer: coarse) {
	.dp-lang,
	.dp-back {
		padding: 8px 10px;
	}

	/* Below 16px, iOS Safari zooms into the page when a field gets the focus */
	.dp-lang select {
		font-size: 16px;
	}
}

/* ----- Phones and tablets, shared by every page. "html body" wins over the <style> block of
   each page, which comes after this file. ----- */

/* The mobile address bar makes 100vh taller than the visible page */
@supports (height: 100dvh) {
	html body {
		min-height: 100dvh;
	}
}

/* Below 16px, iOS Safari zooms into the page when a field gets the focus */
html body input:not([type=hidden]):not([type=radio]) {
	font-size: 16px;
}

html body {
	padding-left: max(16px, env(safe-area-inset-left));
	padding-right: max(16px, env(safe-area-inset-right));
}

@media (max-height: 600px) {
	html body {
		padding-top: 16px;
		padding-bottom: 16px;
	}
}

/* Keeps the language selector clear of the page content */
@media (max-width: 480px), (max-height: 600px) {
	html body {
		padding-top: 64px;
	}
}

@media (max-width: 480px) {
	html body .card {
		width: 100%;
		max-width: 100%;
		padding: 24px 20px;
	}
}
