/**
 * Estilos do formulário de busca avançada (page-templates/form-busca-avancada.php).
 *
 * Carregado via <link> direto (não via wp_enqueue_style) porque este template
 * também é servido como fragmento via "?form=1" (ver topo de page-imoveis.php),
 * um caminho que não chama get_header()/wp_head().
 */

#coluna-filtro #filtro-close-btn {
	display: none;
}

#filtro-open-btn {
	display: none;
}

#coluna-filtro #filtro-close-btn i {
	cursor: pointer;
	float: right;
	padding: 10px;
	margin-top: -25px;
	margin-right: -20px;
	font-size: 20px;
	color: var(--e-global-color-7250c27);
}

#filtro-open-btn {
	cursor: pointer;
	position: fixed;
	z-index: 300;
	bottom: 25px;
	left: 30px;
	background: var(--e-global-color-2798393);
	border-color: #fff;
}

/* Filtro fixo em tela cheia no mobile: só aparece ao clicar em #filtro-open-btn */
@media only screen and (max-width: 766px) {
	#coluna-filtro {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		padding: 30px;
		background: #fff;
		overflow: auto;
	}

	#coluna-filtro #filtro-close-btn {
		display: block;
	}

	#filtro-open-btn {
		display: block;
	}
}

#filtro-busca-avancada input.labelauty + label {
	position: relative;
	float: left;
	margin-left: 10px;
}

#filtro-busca-avancada input.labelauty:checked + label {
	background-color: #c6b082;
	color: #1a1849;
}

#filtro-busca-avancada .btn-secondary {
	background: #0e1e4d;
	color: #ffffff;
}

.radio-group-inline {
	display: flex;
	align-items: center;
	border-radius: 5px;
	padding: 7px;
}

.radio-option {
	display: flex;
	align-items: center;
	margin: 0 8px;
	cursor: pointer;
}

.radio-option input[type="radio"] {
	appearance: none;
	background: #e6e6e6;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	border: 2px solid #c6b082;
	outline: none;
	transition: background 0.3s ease;
	margin-right: 10px;
}

.radio-option input[type="radio"]:checked {
	background: #f5802c;
	border: 2px solid #c6b082;
}

.radio-option input[type="radio"]:checked::after {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	background: white;
	border-radius: 50%;
	margin: 3px auto;
}
