/* Autoescuelas favoritas (App\Helpers\Favoritas) */
.ap-fav-form { display: inline; margin: 0; }
.ap-fav .ap-fav-estrella, .ap-usuario-menu .ap-fav-estrella, .ap-vacio .ap-fav-estrella {
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; vertical-align: -3px;
}
.ap-fav.ap-fav-si { border-color: var(--ap-premium, #c98a00); color: #7a5300; background: #fff8e6; }
.ap-fav.ap-fav-si .ap-fav-estrella { fill: var(--ap-premium, #c98a00); stroke: var(--ap-premium, #c98a00); }
.ap-fav:hover .ap-fav-estrella { stroke: var(--ap-premium, #c98a00); }

.ap-usuario-menu a.ap-fav-menu { padding-left: 30px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-usuario-menu a.ap-fav-menu small { color: var(--ap-texto-3, #7b8794); }

.ap-fav-tabla td { vertical-align: middle !important; }
.ap-fav-acciones { white-space: nowrap; }
.ap-fav-buscar { max-width: 420px; margin: 16px auto; display: flex; gap: 6px; }
.ap-fav-buscar input { flex: 1; }
/* Esta tabla tiene <thead>: la primera fila es de datos (anula la regla de tema.css para tablas antiguas). */
.ap .table.ap-fav-tabla > tbody > tr:first-child > td {
    background: transparent; color: inherit; font-size: inherit; text-transform: none; letter-spacing: normal;
    border-top: 1px solid var(--ap-borde-suave, #edf1f5); border-bottom: 0; white-space: normal;
}
.ap .table.ap-fav-tabla > tbody > tr:first-child > td.ap-fav-acciones { white-space: nowrap; }
/* Iconos de los botones de la cabecera de la ficha (el trofeo de «Mejores de…» salía sin tamaño). */
.ap-ficha-acciones .btn svg { width: 1.1em; height: 1.1em; vertical-align: -.2em; }
