/* --- Login Page --- */
@font-face {
	font-family: 'Motterdam';
	src: url(/fonts/Motterdam.ttf) format('truetype');
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: 'EBGaramond';
	src: url(/fonts/EBGaramond-Regular.ttf) format('truetype');
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: 'OpenSans';
	src: url(/fonts/OpenSans-Regular.woff2) format('woff2'), url(/fonts/OpenSans-Regular.woff) format('woff'), url(/fonts/OpenSans-Regular.ttf) format('truetype');
	font-weight: 400;
	font-display: swap;
}

*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'OpenSans', 'Helvetica Neue', Arial, sans-serif;
	color: #293a4f;
	background-color: #293a4f;
	background-image: url(/hero.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-font-smoothing: antialiased;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(41, 58, 79, 0.6) 0%,
		rgba(41, 58, 79, 0.4) 50%,
		rgba(41, 58, 79, 0.65) 100%
	);
	z-index: 1;
}

.container {
	position: relative;
	z-index: 2;
	width: 90%;
	max-width: 420px;
	padding: 20px;
}

.display {
	background: rgba(247, 242, 239, 0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 12px;
	padding: 44px 36px 36px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.display .banner-welcome {
	font-family: 'Motterdam', cursive;
	font-size: 2.8rem;
	color: #293a4f;
	margin: 0 0 20px;
	line-height: 1.1;
}

.display .banner-invitecode {
	font-family: 'EBGaramond', 'Georgia', serif;
	font-size: 1rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #7a7067;
	margin: 0 0 10px;
}

/* .display h4 {
	font-family: 'EBGaramond', 'Georgia', serif;
	font-weight: 400;
	font-size: 1.15rem;
	color: #293a4f;
	margin: 10px 0 20px;
} */

.flash {
	padding: 10px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 0.9rem;
}

.flash.error {
	background: rgba(158, 74, 74, 0.1);
	color: #9e4a4a;
	border: 1px solid rgba(158, 74, 74, 0.2);
}

.flash.success {
	background: rgba(90, 122, 94, 0.1);
	color: #5a7a5e;
	border: 1px solid rgba(90, 122, 94, 0.2);
}

form {
	margin-bottom: 20px;
}

.invitecode {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #c8bfb8;
	border-radius: 6px;
	font-family: 'OpenSans', sans-serif;
	font-size: 1rem;
	color: #293a4f;
	text-align: center;
	letter-spacing: 3px;
	background: rgba(255, 255, 255, 0.7);
	transition: border-color 0.2s;
	margin-bottom: 14px;
}

.invitecode:focus {
	outline: none;
	border-color: #293a4f;
	background: rgba(255, 255, 255, 0.9);
}

.invitecode::placeholder {
	letter-spacing: 1px;
	color: #c8bfb8;
}

.button {
	width: 100%;
	padding: 12px 24px;
	background-color: #293a4f;
	color: #f7f2ef;
	border: none;
	border-radius: 6px;
	font-family: 'EBGaramond', 'Georgia', serif;
	font-size: 1.1rem;
	cursor: pointer;
	transition: background-color 0.2s;
}

.button:hover {
	background-color: #3d5068;
}

.display p {
	font-size: 0.85rem;
	color: #7a7067;
	margin: 0;
	line-height: 1.5;
}

.display p a {
	color: #8b6f52;
}
