* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

fieldset {
	min-width: 0;
	width: 100%;
	border: none;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	align-items: center;
	overflow-x: hidden;
	background-color: #f5f5f5;
	font-family: Arial, sans-serif;
}

.header {
	background: rgba(51, 122, 183, .1);
	width: 100%;
	height: 100px;
	position: relative;
	display: flex;
	margin: 0 auto;
	align-items: center;
	font-size: 24px;
	box-shadow: 0 5px 15px rgba(51, 122, 183, .1);
}

.header-logo {
	width: 120px;
	height: auto;
	display: block;
}

.header-title {
	margin: 0;
	font-size: 36px;
	font-weight: 600;
	color: #337ab7;
}

.header-inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 90%;
	margin: 0 auto;
	color: white;
	gap: 12px;
}

.footer {
	width: 100%;
	height: 100px;
	position: relative;
	justify-content: center;
	display: flex;
	align-items: center;
	font-size: 12px;
}

.main-content {
	flex: 1;
	width: 90%;
	display: flex;
	border: 1px solid #337ab7;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	background-color: white;
	border-top: 3px solid #337ab7;
	box-shadow: 15px 15px 15px rgba(51, 122, 183, 0.1);
	margin: 12px auto;
	padding: 16px;
	border-radius: 10px;
}

.main-content p {
	color: #444;
	margin: 12px 0;
	line-height: 1.8;
	font-size: 15px;
}

.main-content h4 {
	margin-top: 30px;
	text-align: center;
}

.small-screen {
	width: 100%;
	min-height: 52px;
	display: block;
	font-size: 1.05em;
}

.button-bar {
	display: flex;
	justify-content: left;
	gap: 30px;
	margin-bottom: 40px;
	flex-direction: column;
}

/* ── DESKTOPOVÝ LAYOUT (od 1072px) ── */
@media (min-width: 1072px) {
	.header-inner {
		width: 60%;
		margin-left: 25%;
		margin-right: 0;
	}

	.main-content {
		width: 60%;
		margin: 20px 0;
		padding: 20px;
		border-radius: 15px;
	}

	.main-content > form {
		display: flex;
		flex-direction: column;
		min-height: calc(70vh - 40px);
	}

	.main-content p {
		margin: 25px;
		font-size: 17px;
	}

	.main-content h4 {
		margin-top: 40px;
	}

	.small-screen {
		width: auto;
		min-width: 120px;
		min-height: 50px;
		display: inline-block;
		font-size: 1em;
	}

	.button-bar {
		flex-direction: row;
		margin-top: auto;
		margin-bottom: 0;
		padding-top: 20px;
		padding-left: 30px;
	}
}

.button-bar .btn,
.main-content .btn {
	transition: all 0.15s ease;
}

.button-bar .btn:hover,
.main-content .btn:hover {
	filter: brightness(1.25);
	box-shadow: 0 4px 14px rgba(51, 122, 183, 0.55);
	transform: translateY(-2px);
	transition: all 0.15s ease;
}

.radio.icheck-primary {
	transition: transform 0.12s ease;
	transform-origin: left center;
}

.radio.icheck-primary:hover {
	transform: scale(1.06);
}

.radio.icheck-primary:hover label {
	text-shadow: 0 0 0.6px currentColor;
}

.pictureItem {
	border-radius: 4px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pictureItem:hover {
	transform: scale(1.05);
	box-shadow: 0 0 0 3px #0086d9, 0 6px 16px rgba(0, 134, 217, 0.35);
	border-radius: 4px;
}

.pictureItemChecked {
	transform: scale(1.05);
	box-shadow: 0 0 0 3px #0086d9;
	border-radius: 4px;
}

.footer {
	position: relative;
}

.main-content > form {
	width: 100%;
}

.question-header h5 {
	background: rgba(51, 122, 183, .1);
	/* margin: -16px -16px 12px -16px; */
	padding: 10px 16px 16px;
	margin-bottom: 20px;
	border-radius: 9px 9px 9px 9px;
	text-align: left;
}

@media (min-width: 1072px) {
	.question-header h5 {
		/* margin: -20px -20px 16px -20px; */
		padding: 10px 16px 16px;
	}
}

.two-column-layout {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.content {
	display: flex;
	flex-wrap: wrap;
}

.left-column {
	width: 20%;
	font-weight: bold;
}

.right-column {
	width: 80%;
}
