/* ==========================================================================
   Listado de representados
   ========================================================================== */

.rf-listado .fusion-column-wrapper {
    overflow: hidden;
}

/* --- Foto --- */
.rf-listado .photo {
    position: relative;
    width: 200px;
    height: 250px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .rf-listado .photo {
        height: 160px;
    }
}

/* --- Banderas superpuestas --- */
.rf-listado .photo .flag-icon {
    position: absolute;
    bottom: 6px;
    left: 6px;
    width: 22px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.rf-listado .photo .flag-icon2 {
    left: 32px;
}

/* --- Nombre --- */
.rf-listado .name {
    padding: 8px 4px 0;
    text-align: center;
    font-weight: 600;
    line-height: 1.3;
}

/* --- Club --- */
.rf-listado .club {
    padding: 2px 4px 8px;
    text-align: center;
    font-size: 0.85em;
    color: #666;
}

/* ==========================================================================
   Barra de filtros
   ========================================================================== */

.rf-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin: 0 0 24px;
    padding: 12px 16px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.rf-filtros label {
    display: flex;
    flex-direction: column;
    font-size: 0.85em;
    font-weight: 600;
    color: #444;
    gap: 4px;
}

.rf-filtros select,
.rf-filtros input[type="text"] {
    min-width: 160px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 0.95em;
    background: #fff;
}

.rf-filtros button {
    padding: 7px 16px;
    border: none;
    border-radius: 3px;
    background: #1a1a1a;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.rf-filtros button:hover {
    background: #333;
}

.rf-filtros a {
    font-size: 0.85em;
    color: #666;
    text-decoration: underline;
    padding-bottom: 8px;
}

@media (max-width: 768px) {
    .rf-filtros {
        flex-direction: column;
        align-items: stretch;
    }

    .rf-filtros select,
    .rf-filtros input[type="text"] {
        width: 100%;
        min-width: 0;
    }
}

/* --- Mensaje sin resultados --- */
.rf-sin-resultados {
    padding: 24px;
    text-align: center;
    color: #666;
    font-style: italic;
}