/* ==========================================================================
   PARTICULARIDADES: JUEGO DE LAS SILUETAS (css/estilos-propios.css)
   ========================================================================== */

/* CONTENEDOR DE LOS BOTONES SECUNDARIOS EN PARALELO */
.grid-enlaces {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 10px;
}


@media (min-width: 400px) {
    .grid-enlaces {
        grid-template-columns: 1fr 1fr; /* Dos columnas en paralelo */
    }
}

/* RESTAURACIÓN DEL ASPECTO DE BOTÓN OVALADO PARA "VER FOTOS" Y "PAREJAS" */
.btn-ayuda {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f2f6; /* Color gris suave pastel */
    color: #2f3542;            /* Texto oscuro legible */
    text-decoration: none;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;       /* Aspecto redondeado ovalado de píldora */
    border: 2px solid #e4e7eb;
    box-shadow: 0 4px #dfe4ea;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-ayuda:hover {
    background-color: #dfe4ea;
    transform: translateY(-2px);
    box-shadow: 0 6px #ced6e0;
}

.btn-ayuda:active {
    transform: translateY(2px);
    box-shadow: 0 2px #ced6e0;
}


/* ==========================================================================
   ESTILOS PARA LOS BOTONES DE CONTROL MAS (+) Y MENOS (-)
   ========================================================================== */
.input-wrapper {
    display: flex;
    align-items: center;
    border: 3px solid #f1f2f6;
    border-radius: 14px;
    background: #f8f9fa;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.input-wrapper:focus-within {
    border-color: #ff6b81;
    background: #ffffff;
}

.control-formulario-wrapper {
    width: 100%;
    padding: 14px 0;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 700;
    color: #2f3542;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.control-formulario-wrapper::-webkit-outer-spin-button,
.control-formulario-wrapper::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-control {
    width: 55px;
    height: 48px;
    background: #e4e7eb;
    color: #2f3542;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.btn-control:hover {
    background: #dfe4ea;
    color: #ff4757;
}

.btn-control:active {
    background: #ced6e0;
}








        /* Estilos para el selector integrado */
        .selector-rondas-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #f8f9fa;
            border: 3px solid #f1f2f6;
            border-radius: 14px;
            padding: 4px;
            margin-top: 5px;
            box-sizing: border-box;
            height: 54px; /* Misma altura aproximada que los select normales */
        }

        .btn-control-ronda {
            width: 46px;
            height: 100%;
            border: none;
            border-radius: 10px;
            background: transparent;
            color: var(--color-texto-oscuro);
            font-family: var(--fuente-general);
            font-size: 1.8rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease;
            user-select: none;
            line-height: 1;
        }

        .btn-control-ronda:hover {
            background: #e4e7eb;
        }

        .btn-control-ronda:active {
            background: #dcdde1;
        }

        .input-rondas-display {
            font-family: var(--fuente-general);
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--color-texto-oscuro);
            text-align: center;
            width: 60px;
            border: none;
            background: transparent;
            outline: none;
            pointer-events: none; /* Evita escritura manual */
        }
