/*
 * The signature canvas is taller than a normal input, and Elementor's form
 * row is a flex container — without this, the shorter field next to it
 * (e.g. Patient Name) gets vertically centered/stretched against the taller
 * signature box instead of staying lined up at the top with its own label.
 */
.elementor-form-fields-wrapper .elementor-field-group {
	align-self: flex-start;
}

.virtucare-signature-wrap {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.virtucare-signature-canvas {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 130px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 3px;
	touch-action: none;
	cursor: crosshair;
}

.virtucare-signature-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
}

.virtucare-signature-clear {
	flex: 0 0 auto;
	white-space: nowrap;
	font-size: 13px;
	line-height: 1.2;
	padding: 6px 14px;
	border: 1px solid #bbb;
	background: #f7f7f7;
	color: #333;
	border-radius: 4px;
	cursor: pointer;
}

.virtucare-signature-clear:hover {
	background: #ececec;
}

.virtucare-signature-hint {
	flex: 1 1 auto;
	font-size: 12px;
	color: #777;
	text-align: right;
}
