/* Autogenerated by richieste-it for form ID 7360 */
:root {
	--fr-font-family: 'Inter', sans-serif;

	/* 🎨 COLORI BRAND — pulizieappartamenti.milano.it */
	--fr-label-color: #2E2E2E;
	--fr-field-text-color: #1a1a1a;
	--fr-placeholder-color: #6c757d;
	--fr-link-color: #EF8354;
	--fr-icon-color: #EF8354;
	--fr-accent-color: #EF8354;
	--fr-bg-form: #e6e8ea;
	--fr-field-bg: #F5F5F5;
	--fr-border-color: #a0a0a0;
	--fr-border-focus: #EF8354;
	--fr-button-bg: #EF8354;
	--fr-button-bg-hover: #d4653d;
	--fr-button-text-color: #ffffff;

	/* RADIUS */
	--fr-border-radius: 6px;
	--fr-button-border-radius: 6px;

	/* FONT SIZE BASE */
	--fr-font-size: 14px;
	--fr-font-size-label: 13px;
	--fr-font-size-small: 11px;
}


/* ======================================================================
   CONTENITORE
   ====================================================================== */

.form-richieste {
	max-width: 600px;
	width: 100%;
	margin: 20px auto;
	padding: 20px;
	background-color: var(--fr-bg-form);
	font-family: var(--fr-font-family);
	font-size: var(--fr-font-size);
	line-height: 1.5;
	box-sizing: border-box;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	container-type: inline-size;
	container-name: fr-form;
}

.form-richieste div:not(.campo):not(.riga):not(.campo *):not(.riga *) {
	margin: 8px auto;
}


/* ======================================================================
   LINK
   ====================================================================== */

.form-richieste a {
	color: var(--fr-link-color);
	text-decoration: underline;
}

.form-richieste a:hover {
	text-decoration: none;
}


/* ======================================================================
   LABEL
   ====================================================================== */

.form-richieste label {
	display: block;
	margin-bottom: 4px;
	font-size: var(--fr-font-size-label);
	font-weight: 600;
	color: var(--fr-label-color);
	letter-spacing: 0.01em;
}

/* Modalità NO LABEL */
.form-richieste.fr-no-label label,
.form-richieste .fr-no-label label {
	visibility: hidden;
}


/* ======================================================================
   CAMPI / BORDI
   ====================================================================== */

.form-richieste input[type="text"],
.form-richieste input[type="tel"],
.form-richieste input[type="email"],
.form-richieste input[type="number"],
.form-richieste input[type="date"],
.form-richieste select,
.form-richieste textarea {
	width: 100%;
	max-width: 100%;
	padding: 0 12px;
	height: 40px;
	border: 1px solid var(--fr-border-color);
	background-color: var(--fr-field-bg);
	color: var(--fr-field-text-color);
	font-family: var(--fr-font-family);
	font-size: var(--fr-font-size);
	box-sizing: border-box;
	border-radius: var(--fr-border-radius);
	transition:
		border-color 0.2s ease-in-out,
		box-shadow 0.2s ease-in-out,
		background-color 0.2s ease-in-out;
}

.form-richieste textarea {
	height: auto;
	min-height: 90px;
	padding: 10px 12px;
	resize: vertical;
	line-height: 1.5;
}

/* Focus */
.form-richieste input:focus,
.form-richieste select:focus,
.form-richieste textarea:focus {
	outline: none;
	border-color: var(--fr-border-focus);
	box-shadow: 0 0 0 3px rgba(239, 131, 84, 0.2);
}

/* Hover */
.form-richieste input[type="text"]:hover,
.form-richieste input[type="tel"]:hover,
.form-richieste input[type="email"]:hover,
.form-richieste input[type="number"]:hover,
.form-richieste input[type="date"]:hover,
.form-richieste select:hover,
.form-richieste textarea:hover {
	background-color: rgba(239, 131, 84, 0.06);
	border-color: #EF8354;
}

