:root {
	--primary-color: #5A9C8D;
	--accent-color: #D4A373;
	--text-color: #333333;
	--bg-color: #FDFBF5;
	--font-family: 'Lato', sans-serif;
	--heading-font: 'Poppins', sans-serif;

	--success-bg: #e8f5e9;
	--success-border: #c8e6c9;
	--success-text: #2e7d32;

	--warning-bg: #fff8e1;
	--warning-border: #ffe8a1;
	--warning-text: #8a6d00;
}

body {
	margin: 0;
	font-family: var(--font-family);
	background-color: var(--bg-color);
	color: var(--text-color);
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	text-align: center;
	padding: 20px;
	box-sizing: border-box;
}

body.loaded {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: opacity 0.5s ease;
}

body.loaded #preloader {
	opacity: 0;
	pointer-events: none;
}

.container {
	width: 100%;
	max-width: 600px;
	padding: 20px;
	box-sizing: border-box;
}

.logo {
	max-width: 150px;
	margin: 0 auto 30px auto;
	display: block;
}

h1, h2 {
	font-family: var(--heading-font);
	font-weight: 600;
	margin-bottom: 15px;
}

p {
	margin-bottom: 30px;
	line-height: 1.5;
}

.form-group {
	text-align: left;
	margin: 20px auto;
	width: 100%;
	max-width: 65%;
	min-width: 50%;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}

.form-group input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-sizing: border-box;
}

.btn {
	width: 100%;
	max-width: 65%;
	min-width: 50%;
	padding: 15px;
	border: none;
	background-color: var(--primary-color);
	color: white;
	font-size: 1rem;
	font-weight: bold;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s;
	display: block;
	margin: 10px auto;
}

.btn:hover {
	background-color: #4a8a7b;
}

.btn-secondary {
	background-color: #aaa;
}

.btn-secondary:hover {
	background-color: #888;
}

.links {
	margin-top: 20px;
}

.links a {
	color: var(--primary-color);
	text-decoration: none;
	font-size: 0.9rem;
}

.success-box,
.warning-box {
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.success-box {
	background-color: var(--success-bg);
	color: var(--success-text);
	box-shadow: 0 0 0 2px var(--success-border);
}

.warning-box {
	background-color: var(--warning-bg);
	color: var(--warning-text);
	box-shadow: 0 0 0 2px var(--warning-border);
}

.success-icon,
.warning-icon {
	font-size: 2.5rem;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
	box-shadow: inset 0 0 0 2px currentColor;
	background-color: white;
	font-weight: bold;
}

.success-icon {
	color: var(--success-text);
}

.warning-icon {
	color: var(--warning-text);
}

.button-row {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 20px;
}
