﻿/* ── Serpentine font ──────────────────────────────────────── */
@font-face {
	font-family: 'Serpentine';
	src: url('../fonts/SerpentineBold.woff2') format('woff2'), url('../fonts/SerpentineBold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}


*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #f0f2f5;
	min-height: 100vh;
	color: #1e2a38;
}

/* ── Page layout ──────────────────────────────────────────── */
.page-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
}

/* ── Brand header ─────────────────────────────────────────── */
.brand-header {
	width: 100%;
	background-color: #ffffff;
	border-bottom: 3px solid #cc0000;
	padding: 16px 40px;
	display: flex;
	align-items: center;
	margin-bottom: 40px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.brand-header__logo {
	height: 56px;
	width: auto;
	display: block;
}

/* ── Card ─────────────────────────────────────────────────── */
.card {
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
	padding: 40px 48px;
	width: 100%;
	max-width: 520px;
	flex-grow: 1;
	align-self: center;
	margin-bottom: 40px;
}

.card__header {
	margin-bottom: 8px;
}

.card__title {
	font-family: 'Serpentine', Arial, sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	color: #cc0000;
	letter-spacing: 0.02em;
}

.card__product {
	font-size: 1rem;
	font-weight: 600;
	color: #1e2a38;
	margin-top: 2px;
}

.card__subtitle {
	font-size: 0.9rem;
	color: #6b7a8d;
	margin-top: 6px;
	margin-bottom: 28px;
}

/* ── Error banner ─────────────────────────────────────────── */
.alert {
	background-color: #fff0f0;
	border: 1px solid #f5c2c2;
	border-left: 4px solid #cc0000;
	border-radius: 6px;
	color: #a94442;
	padding: 10px 14px;
	margin-bottom: 20px;
	font-size: 0.875rem;
}

/* ── Import section ───────────────────────────────────────── */
.import-section {
	background-color: #f7f9fc;
	border: 1px dashed #b0bec5;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 28px;
}

.import-section__label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7a8d;
	margin-bottom: 8px;
}

.import-section__input {
	font-size: 0.875rem;
	color: #1e2a38;
	cursor: pointer;
	width: 100%;
}

.import-section__error {
	display: none;
	margin-top: 8px;
	font-size: 0.8rem;
	color: #cc0000;
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	color: #b0bec5;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

	.divider::before,
	.divider::after {
		content: '';
		flex: 1;
		height: 1px;
		background-color: #e0e6ed;
	}

/* ── Form fields ──────────────────────────────────────────── */
.form-group {
	margin-bottom: 18px;
}

	.form-group label {
		display: block;
		font-size: 0.85rem;
		font-weight: 600;
		color: #3a4a5c;
		margin-bottom: 6px;
	}

	.form-group input[type="text"],
	.form-group input[type="password"] {
		width: 100%;
		padding: 9px 12px;
		border: 1px solid #ccd6e0;
		border-radius: 6px;
		font-size: 0.9rem;
		color: #1e2a38;
		background-color: #ffffff;
		transition: border-color 0.2s, box-shadow 0.2s;
		outline: none;
	}

		.form-group input[type="text"]:focus,
		.form-group input[type="password"]:focus {
			border-color: #cc0000;
			box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.12);
		}

/* ── Submit button ────────────────────────────────────────── */
.btn-primary {
	display: block;
	width: 100%;
	padding: 11px;
	margin-top: 8px;
	background-color: #cc0000;
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s, box-shadow 0.2s;
	letter-spacing: 0.02em;
}

	.btn-primary:hover {
		background-color: #a80000;
		box-shadow: 0 4px 12px rgba(204, 0, 0, 0.30);
	}

	.btn-primary:active {
		background-color: #8c0000;
	}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
	width: 100%;
	border-top: 1px solid #e0e6ed;
	background-color: #ffffff;
	padding: 16px 40px;
	margin-top: auto;
}

.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
}

	.site-footer__nav a {
		font-size: 0.8rem;
		color: #6b7a8d;
		text-decoration: none;
		transition: color 0.2s;
	}

		.site-footer__nav a:hover {
			color: #cc0000;
			text-decoration: underline;
		}

/* ── Cookie banner ────────────────────────────────────────── */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #1e2a38;
	color: #e8ecf0;
	z-index: 1000;
	box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.18);
}

	.cookie-banner[hidden] {
		display: none;
	}

.cookie-banner__body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	max-width: 960px;
	margin: 0 auto;
	padding: 16px 24px;
}

.cookie-banner__text {
	font-size: 0.85rem;
	line-height: 1.5;
	flex: 1 1 300px;
	color: #c8d0db;
}

	.cookie-banner__text a {
		color: #e8ecf0;
		text-decoration: underline;
	}

		.cookie-banner__text a:hover {
			color: #ffffff;
		}

.cookie-banner__actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.cookie-banner__btn {
	padding: 8px 20px;
	font-size: 0.85rem;
	font-weight: 600;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.2s, box-shadow 0.2s;
}

.cookie-banner__btn--accept {
	background-color: #cc0000;
	color: #ffffff;
}

	.cookie-banner__btn--accept:hover {
		background-color: #a80000;
	}

.cookie-banner__btn--decline {
	background-color: transparent;
	color: #c8d0db;
	border: 1px solid #4a5a6e;
}

	.cookie-banner__btn--decline:hover {
		background-color: #2d3d50;
		color: #ffffff;
	}
