/* Painel de imóveis da Imóbil. Toque mínimo de 44 px. */
.imobil-botao {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 6px;
	border: 1px solid currentColor;
	text-decoration: none;
	font-weight: 600;
}
.imobil-filtro-desativados { margin: 0 0 16px; }
.property-status-tag-desativado { background: #6b6b6b; color: #fff; }
.imobil-indisponivel { padding-top: 32px; padding-bottom: 48px; }
.imobil-indisponivel__texto { margin: 12px 0 0; }
.imobil-indisponivel__acao { margin: 32px 0 0; }
.imobil-aviso { padding: 12px 16px; margin: 0 0 16px; border-radius: 6px; line-height: 1.5; }
.imobil-aviso[data-tipo="erro"] { background: #fdecea; color: #611a15; }
.imobil-aviso[data-tipo="info"] { background: #eef4fb; color: #1d3a5f; }
.imobil-campo-bairro input { width: 100%; min-height: 44px; }
.imobil-historico { margin: 32px 0 0; padding: 16px; border-top: 1px solid #e3e3e3; }
.imobil-historico__lista { margin: 8px 0 0; padding: 0; list-style: none; }
.imobil-historico__lista li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; line-height: 1.5; overflow-wrap: anywhere; }
.imobil-historico__quando { color: #666; }
.imobil-whatsapp { width: 100%; margin: 8px 0 4px; background: #1f7a4d; color: #fff; border-color: #1f7a4d; cursor: pointer; }
.imobil-whatsapp:disabled { opacity: .6; cursor: progress; }
.imobil-whatsapp__estado { display: block; font-size: 14px; line-height: 1.4; color: #444; }
.imobil-youtube { margin: 0 0 24px; padding: 16px; border: 1px dashed #c9c9c9; border-radius: 6px; }
.imobil-youtube input[type="file"] { display: block; width: 100%; min-height: 44px; margin: 8px 0; }
.imobil-youtube__barra { display: block; width: 100%; height: 12px; margin: 12px 0 0; }
.imobil-youtube__estado, .imobil-youtube__ajuda { margin: 8px 0 0; line-height: 1.5; }
.imobil-youtube-estado { margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* Foto de capa: a estrela vira um alvo de 44 px e a foto escolhida ganha borda e a etiqueta "Capa". */
.gallery-thumb .mark-featured { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.gallery-thumb:has(.mark-featured i.fas) { outline: 3px solid #1f7a4d; outline-offset: -3px; position: relative; }
.gallery-thumb:has(.mark-featured i.fas)::after { content: "Capa"; position: absolute; left: 8px; bottom: 8px; padding: 2px 10px; border-radius: 4px; background: #1f7a4d; color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; }

/* Celular: abas numa linha só, roláveis para o lado, em vez de uma aba por linha. */
@media (max-width: 767px) {
	#dashboard-tabs #dashboard-tabs-nav {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	#dashboard-tabs #dashboard-tabs-nav::-webkit-scrollbar { display: none; }
	#dashboard-tabs #dashboard-tabs-nav > li {
		flex: 0 0 auto !important;
		width: auto !important;
		white-space: nowrap;
	}
	#imobil-aviso-campos { margin: 12px 0; }

	/* Topo do painel compacto (253px -> ~104px) e rolando junto com a página:
	   busca e "Enviar" numa linha, sem a saudação e sem o seletor de tipo (só há "Propriedades"). */
	.imobil-painel .rh-header-slim { position: absolute !important; }
	.imobil-painel .rh-header-slim-right { padding: 8px 16px !important; flex-wrap: nowrap !important; gap: 10px; align-items: center; }
	.imobil-painel .rh-user-account-username,
	.imobil-painel .dashboard-header-search .bootstrap-select { display: none !important; }
	.imobil-painel .search-wrapper { flex: 1 1 auto; min-width: 0; width: auto !important; margin: 0 !important; order: 0 !important; }
	.imobil-painel .search-wrapper .search-field-wrapper { flex-wrap: nowrap; }
	.imobil-painel .rh-header-slim-left { padding: 10px 16px !important; }
}
/* No painel, a chave de modo escuro cobria os botões do formulário. */
.imobil-painel .wp-dark-mode-switch { display: none !important; }
