.uh-terminy {
	margin: 1.5em 0;
}

.uh-terminy__nadpis {
	margin: 0 0 .6em;
	font-size: 1.4em;
}

.uh-terminy__zoznam {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.uh-terminy__polozka {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 12px 16px;
	border: 1px solid #e2e2e2;
	border-left: 4px solid #FECD08;
	border-radius: 6px;
	background: #fafafa;
}

.uh-terminy__info {
	display: flex;
	flex: 1 1 0;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	min-width: 0;
}

/* Na mobiloch tlačidlo pod text. */
@media (max-width: 600px) {
	.uh-terminy__polozka {
		flex-wrap: wrap;
	}
	.uh-terminy__info {
		flex-basis: 100%;
	}
}

.uh-terminy__datum {
	font-weight: 700;
	text-transform: capitalize;
}

.uh-terminy__cas {
	font-weight: 600;
	color: #000;
}

.uh-terminy__cas::before {
	content: "•";
	margin-right: 14px;
	color: #bbb;
}

.uh-terminy__miesto {
	color: #444;
}

.uh-terminy__miesto::before {
	content: "📍";
	margin-right: 4px;
}

.uh-terminy__btn {
	flex: 0 0 auto;
	align-self: center;
	display: inline-block;
	padding: 12px 26px;
	background: #FECD08;
	color: #000;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	border-radius: 15px 15px 0 15px;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow: 0 10px 24px rgba(254, 205, 8, .45);
	transition: filter .15s ease, box-shadow .15s ease, transform .15s ease;
}

.uh-terminy__btn:hover,
.uh-terminy__btn:focus {
	background: #FECD08;
	color: #000;
	filter: brightness(.96);
	box-shadow: 0 12px 28px rgba(254, 205, 8, .55);
	transform: translateY(-1px);
	text-decoration: none;
}

.uh-terminy__poznamka {
	flex-basis: 100%;
	font-size: .9em;
	color: #666;
	font-style: italic;
}

.uh-terminy__prazdne {
	color: #777;
	font-style: italic;
}

/* ---------- Modál ---------- */
.uh-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.uh-modal.is-open {
	display: flex;
}

body.uh-modal-open {
	overflow: hidden;
}

.uh-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	backdrop-filter: blur(2px);
}

.uh-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 460px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	color: #1a1a1a;
	border-radius: 15px 15px 0 15px;
	padding: 28px 26px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	animation: uh-pop .18s ease;
}

@keyframes uh-pop {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

.uh-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	border-radius: 8px;
}

.uh-modal__close:hover {
	background: #f2f2f2;
	color: #000;
}

.uh-modal__title {
	margin: 0 30px 4px 0;
	font-size: 1.35em;
}

.uh-modal__termin {
	margin: 0 0 18px;
	font-weight: 700;
	color: #444;
}

.uh-modal__termin::before {
	content: "🗓 ";
}

/* ---------- Formulár ---------- */
.uh-form__field {
	display: block;
	margin-bottom: 14px;
}

.uh-form__field > span {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	font-size: .92em;
}

.uh-form__field input {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 1em;
}

.uh-form__field input:focus {
	outline: none;
	border-color: #FECD08;
	box-shadow: 0 0 0 3px rgba(254, 205, 8, .35);
}

.uh-form__gdpr {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 4px 0 18px;
	font-size: .88em;
	color: #444;
}

.uh-form__gdpr input {
	margin-top: 3px;
	flex: 0 0 auto;
}

.uh-form__submit {
	width: 100%;
	text-align: center;
	padding: 14px 26px;
	font-size: 1.05em;
}

.uh-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.uh-form__msg {
	margin-top: 14px;
	font-weight: 600;
	min-height: 1.2em;
}

.uh-form__msg--success {
	color: #1a7f37;
}

.uh-form__msg--error {
	color: #b32d2e;
}
