/* Filtro de agentes (functions/agentes-filtro.php). Mobile-first. */

.agf {
	--agf-primario: #135D77;
	--agf-acento: #00c4bb;
	--agf-texto: #26323b;
	--agf-suave: #5d6b75;
	--agf-borde: #dfe6ea;
	--agf-fondo: #f4f8fa;
	color: var(--agf-texto);
	background: var(--agf-fondo);
	border: 1px solid var(--agf-borde);
	border-radius: 10px;
	padding: 16px;
	margin: 8px 0 24px;
}

.agf__campos { display: grid; gap: 12px; }
.agf__campo label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; letter-spacing: 0; }
.agf__campo select {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	color: var(--agf-texto);
	padding: 10px;
	border: 1px solid #b9c6cd;
	border-radius: 6px;
	background: #fff;
}
.agf__campo select:focus { outline: 2px solid var(--agf-acento); outline-offset: 1px; }

.agf__pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.agf__total { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--agf-suave); }
.agf__total strong { color: var(--agf-primario); font-size: 1.1rem; }
.agf__limpiar {
	font-family: inherit;
	font-size: .9rem;
	font-weight: 600;
	color: var(--agf-primario);
	background: none;
	border: 0;
	padding: 6px 0;
	text-decoration: underline;
	cursor: pointer;
}
.agf__vacio { margin: 12px 0 0; padding: 12px; background: #fff; border-radius: 6px; line-height: 1.5; }

/* .row de Bootstrap es display:flex y le gana al [hidden] del navegador. */
.agf [hidden], .row[hidden] { display: none !important; }

@media (min-width: 768px) {
	.agf { padding: 20px; }
	.agf__campos { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
