/**
 * @license Copyright 2022 Lahuen Health SPA. All Rights Reserved.
 */
.c-form-section:not(:last-child) {
	margin-bottom: 0.5rem;
}

.c-form-section .c-pair .c-label.c-pair__label {
	font: 600 1.2rem / normal 'Lato', sans-serif;
	color: var(--primary-d-normal);
	display: flex;
	align-items: baseline;
}

.c-form-section__body .c-pair {
	font: 400 1.2rem 'Open Sans', sans-serif;
	break-inside: avoid;
	margin-bottom: 1rem;
}

.c-form-section__body .c-pair:last-child,
.c-form-section__body .c-pair .c-pair {
	margin-bottom: 0;
}

.c-form-section .c-form-section-evaluation__confidential .c-label.c-pair__label {
	font: 400 1.1rem 'Open Sans', sans-serif;
	color: var(--gray-c);
	display: flex;
	align-items: center;
}

.c-form-section .c-form-section-evaluation__confidential .c-label.c-pair__label:before {
	content: '';
	height: 1rem;
	width: 1.5rem;
	-webkit-mask-image: url(/assets/skins/lahuen/base/images/icon_show.svg);
	background-size: contain;
	background-repeat: no-repeat;
	margin-right: 0.4rem;
	opacity: 50%;
}

.c-form-section__body .c-pair.c-pair--inverted {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	margin: 0;
}

.c-form-section .c-check {
	-webkit-appearance: none;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"/>') center no-repeat;
	background-size: 1rem;
	border: 0.1rem solid var(--primary-e-normal);
	cursor: pointer;
	background-color: #fff;
	border-radius: 0.3rem;
	height: 1.2rem;
	width: 1.2rem;
}

.c-form-section .c-check.c-check--checked {
	background-image: url('/assets/skins/lahuen/ehr/images/icon_check.svg');
	transition: all 0.3s ease;
}

.c-form-section .c-radio {
	-webkit-appearance: none;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"/>') center no-repeat;
	background-size: 1rem;
	border-radius: 50%;
	border: 0.1rem solid var(--primary-e-normal);
	cursor: pointer;
	height: 1.2rem;
	width: 1.2rem;
}

.c-form-section .c-radio:checked {
	background-image: url('/assets/skins/lahuen/base/images/icon_dot.svg');
	background-size: 1rem;
	transition: all 0.3s ease;
}

.c-form-section__value.c-textfield {
	padding: 0.25rem 0.5rem;
	background-color: #fff;
	border: 0.1rem solid var(--primary-e-normal);
	border-radius: 0.3rem;
	font: 400 0.9rem 'Open Sans', sans-serif;
}

.c-form-section__value.c-textfield::placeholder {
	font-style: normal;
	color: var(--gray-e);
}

.c-form-section-evaluation__evaluation.c-textarea-template {
	position: relative;
	display: flex;
}

.c-form-section-evaluation__confidential .c-check {
	-webkit-appearance: none;
	height: 1.6rem;
	width: 1.6rem;
	border: 0.1rem solid var(--primary-e-normal);
	border-radius: 0.2rem;
	background: #fff center/1rem no-repeat;
	cursor: pointer;
	margin: 0 0.5rem 0 0;
}

.c-form-section-evaluation__confidential .c-check:focus {
	outline: none;
	border-color: var(--primary-b-light);
	transition: border-color 0.3s ease;
}

.c-form-section-evaluation__evaluation .c-textarea-template__input {
	resize: vertical;
	height: 16rem;
}

.l-root__main-content .c-textarea-template__manager.c-action.c-action--tertiary {
	padding: 0.3rem 1rem;
}

.c-form__tool.c-form__tool-draft.c-action.c-action--tertiary {
	padding: 0.3rem 1rem;
}

/* Spinner */
.c-form .c-form-section--busy {
	position: relative;
}

.c-form .c-form-section--busy .c-spinner {
	position: absolute;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.7);
	display: flex;
	justify-content: center;
	top: 1.3rem;
	height: calc(100% - 1rem);
}

.c-form .c-form-section--busy .c-spinner::before {
	transform: scale(0.45);
}