/* Placeholder */
.form-richieste ::placeholder {
	color: var(--fr-placeholder-color);
	font-size: var(--fr-font-size);
	opacity: 1;
}


/* ======================================================================
   CHECKBOX / RADIO
   ====================================================================== */

.form-richieste input[type="checkbox"],
.form-richieste input[type="radio"] {
	cursor: pointer;
	vertical-align: middle;
}

.form-richieste input[type="checkbox"]:not(#fr-x) {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	border: 2px solid #a0a0a0 !important;
	border-radius: 3px !important;
	background-color: #F5F5F5 !important;
	background-image: none !important;
	cursor: pointer !important;
	flex-shrink: 0 !important;
	vertical-align: middle !important;
	transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

.form-richieste input[type="checkbox"]:checked::before {
	display: none !important;
}

.form-richieste input[type="checkbox"]:checked:not(#fr-x) {
	background-color: #EF8354 !important;
	border-color: #EF8354 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M2.5 8l3.5 3.5 7.5-7'/%3E%3C/svg%3E") !important;
	background-size: 10px !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

.form-richieste input[type="radio"] {
	transform: scale(1.1);
	margin-right: 5px;
	accent-color: #EF8354 !important;
}

.form-richieste .form-check {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}


/* ======================================================================
   RADIO "TIPO SOGGETTO" INLINE
   ====================================================================== */

.form-richieste .tipo-soggetto-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.form-richieste .tipo-soggetto-wrapper .ts-label-titolo {
	margin: 0;
	font-size: var(--fr-font-size-label);
	font-weight: 600;
}

.form-richieste .ts-option {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0 !important;
}

.form-richieste .tipo-soggetto-wrapper .ts-label-opzione {
	margin: 0;
	font-size: var(--fr-font-size);
	font-weight: normal;
	cursor: pointer;
}

.form-richieste .tipo-soggetto-wrapper input[type="radio"] {
	transform: scale(1.1);
	margin: 0;
}


/* ======================================================================
   CONSENSI (privacy e marketing)
   ====================================================================== */

.form-richieste .checkbox-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.form-richieste .checkbox-wrapper input[type="checkbox"] {
	align-self: flex-start;
	margin-top: 2px;
	flex-shrink: 0;
}

.form-richieste .checkbox-wrapper label,
.form-richieste .checkbox-wrapper span,
.form-richieste .checkbox-wrapper label#label-check {
	white-space: normal;
	line-height: 1.4;
	font-weight: normal;
	font-size: var(--fr-font-size-small) !important;
	margin: 0;
}


/* ======================================================================
   SELECT
   ====================================================================== */

.form-richieste select {
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23EF8354%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-position: right 12px top 50%;
	background-size: 10px auto;
	padding-right: 30px;
}

.form-richieste select option:hover,
.form-richieste select option:checked {
	background-color: #EF8354;
	color: #ffffff;
}


/* ======================================================================
   PULSANTI
   ====================================================================== */

.form-richieste button[type="submit"],
.form-richieste input[type="submit"] {
	display: inline-block;
	background-color: var(--fr-button-bg);
	color: var(--fr-button-text-color);
	font-family: var(--fr-font-family);
	font-size: var(--fr-font-size);
	font-weight: 700;
	padding: 0 25px;
	height: 44px;
	line-height: 44px;
	border: none;
	border-radius: var(--fr-button-border-radius);
	cursor: pointer;
	transition: background-color 0.2s ease;
	width: 100%;
	text-align: center;
	letter-spacing: 0.02em;
}

.form-richieste button[type="submit"]:hover,
.form-richieste input[type="submit"]:hover {
	background-color: var(--fr-button-bg-hover);
}


/* ======================================================================
   ICONE INPUT
   ====================================================================== */

.form-richieste .input-icon {
	position: relative;
}

.form-richieste .input-icon svg {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	max-width: 16px;
	max-height: 16px;
	fill: var(--fr-icon-color);
	opacity: 0.8;
	pointer-events: none;
}

.form-richieste .input-icon input[type="text"],
.form-richieste .input-icon input[type="tel"],
.form-richieste .input-icon input[type="email"],
.form-richieste .input-icon input[type="number"],
.form-richieste .input-icon input[type="date"],
.form-richieste .input-icon select,
.form-richieste .input-icon textarea {
	padding-left: 38px;
}


/* ======================================================================
   LAYOUT BASE
   ====================================================================== */

.form-richieste .riga {
	display: flex;
	flex-wrap: wrap;
}

.form-richieste .campo {
	padding: 5px 8px;
	box-sizing: border-box;
	min-width: 0;
}

.form-richieste .campo.hidden-field {
	display: none;
}

.form-richieste .w-100 { flex: 1 1 100%; max-width: 100%; }
.form-richieste .w-70  { flex: 1 1 300px; max-width: 100%; }
.form-richieste .w-50  { flex: 1 1 220px; max-width: 100%; }
.form-richieste .w-33  { flex: 1 1 150px; max-width: 100%; }
.form-richieste .w-30  { flex: 1 1 150px; max-width: 100%; }
.form-richieste .w-25  { flex: 1 1 130px; max-width: 100%; }

.form-richieste .riga-sistema {
	overflow: hidden;
	height: 0;
	padding: 0;
	margin: 0;
}

.grecaptcha-badge {
	visibility: hidden;
	opacity: 0;
}


/* ======================================================================
   FORM ADATTIVO
   ====================================================================== */

@container fr-form (max-width: 480px) {
	.form-richieste {
		padding: 14px;
	}
	.form-richieste .campo {
		padding: 4px 5px;
	}
	.form-richieste input[type="text"],
	.form-richieste input[type="tel"],
	.form-richieste input[type="email"],
	.form-richieste input[type="number"],
	.form-richieste input[type="date"],
	.form-richieste select {
		height: 38px;
		padding: 0 10px;
		font-size: 13px;
	}
	.form-richieste label {
		font-size: 12px;
	}
	.form-richieste textarea {
		min-height: 75px;
		font-size: 13px;
	}
	.form-richieste .tipo-soggetto-wrapper {
		gap: 8px;
	}
	.form-richieste button[type="submit"],
	.form-richieste input[type="submit"] {
		height: 42px;
		line-height: 42px;
		font-size: 13px;
	}
}

@container fr-form (max-width: 300px) {
	.form-richieste {
		padding: 10px;
		border-radius: 8px;
	}
	.form-richieste .campo {
		padding: 3px 4px;
	}
	.form-richieste input[type="text"],
	.form-richieste input[type="tel"],
	.form-richieste input[type="email"],
	.form-richieste input[type="number"],
	.form-richieste input[type="date"],
	.form-richieste select {
		height: 36px;
		padding: 0 8px;
		font-size: 12px;
	}
	.form-richieste label {
		font-size: 11px;
	}
	.form-richieste button[type="submit"],
	.form-richieste input[type="submit"] {
		height: 40px;
		line-height: 40px;
		font-size: 12px;
		padding: 0 10px;
	}
	.form-richieste .checkbox-wrapper label,
	.form-richieste .checkbox-wrapper span {
		font-size: 10px !important;
	}
}

@supports not (container-type: inline-size) {
	@media (max-width: 600px) {
		.form-richieste {
			padding: 14px;
		}
		.form-richieste input[type="text"],
		.form-richieste input[type="tel"],
		.form-richieste input[type="email"],
		.form-richieste input[type="number"],
		.form-richieste input[type="date"],
		.form-richieste select {
			height: 38px;
			font-size: 13px;
		}
	}
}


/* ======================================================================
   BOT E SUBMIT SECURITY (Honeypot)
   ====================================================================== */

.form-richieste.is-submitting button[type="submit"],
.form-richieste.is-submitting input[type="submit"] {
	opacity: 0.7;
	cursor: wait;
	pointer-events: none;
}

.hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 1px;
	width: 1px;
	overflow: hidden;
}