/**
 * New-home alerts sign-up box ([tf_home_alerts]) on Find Housing and city pages.
 * Uses the theme's design tokens when present.
 */
.tf-alerts {
	--a-navy: var(--tf-navy-800, #0B2A5B);
	display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
	margin: 32px 0 8px; padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--tf-border, #D9DEE7); border-radius: var(--tf-radius-card, 12px);
	background: linear-gradient(135deg, #F4F6FA, #fff 60%); box-shadow: var(--tf-shadow-card, 0 6px 20px rgba(7, 31, 69, .10));
}
.tf-alerts__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--a-navy); color: #fff; }
.tf-alerts__icon svg { width: 28px; height: 28px; }
.tf-alerts__title { margin: 0 0 4px; font-size: clamp(19px, 2.2vw, 22px); color: var(--a-navy); }
.tf-alerts__text { margin: 0 0 14px; color: var(--tf-text-muted, #5B6676); }
.tf-alerts__form { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
.tf-alerts__field { display: grid; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; color: var(--tf-text, #1A2433); }
.tf-alerts__field select, .tf-alerts__field input {
	width: 100%; min-height: 46px; padding: 8px 12px; font-size: 16px;
	border: 1px solid var(--tf-border, #D9DEE7); border-radius: var(--tf-radius-control, 8px); background: #fff; color: var(--tf-text, #1A2433);
}
.tf-alerts__field--email { grid-column: span 2; }
.tf-alerts__submit { min-height: 46px; white-space: nowrap; }
.tf-alerts__fine { margin: 10px 0 0; font-size: 13px; color: var(--tf-text-muted, #5B6676); }
.tf-alerts__notice, .tf-alerts__error { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.tf-alerts__notice { background: #E7F5EC; border: 1px solid #B8E0C5; color: #1F5C33; }
.tf-alerts__error { background: #FDECEC; border: 1px solid #F3C2C2; color: #9B1C1C; }
@media (max-width: 600px) {
	.tf-alerts { grid-template-columns: minmax(0, 1fr); }
	.tf-alerts__form { grid-template-columns: minmax(0, 1fr); }
	.tf-alerts__field--email { grid-column: auto; }
	.tf-alerts__submit { width: 100%; white-space: normal; }
}
/* Spam trap field: forms.css hides it on form pages, but these pages do not load forms.css. */
.tf-alerts .tf-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tf-alerts .tf-hp input { font-size: 16px; } /* Like every field: no iOS zoom, even on hidden ones. */
