﻿:root {
	--footer-height: 30px;
	--color-disabled: hsla(0, 4%, 50%, 0.85);
	--color-primary: hsl(8deg 76% 45%);
	--color-ice: hsl(210deg 10% 90%);
	--color-ice-light: hsl(210deg 10% 97%);
	--color-back: hsl(210deg 0% 100%);
	--color-front: hsl(210deg 5% 20%);
	--color-card: hsl(210deg 0% 100%);
	--color-overlay: hsla(210deg, 40%, 97%, 0.85);
	--color-secondary: hsl(210deg 100% 32%);
	--color-secondary-light: hsl(210deg 100% 96%);
	--color-error: hsl(8deg 93% 65%);
	--color-error-light: hsl(8deg 93% 97%);
	--color-focus: hsl(225deg 100% 60%);
	--menu-shadow: 0 5px 15px hsla(210deg, 20%, 75%, 0.35);
	--card-shadow: 0 5px 15px hsla(240deg, 15%, 65%, 0.25);
	--card-shadow-hover: 0 10px 30px hsla(240deg, 15%, 65%, 0.35);
	--focusring: 0 0 0 2px var(--color-focus), inset 0 0 0 1px var(--color-back);
	--easing: cubic-bezier(0.4, 0, 0.2, 1);
	--blur: 3px;
	background-color: var(--color-back);
	color: var(--color-front);
	font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	scroll-padding-top: 60px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--color-ice: hsl(210deg 10% 40%);
		--color-ice-light: hsl(210deg 10% 25%);
		--color-back: hsl(210deg 15% 20%);
		--color-front: hsl(210deg 0% 100%);
		--color-card: hsl(210deg 15% 10%);
		--color-overlay: hsla(210deg, 20%, 20%, 0.75);
		--color-secondary: hsl(210deg 100% 96%);
		--color-secondary-light: hsl(210deg 100% 32%);
		--color-focus: hsl(225deg 100% 70%);
		--color-disabled: hsla(0, 4%, 50%, 0.75);
		--menu-shadow: 0 5px 1px 1px hsla(210deg, 20%, 35%, 0.45);
		--card-shadow: 0 0px 1px 1px hsla(240deg, 15%, 65%, 0.45);
		--card-shadow-hover: 0 0px 1px 3px hsla(240deg, 15%, 65%, 0.55);
	}
}

* {
	box-sizing: border-box;
}

html {
	height: 100%;
	margin: 0;
	padding: 0;
}

body > svg {
	display: none;
}

body.with-footer {
	min-height: calc(100% - var(--footer-height) - 25px);
	margin: 0;
	padding: 0;
}

body.with-footer {
	display: flex;
	flex-direction: column;

	line-height: 1.5;
	width: calc(100%);
	height: calc(100% - var(--footer-height) - 25px);
}

div.master-header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

header.master-header {
	padding: 10px;
	display: flex;
	align-items: baseline;
}

header.master-header > span {
	color: var(--color-primary);
	font-size: 13px;
}

main {
	padding: 10px;
	min-height: calc(100vh - 120px);
}

footer.master-footer {
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-top: 1px solid black;
	position: fixed;
	width: 100%;
	left: 0;
	bottom: 0%;
}

footer.master-footer > div {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

	footer.master-footer > div > span {
		padding-right: 7px;
	}
div.version-4807 {
	font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	font-size: 11px;
	color: gray;
	height: 22px;
	padding-top: 2px;
	padding-right: 2px;
	vertical-align: middle;
}

p.astuce {
	font-size: 12px;
	margin: 0 0 0 0;
	opacity: 0.75;
}

ul {
	margin: 0 0 0 0;
	width: 100%;
	display: block;
	line-height: 1;
}

li {
	font-size: 12px;
	opacity: 0.75;
}

h1 {
	font-size: 40px;
	margin: 0 0 20px 0;
	width: 100%;
	display: block;
	text-align: center;
	line-height: 1;
}

h2 {
	font-size: 20px;
	margin: 0 0 20px 0;
	width: 100%;
	display: block;
	text-align: center;
	line-height: 1;
}

form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 auto;
}

.field {
	display: flex;
	flex-direction: column;
}

.field-row {
	flex-direction: row-reverse;
	gap: 10px;
	margin: 10px;
}

.field a {
	color: var(--color-primary);
	text-decoration: none;
}

.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--color-front);
	box-shadow: 0 0 0 1px var(--color-ice-light) inset;
	transition: background-color 5000s ease 0s;
}

.input {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: var(--color-ice-light);
	border-radius: 8px;
	border: 1px solid var(--color-ice);
	padding: 4px 0 6px 8px;
	gap: 2px;
}

.input:focus-within {
	box-shadow: var(--focusring);
}

.input input {
	appearance: none;
	background-color: transparent;
	border: none;
	outline: none;
	color: var(--color-front);
	font-size: inherit;
	padding: 0;
}

.input label {
	font-size: 13px;
	opacity: 0.75;
}

.input svg {
	fill: var(--color-front);
	position: absolute;
	right: 8px;
	top: calc(50% - 8px);
	outline: none;
	border-radius: 2px;
}

.input svg:focus {
	box-shadow: var(--focusring);
}

.text-danger {
	color: var(--color-error);
	font-size: 12px;
	padding-top: 2px;
}

button, a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--color-front);
	fill: var(--color-front);
	background-color: var(--color-ice);
	padding: 8px 24px;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	letter-spacing: 0.15px;
	outline: 0;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	line-height: 20px;
	min-height: 36px;
	min-width: 36px;
	margin-bottom: 0px;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	flex: 1;
}

a {
	display: inline-flex;
}

button::-moz-focus-inner, a::-moz-focus-inner {
	border: none;
}

button:focus, a:focus {
	box-shadow: var(--focusring);
}

button[disabled] {
	background-color: var(--color-ice);
	color: var(--color-front);
	fill: var(--color-front);
	opacity: 0.6;
	box-shadow: none;
	cursor: default;
}

button.primary, a.primary {
	background-color: var(--color-primary);
	color: var(--color-back);
	fill: var(--color-back);
	transition: box-shadow 240ms var(--easing);
}

p.info {
	font-size: 16px;
	text-align: center;
	line-height: 2em;
}
