/**
 * FileVeil Forms public form.
 */

.fileveil-form-wrap {
	max-width: 40rem;
	margin: 0 0 1.5rem;
}

.fileveil-form {
	position: relative;
	display: grid;
	gap: 16px;
}

.fileveil-form-title {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.3;
}

.fileveil-form-description {
	margin: -4px 0 0;
	color: #475569;
}

.fileveil-form-field {
	display: grid;
	gap: 6px;
}

.fileveil-form-field label,
.fileveil-form legend {
	font-weight: 650;
}

.fileveil-form input[type="text"],
.fileveil-form input[type="email"],
.fileveil-form input[type="number"],
.fileveil-form input[type="date"],
.fileveil-form input[type="time"],
.fileveil-form input[type="tel"],
.fileveil-form input[type="url"],
.fileveil-form input[type="file"],
.fileveil-form textarea,
.fileveil-form select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background-color: #fff;
	background-image: none;
	color: inherit;
	font: inherit;
	font-weight: 400;
	line-height: 1.4;
}

.fileveil-form select {
	padding-right: 36px;
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px 16px;
}

.fileveil-form textarea {
	min-height: 8rem;
	resize: vertical;
}

.fileveil-form input:focus,
.fileveil-form textarea:focus,
.fileveil-form select:focus {
	border-color: #0f766e;
	outline: 2px solid #0f766e;
	outline-offset: 1px;
}

.fileveil-form-field.is-error input,
.fileveil-form-field.is-error textarea,
.fileveil-form-field.is-error select {
	border-color: #be123c;
}

.fileveil-form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-inline-size: 0;
}

.fileveil-form legend {
	margin-bottom: 6px;
	padding: 0;
}

.fileveil-form-choice {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 6px 0;
	font-weight: 400;
}

.fileveil-form-choice input {
	width: auto;
	margin-top: 0.25em;
}

.fileveil-form-other {
	align-items: center;
}

.fileveil-form .fileveil-form-other .fileveil-form-other-text {
	width: 12rem;
	max-width: 100%;
	margin-top: 0;
	padding: 6px 10px;
}

.fileveil-form-required {
	color: #be123c;
}

.fileveil-form-error,
.fileveil-form-errors {
	color: #9f1239;
}

.fileveil-form-errors,
.fileveil-form-success,
.fileveil-form-note {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 10px;
}

.fileveil-form-errors {
	background: #fff1f2;
	border: 1px solid #fecdd3;
}

.fileveil-form-errors ul {
	margin: 8px 0 0;
	padding-left: 1.2em;
}

.fileveil-form-success {
	background: #f0fdfa;
	border: 1px solid #99f6e4;
	color: #115e59;
}

.fileveil-form-success p:first-child {
	margin-top: 0;
}

.fileveil-form-success p:last-child {
	margin-bottom: 0;
}

.fileveil-form-note {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #334155;
}

.fileveil-form-submit {
	justify-self: start;
	margin: 0;
	padding: 12px 18px;
	border: 0;
	border-radius: 8px;
	background: #0f766e;
	color: #fff;
	font: inherit;
	font-weight: 650;
	line-height: 1.2;
	cursor: pointer;
}

.fileveil-form-submit:hover,
.fileveil-form-submit:focus {
	background: #115e59;
}

.fileveil-form-submit:focus {
	outline: 2px solid #0f766e;
	outline-offset: 2px;
}

.fileveil-form-legend,
.fileveil-form-field-note {
	margin: 0;
}

.fileveil-form-legend {
	font-weight: 650;
}

.fileveil-form-field-note {
	color: #475569;
	font-weight: 400;
}

.fileveil-form-date {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fileveil-form-date input[type="date"] {
	flex: 1;
}

.fileveil-form-date-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	color: #0f172a;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	cursor: pointer;
}

.fileveil-form-date-icon img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.fileveil-form-time,
.fileveil-form-date-parts {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px;
}

.fileveil-form-time label,
.fileveil-form-date-parts label {
	display: grid;
	gap: 4px;
	width: 4.75rem;
	font-weight: 400;
}

.fileveil-form-date-parts label.is-year {
	width: 7rem;
}

.fileveil-form-time label:last-child {
	width: 5.5rem;
}

.fileveil-form-time input,
.fileveil-form-time select,
.fileveil-form-date-parts input,
.fileveil-form-date-parts select {
	width: 100%;
	text-align: center;
}

.fileveil-form-date-parts select,
.fileveil-form-time select {
	padding: 8px 22px 8px 4px;
	background-position: right 4px center;
}

.fileveil-form-captcha-image {
	margin: 0 0 8px;
}

.fileveil-form-captcha-image img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
}

.fileveil-form-captcha-question {
	margin: 0 0 8px;
	font-weight: 650;
}

.fileveil-form-captcha-answer {
	max-width: 16rem;
}

.fileveil-form-time-colon {
	padding-bottom: 1.7rem;
	font-weight: 650;
}

.fileveil-form-time label span,
.fileveil-form-date-parts label span {
	font-weight: 650;
	font-size: 0.85em;
	text-align: center;
}

.fileveil-form-split,
.fileveil-form-stack,
.fileveil-form-list {
	display: grid;
	gap: 10px;
}

.fileveil-form-split {
	grid-template-columns: 1fr 1fr;
}

.fileveil-form-split label,
.fileveil-form-stack label {
	display: grid;
	gap: 4px;
	font-weight: 400;
}

.fileveil-form-split label span,
.fileveil-form-stack label span {
	font-weight: 650;
	font-size: 0.9em;
}

.fileveil-form-list-add {
	justify-self: start;
	margin: 0;
	padding: 6px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: #0f172a;
	font: inherit;
	cursor: pointer;
}

.fileveil-form-list-add:hover,
.fileveil-form-list-add:focus {
	border-color: #0f766e;
}

.fileveil-form-hint {
	margin: 0;
	color: #475569;
	font-size: 0.9em;
	font-weight: 400;
}

.fileveil-form-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 520px) {
	.fileveil-form-split {
		grid-template-columns: 1fr;
	}
}

.fileveil-form .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
