/**
 * Rozvržení a jemné úpravy registračního formuláře.
 * Typografii a tlačítka přebírá aktivní šablona (wp-block-heading, wp-element-button, dědictí na polích).
 */
.kurzista-registration {
	max-width: 36rem;
	margin: 0 auto;
}

.kurzista-registration__title {
	margin-block-end: 1.25rem;
}

.kurzista-registration__form .kurzista-field {
	margin-bottom: 1rem;
}

fieldset.kurzista-field--radio {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.kurzista-registration__form label,
.kurzista-field__legend {
	display: block;
	margin-bottom: 0.35rem;
	padding: 0;
	font: inherit;
}

.kurzista-registration__form input[type="text"],
.kurzista-registration__form input[type="email"],
.kurzista-registration__form input[type="tel"],
.kurzista-registration__form input[type="number"],
.kurzista-registration__form select,
.kurzista-registration__form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.5em 0.65em;
	font: inherit;
	line-height: inherit;
	color: inherit;
}

.kurzista-registration__form select:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.kurzista-field--radio .kurzista-radio {
	display: block;
	font-weight: normal;
	margin-top: 0.35rem;
}

.kurzista-field--radio .kurzista-radio input {
	margin-right: 0.35rem;
}

.kurzista-child-count-stepper {
	display: flex;
	align-items: stretch;
	gap: 0.4rem;
	max-width: 14rem;
}

.kurzista-child-count-stepper .kurzista-child-count-input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	text-align: center;
}

.kurzista-stepper-btn {
	flex: 0 0 auto;
	min-width: 2.75rem;
	padding: 0.5em 0.35em;
	font: inherit;
	line-height: 1.2;
	cursor: pointer;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.04);
}

.kurzista-stepper-btn:hover {
	background: rgba(0, 0, 0, 0.08);
}

.kurzista-stepper-btn:active {
	background: rgba(0, 0, 0, 0.12);
}

.kurzista-field--course-title .kurzista-course-title-static {
	margin: 0.25rem 0 0;
}

.kurzista-type-choice-wrap {
	margin-bottom: 1rem;
}

.kurzista-legal-consent__note {
	margin: 0 0 1rem;
	line-height: 1.45;
}

.kurzista-field--checkbox-consent {
	margin-top: 1rem;
}

.kurzista-checkbox-consent-label {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-weight: normal;
	cursor: pointer;
}

.kurzista-checkbox-consent-label input[type="checkbox"] {
	width: auto;
	margin: 0.2em 0 0;
	flex-shrink: 0;
}

.kurzista-checkbox-consent-text {
	flex: 1;
	min-width: 0;
}

.kurzista-is-hidden {
	display: none !important;
}

.kurzista-field .description {
	display: block;
	margin: 0.35rem 0 0;
	font: inherit;
	font-size: 0.95em;
	opacity: 0.88;
}

.kurzista-children-fields-host {
	margin-bottom: 1rem;
}

.kurzista-child-detail {
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	padding: 0.75rem 1rem 0.25rem;
	margin-bottom: 1rem;
}

.kurzista-field--submit {
	margin-top: 1.25rem;
}

.kurzista-field--submit .wp-element-button {
	cursor: pointer;
}

.kurzista-notice {
	padding: 0.75rem 1rem;
	border-radius: 4px;
	margin-bottom: 1rem;
}

#kurzista-registration-feedback {
	scroll-margin-top: 2rem;
}

.admin-bar #kurzista-registration-feedback {
	scroll-margin-top: 3.5rem;
}

.kurzista-notice-success {
	background: #e8f5e9;
	border: 1px solid #a5d6a7;
	color: #1b5e20;
}

.kurzista-notice-error {
	background: #ffebee;
	border: 1px solid #ef9a9a;
	color: #b71c1c;
}

.kurzista-notice-warning {
	background: #fff8e1;
	border: 1px solid #ffe082;
	color: #5d4037;
}

.kurzista-field .required {
	color: var(--wp--preset--color--vivid-red, #c62828);
}

.kurzista-course-single {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.kurzista-course-single__meta {
	margin-bottom: 1.25rem;
}

.kurzista-course-single__dl {
	display: grid;
	grid-template-columns: minmax(8rem, 12rem) 1fr;
	gap: 0.35rem 1rem;
	margin: 0;
	font: inherit;
}

.kurzista-course-single__dl dt {
	margin: 0;
	font: inherit;
}

.kurzista-course-single__dl dd {
	margin: 0;
	font: inherit;
}

.kurzista-course-single__payment {
	margin-bottom: 1.25rem;
}

.kurzista-course-single__payment-title {
	margin: 0 0 0.5rem;
	font: inherit;
}

.kurzista-course-single__payment-content {
	line-height: inherit;
	font: inherit;
}

.kurzista-course-single__payment-content p:first-child {
	margin-top: 0;
}

.kurzista-course-single__payment-content p:last-child {
	margin-bottom: 0;
}
