.lunatic-component {
	.lunatic-input,
	.lunatic-datepicker,
	.lunatic-textarea,
	.lunatic-input-number {
		label {
			font-size: 12px;
			.label-description {
				font-size: 12px;
				font-weight: lighter;
				display: block;
			}
		}
		input {
			font: inherit;
			border: 0;
			border-bottom: 0.125rem double rgba(0, 0, 0, 0.42);
			margin: 0;
			padding: 0.375rem 0 0.375rem 0.4375rem;
			display: inline-block;
			min-width: 0;
			box-sizing: content-box;
			background: none;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			&:focus {
				outline: none;
				border-bottom: 0.125rem solid var(--color-primary-main);
			}
			&:hover {
				border-bottom: 0.125rem solid black;
			}
			&:read-only {
				background-color: var(--color-disabled);
			}
		}

		.warning {
			box-sizing: border-box;
			border: solid 2px var(--color-error);
			background-color: var(--color-error);
		}
	}
}

.characters-count {
	display: block;
	font-size: 12px;
	padding-top: 0.3rem;
}

.max-length-reached {
	color: red;
}
