/* Author: Tobalt — https://tobalt.lt */

.tobalt-apklausa {
	max-width: 640px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.5;
}

.tobalt-apklausa h2 {
	margin-top: 0;
}

.tobalt-apklausa__intro,
.tobalt-apklausa__help {
	color: #444;
	margin-bottom: 1.25em;
}

.tobalt-apklausa__help {
	font-size: 0.9em;
	margin-top: 0.25em;
	margin-bottom: 0;
}

.tobalt-apklausa__notice {
	background: #eef6ee;
	border: 1px solid #bfe0bf;
	border-radius: 4px;
	padding: 0.75em 1em;
	margin-bottom: 1.25em;
}

.tobalt-apklausa__notice--error {
	background: #fbeaea;
	border-color: #e3b3b3;
}

.tobalt-apklausa__notice p {
	margin: 0;
}

.tobalt-apklausa__notice p + p {
	margin-top: 0.5em;
}

.tobalt-apklausa--gate form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	align-items: center;
}

.tobalt-apklausa--gate label {
	flex: 0 0 100%;
	font-weight: 600;
}

.tobalt-apklausa--gate input[type="email"] {
	flex: 1 1 auto;
	min-width: 220px;
	padding: 0.5em 0.75em;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.tobalt-apklausa__q {
	border: none;
	border-top: 1px solid #e2e2e2;
	padding: 1em 0;
	margin: 0;
}

.tobalt-apklausa__q:first-of-type {
	border-top: none;
}

.tobalt-apklausa__q legend {
	font-weight: 600;
	padding: 0;
	margin-bottom: 0.5em;
}

.tobalt-apklausa__q label {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin: 0 1.25em 0.5em 0;
	font-weight: normal;
}

.tobalt-apklausa__q textarea,
.tobalt-apklausa__q input[type="text"] {
	width: 100%;
	max-width: 480px;
	padding: 0.5em 0.75em;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.tobalt-apklausa button[type="submit"] {
	margin-top: 1em;
	margin-right: 0.75em;
	padding: 0.6em 1.25em;
	border: 1px solid #1d5a8a;
	border-radius: 4px;
	background: #1d5a8a;
	color: #fff;
	cursor: pointer;
}

.tobalt-apklausa button[value="save"] {
	background: #fff;
	color: #1d5a8a;
}

.tobalt-apklausa--done dl {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.25em 1em;
}

.tobalt-apklausa--done dt {
	font-weight: 600;
	margin-top: 1em;
}

.tobalt-apklausa--done dt:first-child {
	margin-top: 0;
}

.tobalt-apklausa--done dd {
	margin: 0;
}

.tobalt-apklausa--error {
	color: #7a1f1f;
}
