:root {
	--bg: #f6f7f9;
	--surface: #ffffff;
	--text: #1b1f24;
	--muted: #5f6b7a;
	--primary: #0d6e6e;
	--danger: #b3261e;
	--border: #d8dde6;
	--shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	color: var(--text);
	background: radial-gradient(circle at top right, #d9f1f1, transparent 40%), var(--bg);
}

.auth-page {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 1rem;
	background-image: url('../res/wave.svg'), linear-gradient(to right, #054772 35%, #2CD1AF 100%);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.auth-shell {
	width: 100%;
	max-width: min(625px, 85vw);
	padding: 30px;
	border-radius: 29px;
	background: rgba(255, 255, 255, 0.5);
}

.auth-wrapper {
	width: 100%;
	max-width: none;
	background: var(--surface);
	border-radius: 29px;
	padding-left: 42px;
	padding-right: 42px;
	padding-bottom: 50px;
	padding-top: 50px;
}

.auth-wrapper h1 {
	margin-top: 0;
	font-size: 30px;
	line-height: 36px;
	font-weight: bold;
	text-align: center;
	color: #054772;
	letter-spacing: 0px;
}

.auth-wrapper form button {
	display: block;
	margin: 0 auto;
}

.index-page {
	height: 100dvh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background-image: url('../res/wave.svg'), linear-gradient(to right, #054772 35%, #2CD1AF 100%);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}




.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: var(--shadow);
	padding: 1.25rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 1rem;
}

.form-group label {
	font-size: 20px;
	line-height: 23px;
	font-weight: bold;
	color: #000000;
}

.form-group input {
	border: 1px solid #2CD1AF;
	border-radius: 29px;
}

label {
	font-weight: 600;
}

input {
	padding: 0.65rem 0.7rem;
	border: 1px solid var(--border);
	border-radius: 10px;
	font-size: 1rem;
}

button,
.button-link {
	border: 0;
	background: #054772 0% 0% no-repeat padding-box;
	color: #fff;
	border-radius: 29px;
	cursor: pointer;
	font-weight: 600;
	text-decoration: none;
	padding-left: 72px;
	padding-right: 72px;
	padding-top: 18px;
	padding-bottom: 18px;
}

.logout-link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: white;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
}

.logout-icon {
	width: 2.5rem;
	height: 2.5rem;
	display: block;
	filter: brightness(0) invert(1);
}

.portal-title {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.portal-title h1 {
	margin: 0;
	font-size: 25px;
	font-weight: bold;
	color: white;
	line-height: 1;
	transform: translateY(-2px);
}

.info-icon {
	width: 26px;
	height: 26px;
	display: block;
}

.topbar {
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
}

.content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1rem;
}

.index-content {
	flex: 1;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 1rem 1.5rem 1.5rem;
	display: flex;
	min-height: 0;
	overflow: hidden;
}

.land-output-shell {
	width: 100%;
	flex: 1;
	min-height: 0;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 29px;
	padding: 1.25rem;
	display: flex;
}

.land-output-layout {
	display: flex;
	gap: 1rem;
	align-items: stretch;
	flex-wrap: nowrap;
	flex: 1;
	min-height: 0;
	width: 100%;
}

.land-output-graphic {
	flex: 1 1 420px;
	min-width: 300px;
	margin: 0;
}

.land-output-table-area {
	flex: 0 1 560px;
	width: min(560px, 100%);
	min-width: 0;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.land-output-table-area > .card.item-card {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.land-output-hint {
	margin: 0 0 0.75rem;
	font-weight: 600;
	color: #054772;
}

.land-output-empty {
	margin: 0;
}

.land-output-table-scroll {
	width: 100%;
	flex: 1;
	min-height: 200px;
	position: relative;
	overflow-y: auto;
	overflow-x: auto;
	border-radius: 14px;
}

.land-output-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--surface);
	border-radius: 14px;
	box-shadow: var(--shadow);
}

.land-output-table th,
.land-output-table td {
	text-align: left;
	padding: 0.75rem 0.9rem;
	border-bottom: 1px solid var(--border);
	vertical-align: middle;
}

.land-output-table th {
	background: #f3f7fb;
	color: #054772;
	font-size: 0.95rem;
	font-weight: 700;
	white-space: nowrap;
	position: sticky;
	top: 0;
	z-index: 2;
}

.land-output-table tr:last-child td {
	border-bottom: 0;
}

.land-output-table th:last-child,
.land-output-table td:last-child {
	text-align: center;
	white-space: nowrap;
}

.land-output-table .switch-field {
	margin-top: 0;
	justify-content: center;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1rem;
}

.item-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid var(--border);
}

.item-card img.user-graphic {
	height: auto;
	max-height: calc(100vh - 240px);
	object-fit: contain;
	display: block;
	background: #fff;
}

.alert {
	border: 1px solid #f2c4bf;
	background: #fdebea;
	color: var(--danger);
	border-radius: 10px;
	padding: 0.7rem;
	margin-bottom: 1rem;
}

.alert p {
	margin: 0.3rem 0;
}

.honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.switch-field {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
	margin-top: 0.25rem;
	cursor: pointer;
}

.switch-form {
	margin: 0;
}

.switch-input {
	appearance: none;
	-webkit-appearance: none;
	width: 2.75rem;
	height: 1.5rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #c8d0dd;
	position: relative;
	padding: 0;
	transition: background-color 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
	flex-shrink: 0;
}

.switch-input::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 1.125rem;
	height: 1.125rem;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease;
}

.switch-input:checked {
	background: var(--primary);
	border-color: var(--primary);
}

.switch-input:checked::before {
	transform: translateX(1.2rem);
}

.switch-input:focus-visible {
	outline: 2px solid color-mix(in srgb, var(--primary) 45%, white);
	outline-offset: 2px;
}

.switch-text {
	color: var(--muted);
	font-size: 0.95rem;
}

.logo {
	position: fixed;
	top: 45px;
	left: 67px;
	z-index: 1000;
	width: clamp(100px, 12vw, 250px);
	height: auto;
}

.strabag-logo {
	position: fixed;
	bottom: 50px;
	right: 67px;
	z-index: 1000;
	width: clamp(100px, 7vw, 250px);
	height: auto;
}

.index-logo {
	width: clamp(100px, 12vw, 150px);
	height: auto;
	margin-right: 5rem;
	margin-left: 2.5rem;
}

@media (max-width: 768px) {
	.logo {
		display: none;
	}

	.strabag-logo {
		display: none;
	}

	.index-logo {
		display: none;
	}

	.logout-link span {
		display: none;
	}
}

@media (max-width: 1100px) {
	.index-content {
		padding: 0.9rem;
	}

	.land-output-shell {
		padding: 0.9rem;
	}

	.land-output-layout {
		flex-direction: column;
		overflow: hidden;
	}

	.land-output-graphic,
	.land-output-table-area {
		flex: 1 1 100%;
		width: 100%;
	}

	.land-output-graphic {
		max-height: 46dvh;
		overflow: hidden;
		flex-shrink: 0;
	}

	.item-card img.user-graphic {
		max-height: 100%;
		width: 100%;
		object-fit: contain;
	}

	.land-output-table-scroll {
		max-height: 48dvh;
	}
}
