#botones{
    display: flex;
    flex-direction: row;

}
.federacion-content.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}
.federacion-content {
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
    cursor: -webkit-grab;
    display: flex;
    gap: 16px;
    margin: 14px;
    /* Espacio entre las tarjetas */
    overflow-x: hidden;
    /* Oculta el scroll manual */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px;
    /* Opcional: Añade algo de espacio alrededor */
    transition: transform 0.3s ease-in-out;


    &>.federacion-card {
        flex: 1 0 auto;
        /* Ajuste dinámico del tamaño de las tarjetas */

        /* Ancho mínimo de 350px */
        scroll-snap-align: start;
        display: flex;
        padding: 8px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        border-radius: 18px;
        background: #FFF;

        &>.image-container {
            height: auto;
            display: flex;
            width: 99px;
            padding: 12px;
            justify-content: center;
            align-items: center;
            gap: 10px;
            border-radius: 16px;
            background: rgba(236, 236, 236, 0.60);
            backdrop-filter: blur(1.4049999713897705px);

            &>.image-content {
                min-width: 43px;
                min-height: 43px;
                display: flex;
                border-radius: 36px;
                background-color: white;
                justify-content: center;
                align-content: center;
                align-items: center;
            }
        }

        &>.federacion-buttons {
            display: flex;
            align-items: center;
            gap: 4px;

            &>a {
                display: flex;
                width: 48px;
                padding: 8px 8px;
                justify-content: center;
                align-items: center;
                gap: 10px;
                flex-shrink: 0;
                border-radius: 11px;
            }

            &>a:nth-child(1) {
                background: #ECECEC;
            }

            &>a:nth-child(2) {
                background: #F9F9F9;
            }
        }
    }
   
}
.federacion-card::-webkit-scrollbar {
    display: none;
    /* Oculta la barra de scroll para un diseño más limpio */
}
.listado-arbitros {
    display: flex;
    gap: 10px;
    justify-content: space-evenly;

    &>div {
        width: 100%;

        &>div {
            &>table {
                &>tbody {
                    &>tr {
                        &>td {
                            border: none;
                        }
                    }
                }
            }
        }
    }

}

.nombre-categoria {
    background-color: var(--componet-primary-color) !important;

    &>td {
        color: var(--componet-primary-color-text) !important;
        font-family: Syne;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 18px;
        /* 128.571% */
        letter-spacing: -0.084px;
        text-transform: uppercase;
    }
}

.nombre-federacion {
    background: linear-gradient(33deg,
            var(--componet-tertiary-color) 0%,
            var(--componet-tertiary-color) 33.33%,
            var(--componet-secondary-color) 33.33%,
            var(--componet-secondary-color) 66.66%,
            var(--componet-primary-color-trasparent) 66.66%,
            var(--componet-primary-color) 100%) !important;

    &>td {
        border-top: none !important;
        font-family: Syne;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 18px;
        /* 128.571% */
        letter-spacing: -0.084px;
        text-transform: uppercase;

        &>div {
            display: flex;
            justify-content: center;
            align-items: center;

            &>div {
                padding: 0 16px;
                border-radius: 12px;
                background-color: white;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 8px;
                color: black;

                &>.image-container {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: 16px;
                    background: transparent;
                    width: 36px;
                    height: 36px;

                    &>.image-content {
                        min-width: 36px;
                        min-height: 36px;
                        display: flex;
                        border-radius: 36px;
                        background-color: white;
                        justify-content: center;
                        align-content: center;
                        align-items: center;
                    }
                }
            }
        }
    }
}

.image-background {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    &>.image-container {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 16px;
        background: transparent;
        width: 36px;
        height: 36px;
        overflow: hidden;

        &>.image-content {
            min-width: 36px;
            min-height: 36px;
            display: flex;
            border-radius: 36px;
            background-color: white;
            justify-content: center;
            align-content: center;
            align-items: center;
        }
    }
}

.arb-federacion-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(313px, 1fr));
    /* Controla el número de columnas dinámicamente */
    gap: 14px;

    &>.arb-federacion-card {
        background-color: white;
        border-radius: 16px;
        padding: 22px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 199px;

        &>.image-background {
            justify-content: start;

            &>.image-container {
                border-radius: 50px;
                width: 71px;
                height: 71px;

                &>.image-content {
                    width: 71px;
                    height: 71px;
                }
            }
        }



        &>.arb-federacion-data {
            display: flex;

            justify-content: space-between;

            &>div:nth-child(1) {
                &>div:nth-child(1) {
                    color: #050505;

                    font-family: Syne;
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 600;
                    line-height: 21px;
                    /* 150% */
                    letter-spacing: -0.084px;
                    text-transform: uppercase;
                }

                &>div:nth-child(2) {
                    color: #666;

                    font-family: "DM Sans";
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 20px;
                    /* 142.857% */
                    letter-spacing: -0.028px;
                }
            }

            &>div:nth-child(2) {


                &>.arb-federacion-button {
                    &>a {
                        &>span {
                            padding: 15px;
                            background: var(--componet-primary-color) !important;

                            &>svg {
                                &>path {
                                    stroke: var(--componet-primary-color-text) !important;
                                }

                            }
                        }

                    }

                }
            }
        }

    }
}

.territorial-content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 26px 38px;

    &>.image-container {
        height: auto;
        display: flex;
        width: 134px;
        padding: 25.935px;
        align-items: center;
        gap: 21.613px;
        border-radius: 34.581px;
        background: rgba(236, 236, 236, 0.60);
        backdrop-filter: blur(3.0366129875183105px);

        &>.image-content {
            width: 82.129px;
            height: 82.129px;
            flex-shrink: 0;
            border-radius: 82.129px;
            background: white;
        }
    }

    &>.territorial-data {
        &>div {
            display: flex;
            flex-direction: column;
            gap:17px;
            &>div:nth-child(1) {
                color: #050505;

                font-family: Syne;
                font-size: 24px;
                font-style: normal;
                font-weight: 700;
                line-height: 28px;
                /* 116.667% */
                letter-spacing: -0.912px;
                text-transform: uppercase;
            }

            &>div:nth-child(2) {
                color: #050505;

                font-variant-numeric: lining-nums proportional-nums;
                font-family: Syne;
                font-size: 17px;
                font-style: normal;
                font-weight: 600;
                line-height: 20px;
                /* 117.647% */
                letter-spacing: -0.102px;
                text-transform: uppercase;
            }

            &>div:nth-child(3) {
                display: flex;
                align-items: center;
                gap: 4px;

                &>a {
                    display: flex;
                    padding: 8px 36px;
                    justify-content: center;
                    align-items: center;
                    gap: 10px;
                    flex-shrink: 0;
                    border-radius: 11px;
                }

                &>a:nth-child(1) {
                    background: #ECECEC;
                }

                &>a:nth-child(2) {
                    background: white;
                }
            }

        }
    }
}