body {
    font-family: Arial, sans-serif;
    background: url("img/fondodondebuscanequipos-06.webp");
    margin: 0;
    padding-top: 120px;
    /* aumentamos el espacio para separar del header */
    display: flex;
    justify-content: center;
    background-size: cover;
    background-attachment: fixed;
}

/* MODALES: centrados y superpuestos */
#modal,
#modalNotif,
#modalFiltrarEquipos,
#panelChat {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 500;
    max-width: 90%;
    display: none;
}

.swal2-container {
    z-index: 1000 !important;
}


/* Animación de shake */
@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    40% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-6deg);
    }

    80% {
        transform: rotate(6deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.shake-notif {
    animation: shake 0.6s ease-in-out;
    animation-iteration-count: 2;
}

.boton-notificacion {
    animation: brillar 1s infinite alternate;
}

@keyframes brillar {
    from {
        background-color: #1d3557;
        box-shadow: 0 0 5px #ffce00, 0 0 10px #ffce00;
    }

    to {
        background-color: #457b9d;
        box-shadow: 0 0 15px #ffce00, 0 0 25px #ffce00;
    }
}


@media (max-width: 768px) {
    body {
        padding: 10px;
        /* Reducir padding general */
    }

    .botonera {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    /* Modificar el ancho de los resultados */
    .equipo {
        width: 100%;
        margin: 10px 0;
        padding: 15px;
    }

    /* Ajustar el padding de la hero section */
    .hero2 {
        padding: 100px 10px;
    }

    /* Ajustar el modal */
    #modal,
    #modalNotif,
    #modalFiltrarEquipos {
        width: 90%;
        padding: 20px;
        box-sizing: border-box;
    }


    .chat-burbuja {
        font-size: 0.8em;
        max-width: 100%;
        /* Asegurar que las burbujas no se salgan de la pantalla */
    }

    /* Alinear los botones en una columna */
    .botonera {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 40px;
        margin-bottom: 20px;
    }



    button {
        padding: 12px 25px;
        /* Botones más grandes para pantallas táctiles */
    }
}


.card {
    width: 350px;
    background: transparent;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 100);
    text-align: center;
    margin-top: 100px;
    /* margen opcional para aún más separación */
    z-index: 0;
}

.logo {
    background: #2c3e50;
    /* color del encabezado */
    color: white;
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    /* sombra para separar del fondo */
}

.logo img {
    height: 50px;
}


.card2 {
    width: 325px;
    background: #2c3e50;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: white;
}

.header {
    display: flex;
    justify-content: flex-end;
}

.dots {
    position: relative;
    cursor: pointer;
    color: #ff0000;
    /* blanco para tema oscuro */
    font-size: 20px;
    padding: 10px;
}

.dots:hover {
    color: #ccc;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    width: 180px;
    z-index: 10;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #f0f0f0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    gap: 5px;
}

.carousel-indicators div {
    width: 30px;
    height: 6px;
    background: #000;
    border-radius: 10px;
}

.team-img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
}

          .team-name {
              font-weight: bold;
              font-size: 24px;
              color: #ffffff;
              font-family: 'Archivo Black', sans-serif;
              text-shadow: 1px 1px 2px #000;
          }

.location {
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
}

.availability {
    font-size: 14px;
    margin-bottom: 10px;
}

.actions-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 20px;

}

.actions-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 20px;
    /* Altura delgada */
    background: white;
    border-radius: 20px;
    z-index: 0;
}

.actions {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 70%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle img {
    width: 100px;
    height: 50px;
}

.icon-circle-grande {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 70%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: url('tabas2.png'), auto;
}


.icon-circle-grande img {
    width: 150px;
    height: 100px;
}

.actions>.icon-circle:first-child,
.actions>.icon-circle:last-child {
    margin-top: 15px;
    /* Ajusta el valor según necesites (ej. 15px, 20px) */
}

#tutorialOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    backdrop-filter: blur(2px);
    /* suaviza lo que hay detrás */
    background-color: rgba(0, 0, 0, 0.7);
    /* oscurece */
    mask-image: var(--mask-path);
    -webkit-mask-image: var(--mask-path);
    /* soporte para Safari */
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    transition: mask-image 0.3s;
    color: white;
    text-align: center;
}



.destacado-tutorial {
    position: fixed;
    z-index: 9999 !important;
    outline: 4px solid yellow;
    border-radius: 10px;
    pointer-events: none;
    /* para que no bloquee el overlay */
}

.boton-brillar {
    animation: brillar 1s infinite alternate;
}

@keyframes brillar {
    0% {
        box-shadow: 0 0 5px yellow, 0 0 10px yellow;
    }

    100% {
        box-shadow: 0 0 15px yellow, 0 0 30px yellow;
    }
}