/* ==========================================================================
 * Busca de Imoveis - CTAs de captacao (3B Imoveis)
 * --------------------------------------------------------------------------
 * Escopo: enfileirado so nas paginas de busca/listagem de imoveis
 * (threeb_is_search_page() em inc/search-lead-capture.php).
 * Reaproveita os tons publicos ja confirmados (dourado #c69a5a,
 * verde-escuro #1e3c2b) - NAO usa os tokens --threeb-dourado do painel
 * (corretor-dashboard.css), que sao um conjunto diferente e nunca
 * carregam junto com este arquivo.
 * ========================================================================== */

.threeb-search-cta {
	background: #fff;
	border-top: 4px solid #c69a5a;
	border-radius: 6px;
	box-shadow: 0 2px 16px rgba(30, 60, 43, 0.08);
	padding: 32px;
	width: 100%;
}

.threeb-search-cta-noresults {
	max-width: 480px;
	margin: 20px auto;
	text-align: center;
}

.threeb-search-cta-noresults .threeb-search-cta-field {
	text-align: left;
}

.threeb-search-cta-title {
	color: #1e3c2b;
	font-size: 20px;
	margin-bottom: 8px;
}

.threeb-search-cta-text {
	color: #666;
	font-size: 14.5px;
	margin-bottom: 20px;
}

.threeb-search-cta-field {
	margin-bottom: 10px;
}

.threeb-search-cta-field input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #dce0e0;
	border-radius: 4px;
}

.threeb-search-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 20px;
	background: #c69a5a;
	color: #fff;
	font-weight: 800;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.threeb-search-cta-btn:hover,
.threeb-search-cta-btn:focus {
	background: #1e3c2b;
	color: #fff;
}

.threeb-search-cta-msgs {
	margin-top: 10px;
	font-size: 14px;
}

.threeb-search-cta-msgs.is-success {
	color: #1e6b3c;
}

.threeb-search-cta-msgs.is-error {
	color: #a3271d;
}

.threeb-search-cta-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

/* Chips de filtro ativo - ocupa a linha inteira mesmo dentro de um grid. */
.threeb-search-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
	grid-column: 1 / -1;
	flex-basis: 100%;
	margin-bottom: 14px;
}

.threeb-search-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #1e3c2b;
	color: #fff;
	font-size: 13px;
	padding: 5px 10px;
	border-radius: 20px;
	text-decoration: none;
}

.threeb-search-chip:hover {
	background: #c69a5a;
	color: #fff;
	text-decoration: none;
}

/* Botao "Avise-me" ao lado do Salvar Busca. */
.threeb-search-alert-btn {
	display: inline-block;
	margin-left: 8px;
	color: #1e3c2b;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

@media (max-width: 767.98px) {
	.threeb-search-chips {
		overflow-x: auto;
		flex-wrap: nowrap;
	}

	.threeb-search-alert-btn {
		display: block;
		margin-left: 0;
		margin-top: 6px;
	}
}
